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.4.tar.gz
.
File metadata
- Download URL: airton_ac-0.1.4.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 | 20807160632c154c46a6916b315f26f44398fcea53b86a15c3d8210f522cf303 |
|
MD5 | 0ba2d1027f617110eacbe7e88916315c |
|
BLAKE2b-256 | 946508af899bf7f34d1fcdac74dc39dcf9d1cdbba649e747b82dd783a998bbe6 |
File details
Details for the file airton_ac-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: airton_ac-0.1.4-py3-none-any.whl
- Upload date:
- Size: 11.1 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 | d89e6f9773d92299252cfb01a0cd404bd0383ce02642d2852bad2a789e4d3bc7 |
|
MD5 | 735393a2b49a440f81f8ede8f63e8a41 |
|
BLAKE2b-256 | 683c318ba56627ea426de4128e9d988d86e16a5537e9b593790a722b0d9d94e0 |