Package Exports
- homebridge-thermometer-am2320
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (homebridge-thermometer-am2320) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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