Skip to main content

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 off
  • Mode: to control operating mode
  • Fan: to control fan speed
  • Set point: to set the target temperature
  • Temperature: to record curent temperature as measured by the unit
  • Low heat: to turn on low heat

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airton_ac-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

airton_ac-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file airton_ac-0.1.0.tar.gz.

File metadata

  • Download URL: airton_ac-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for airton_ac-0.1.0.tar.gz
Algorithm Hash digest
SHA256 99812f6d2584d62dcc9cf808ad476f3fe42f33945cc3a2ed8eecee38ca5fa008
MD5 cf03bb5c5997bf09a5e3d5e9d9fae562
BLAKE2b-256 1014a877c0a9456fbeaa3e61bfd28305da3a8a29f8d9fefd084ca13a30d7ac6f

See more details on using hashes here.

File details

Details for the file airton_ac-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: airton_ac-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 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

Hashes for airton_ac-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ff73693d556896de9c76e8ef5f316199d622966e2cafd90caf49d18de574ec2
MD5 f5a8744d5ca87934522440404afff263
BLAKE2b-256 1b7b1caa3086cf559d41cbae82489ab6caaef96a940b2310cb9796e2d3965292

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page