airconditioner_webthing
An airconditioner web thing connector
This project provides a webthing API to Midea air conditioners
The airconditioner_webthing package exposes a http webthing endpoint which supports controlling the air conditioner via http. E.g.
# webthing has been started on host 192.168.0.23
curl http://192.168.0.23:7122/properties
{
"outdoor_temperature": 4,
"indoor_temperature": 22,
"target_temperature": 23,
"operational_mode": "heat",
"fan_speed": 102,
"power": false,
"run_util": ""
}
To install this software you may use PIP package manager such as shown below
sudo pip install airconditioner_webthing
After this installation you may start the webthing http endpoint inside your python code or via command line using
sudo aircon --command listen --port 7122 --ip 10.31.33.90 --id 957548654462565
Here, the webthing API will be bound to the local port 7122. Additionally, the ip address of the air conditioner has to be set as well as the device id of the air conditioner. To discovery the device id you may use midea-msmart library as shon below
midea-discover -a YOUR_ACCOUNT -p YOUR_PASSWORD
Alternatively to the listen command, you can use the register command to register and start the webthing service as systemd unit. By doing this the webthing service will be started automatically on boot. Starting the server manually using the listen command is no longer necessary.
sudo aircon --command register --port 7122 --ip 10.31.33.90 --id 957548654462565
Metadata
Release files for airconditioner-webthing 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| airconditioner_webthing-0.1.5.tar.gz | 12.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airconditioner_webthing-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.4 kB
Release files / airconditioner_webthing-0.1.5.tar.gz
| Download URL | airconditioner_webthing-0.1.5.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72cb598800be8ac367c76280c55fcc5cddbf5ec5cc7e836bae42837921a5ef30
|
|
BLAKE2b-256 checksum How to use checksums |
25c24784f23c32864d9a5a54905f29b5bfa6d0176a1f3e52981ab6f170ff715f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / airconditioner_webthing-0.1.5-py3-none-any.whl
| Download URL | airconditioner_webthing-0.1.5-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c45c7993de3c2edf7f4740950d8d8e49aaf65b0fdd89ad274897935697bb5827
|
|
BLAKE2b-256 checksum How to use checksums |
bcfd1e39732437ee0251936895feb8f6900919602e23391bc12db4c90d5d78ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for airconditioner-webthing 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.