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.3.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.3-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xaal_aqara-0.2.3.tar.gz
Algorithm Hash digest
SHA256 0d47497812594c301d4a3fe640484c8a912762b7fe9bd162d973501416f202f7
MD5 72a27562897c6fabc19aeef96ce6b89d
BLAKE2b-256 43e67a0b4992bb0973e44ecfd04a9d8202061b5f25f0e00371e10aaf70cf2ee0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xaal_aqara-0.2.3-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.12

File hashes

Hashes for xaal_aqara-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1aa30206f96f8696e680144174ab5510016ad3fc477c70db12d208e1f8da5292
MD5 73909b43fdabf1342409d4a311880008
BLAKE2b-256 bbad75ea70b3bde3d452cdf021fc0a103d022e4230d22d1be9c84d4f19412926

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