Homebridge HTU21D Sensor Plugin
This is an Homebridge accessory plugin for HTU21D temperature and humidity sensor connected via i2c.
Install
The way in which I2C is configured varies from board to board. Sometimes no configuraton is required, but sometimes it is:
- Configuring I2C on the Raspberry Pi
- Configuring Software I2C on the Raspberry Pi
- Consider software I2C when there are issues communicating with a device on a Raspberry Pi
npm install -g --unsafe-perm homebridge-htu21d-sensor
Example config.json
Optional Parameters
Option | Default | Explanation |
---|---|---|
updateFrequency |
1 | How frequently to read temperature and humidity from HTU21D (in seconds). |