Control an Airton AC device over LAN.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file airton_ac-0.1.3.tar.gz
.
File metadata
- Download URL: airton_ac-0.1.3.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319dc14c05f17b8638f32befecb0d659ce075aa1611fe09d6b6be4f4eb5274d7 |
|
MD5 | d4c180118f05a1d7e0306d0fcc3c37c1 |
|
BLAKE2b-256 | ff8e8b97e978d9aa4184b22a0a0db92843cd08e02594f341fdcadde57ab28b3e |
File details
Details for the file airton_ac-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: airton_ac-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d48ea3b0da41555c80adbfd53185eab438ce0e7ac334845058594348b7241fd0 |
|
MD5 | a3febe0f6a07335e99d10d6e32c35748 |
|
BLAKE2b-256 | aa6ad898376869d7879791e8af62eaf43a88efeb5aa5503c9097d365418727bc |