homebridge-platform-aqe
v0.3.3
Published
An Air Quality Egg (http://airqualityegg.com/) platform plugin for Homebridge: https://github.com/nfarina/homebridge
Downloads
20
Maintainers
Readme
homebridge-platform-snmp
An Air Quality Egg platform plugin for Homebridge.
Installation
Run these commands:
% sudo npm install -g homebridge
% sudo npm install -g homebridge-platform-aqe
On Linux, you might see this output for the second command:
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
If so, please try
% apt-get install libpcap-dev
and try
% sudo npm install -g homebridge-platform-aqe
again!
NB: If you install homebridge like this:
sudo npm install -g --unsafe-perm homebridge
Then all subsequent installations must be like this:
sudo npm install -g --unsafe-perm homebridge-platform-aqe
Homebridge Configuration
This is a "dynamic" platform plugin,
so if you're already running homebridge
on your system,
then you already have a ~/.homebridge/config.json
file and no configuration is needed!
If this is your first time with homebridge
,
this will suffice:
{ "bridge":
{ "name": "Homebridge"
, "username": "CC:22:3D:E3:CE:30"
, "port": 51826
, "pin": "031-45-154"
}
, "description": ""
, "accessories":
[
]
, "platforms":
[
[
{ "platform" : "homebridge-platform-aqe"
, "name" : "AQE"
}
]
}
AQE Configuration
Connect your Egg's USB cable to your computer,
and launch Serial Monitor program.
Make sure that EOL
is set to Carriage Return1,
and that the
Baud Rateis set to
115200`.
Type aqe
when the Egg starts and,
after initialization,
you'll be in configuration mode.
Type these three commands:
mqttsrv mqtt.example.com
mqttauth disable
exit
where mqtt.example.com
is the domain-name of the machine that is running Homebridge.
(It would be better if the Egg would allow an IP address for the MQTT server,
but it requires a domain-name.)
Personally,
I also like to set these as well prior to the exit
command:
backlight alwayson
use ntp
ntpsrv pool.ntp.org