Skip to main content

xAAL gateway for Xiaomi / Aqara

Project description

This is a xAAL gateway for the Aqara Gateway (hub) from Xiaomi. The gateway is able to discover and control most Aqara devices.

Install & Config

  • Enable local network on the Aqara Gateway with the Mi Home Android or iOS app. You can follow this manual: Domoticz Wiki. Search for the key and save it.

  • Run the xAAL gateway with: python -m xaal.aqara. The gateway should detect all Aqara devices on your local network.

  • To enable quick discovery and control devices (switches, leds..) edit the config file ~/.xaal/aqara.ini and add the key like this:

[devices]
    [[xxxxxxxxxxxx]]
    base_addr = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx
    model = gateway
    secret = ydt5xis45x7k5x1x

Notes

  • xAAL gateway supports more than one Aqara Gateway (hub) on the network make sure to set a secret key to each hub.

  • xAAL gateway supports most Aqara devices, feel free to edit (and submit) xaal/aqara/devices.py if you own a unsupported device.

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

xaal_aqara-0.2.4.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xaal_aqara-0.2.4-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file xaal_aqara-0.2.4.tar.gz.

File metadata

  • Download URL: xaal_aqara-0.2.4.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for xaal_aqara-0.2.4.tar.gz
Algorithm Hash digest
SHA256 a134b9e04efb939b5e7d54af4f38728ada139dfbfb79c37a936fc8b807713002
MD5 59cfa1882ba1a7537e0f6dab2a65fc90
BLAKE2b-256 29f043093e2bd912451c6541ca8dd75be8032d3dba3b68aca38cbcffdc3a66af

See more details on using hashes here.

File details

Details for the file xaal_aqara-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: xaal_aqara-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for xaal_aqara-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cea345fba4575ef72000f98b3966a9913dbabd59ce5decea2ddf451f41e789c0
MD5 1037965041f6c03cc5a41250e6337ab7
BLAKE2b-256 0f07eca0110cf919203f2307b61f41c63ec0d0aec07b234ff927a1fb33236ad9

See more details on using hashes here.

Supported by

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