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.1.tar.gz (8.8 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.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xaal_aqara-0.2.1.tar.gz
Algorithm Hash digest
SHA256 131e612dea9e255bd9cbb52b23120a1f8f1c0c2bff50e7eda97cd9ec887e94e1
MD5 0f9f163979f5e3b4a25fad9f44de9046
BLAKE2b-256 88b30bd88e5db3b5706504a487c2b4d7abbacb0793ab5b7079d5602714c6bc25

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xaal_aqara-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87c654eca2e277ad4931b64420e85a85e99fe67da94e8493288b29d25e9898c9
MD5 d8ddec912ddc92b20548611d31784cfd
BLAKE2b-256 61d5aae961700e58bd8b83c7f08a75ebae74deac138ca0f30990905450383901

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