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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xaal_aqara-0.2.2.tar.gz
  • Upload date:
  • Size: 8.9 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.2.tar.gz
Algorithm Hash digest
SHA256 66ccac0b812138e8acb83c3db275417ce09c15df5c4bc48c88ce053d9940a3c9
MD5 bc20cc53e64db76db8d7e355390412b4
BLAKE2b-256 96b4252e431ec3e7cd95c6d8b9e95689266d3392f629ceaef0ff1ebd7aad4944

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xaal_aqara-0.2.2-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.11

File hashes

Hashes for xaal_aqara-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed2d7c3ab36b9b268b2c3151c2fd901e5282869e2d106e35fd2e49535b8563f5
MD5 ebe0a935236c8f2d4c6f8790d5c62ff3
BLAKE2b-256 7c7cc0ada5db4a0887a6067c1f97d17b5d4aebc4508f1018297f51ad61781cca

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