homebridge-aquara
Aquara plugin for HomeBridge
This repository contains the Aquara plugin for homebridge.
Aquara is a ZigBee gateway with a few sensors. Please see the pictures below.
Installation
- Install HomeBridge, please follow it's README. If you are using Raspberry Pi, please read Running-HomeBridge-on-a-Raspberry-Pi.
- Make sure you can see HomeBridge in your iOS devices, if not, please go back to step 1.
- Download homebridge-aquara to your local folder.
Configuration
-
Open Aquara gateway's settings, enable local network protocol.
-
Put gateway's MAC address (lower case without colon) and password to ~/homebridge/config.json. If you have more than one gateways, fill them in right order, like below.
{ "platforms": [ { "platform": "AquaraPlatform", "sid": ["6409802da3b3", "f0b4299a5b2b", "f0b4299a77dd"], "password": ["02i44k56zrgg578b", "g250s2vtne8q9qhv", "syu3oasva3uqd5qd"] }] }
Run it
-
From source code
$ cd /path/to/homebridge-aquara $ DEBUG=* homebridge -D -P .
-
As homebridge plugin
$ npm install -g homebridge-aquara $ homebridge