Skip to content
Snippets Groups Projects
Select Git revision
  • dc7685e8540bb9e568b2207015f1895c62a896d0
  • main default protected
  • py2-backport
  • tags/release-0.5_final
  • tags/release-0.4_final
  • tags/release-0.4_r2
  • tags/release-0.3
7 results

Aqara

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    jkerdreu authored
    
    git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3186 b32b6428-25c9-4566-ad07-03861ab6144f
    dc7685e8
    History
    Name Last commit Last update
    ..
    tests
    xaal
    README.rst
    pyproject.toml
    setup.py

    xAAL Aqara Gateway

    Install & Config

    • Install with python setup.py develop or install.

    • Enable local network on the Aqara Gateway with the Mi Home Android or iOS app. You can follow this manual: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara) store the secret key somewhere.

    • 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/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.