airton-ac
Control an Airton AC device over LAN. This requires having the wifi module.
Usage
You can use this library to control a device programmatically with airton_ac.Device or through the Domoticz plugin.
Requirements
To control a device you will need these 3 things:
- the device ID
- the device local IP address
- the device local key (encryption key generated upon pairing)
To get those, follow instructions from TinyTuya.
⚠️ Data center should be
Central Europe Data Center.
After having run the wizard, you can run python -m tinytuya scan to get a summary of devices.
Once you have the information you can unlink the devices from the SmartLife app and delete your accounts.
⚠️ Keep in mind that if you reset or re-pair devices the local key will change.
Domoticz plugin
The plugin requires having fetched device information using instructions above.
Make sure to read plugin instructions first.
The Domoticz version should be 2022.1 or higher.
python3 -m pip install airton-ac
python3 -m airton_ac.domoticz.install
Restart Domoticz and create a new Hardware using AirtonAC. You will need one per device, fill in information and add.
The hardware will create several devices to control the AC (all prefixed with hardware name):
Power: to turn on or offMode: to control operating modeFan: to control fan speedSet point: to set the target temperatureTemperature: to record curent temperature as measured by the unitLow heat: to turn on low heat
Release files for airton_ac 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| airton_ac-0.1.2.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airton_ac-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.5 kB
Release files / airton_ac-0.1.2.tar.gz
| Download URL | airton_ac-0.1.2.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3d396538c8f105fe6f21c0e15a197accb99bfccfca28139a5f58ffc5674fa77
|
|
BLAKE2b-256 checksum How to use checksums |
a53d37ddb5179c8a1cd30038474afb40fc96759760bb0f9ea4b987b833449db3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0
|
Release files / airton_ac-0.1.2-py3-none-any.whl
| Download URL | airton_ac-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab4afe26c77691609c74fc2cbbccd826a71231ed56e1f7c1744daf223383c580
|
|
BLAKE2b-256 checksum How to use checksums |
1b405dfe0ebce5cef5883a6c27d0e8985cfdd70013d96fa0ae9efd4d168502ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0
|