homebridge-thermometer-am2320
v0.0.10
Published
AM2320 temperature/humidity sensor bridge for Homebridge: https://github.com/nfarina/homebridge"
Downloads
16
Maintainers
Readme
homebridge-am2320
ASONG AM2320 temperature/humidity sensor service plugin for Homebridge
Installation
- Install Homebridge using
npm install -g homebridge
- Install this plugin
npm install -g homebridge-thermometer-am2320
- Update your configuration file - see below for an example
Connect the AM2320 chip to the I2C bus
Configuration
accessory
: "AM2320"name
: descriptive namename_temperature
(optional): descriptive name for the temperature sensorname_humidity
(optional): descriptive name for the humidity sensor
If you get an I/O error, make sure the I2C address is correct (usually 0x5c depending on a jumper).
Example configuration:
"accessories": [
{
"accessory": "AM2320",
"name": "Sensor",
"name_temperature": "Temperature",
"name_humidity": "Humidity",
"options": {
"i2cBusNo": 1,
"i2cAddress": "0x5c"
}
}
]
This plugin creates two services: TemperatureSensor and HumiditySensor.
License
Apache 2.0