homebridge-htu21d-sensor

1.0.8 • Public • Published

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:

npm install -g --unsafe-perm homebridge-htu21d-sensor

Example config.json

{
  "bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
  },
 
  "description": "This is an example configuration file for HTU21D plugin.",
 
  "accessories": [
    {
      "accessory": "HTU21DSensor",
      "name": "HTU21D Sensor",
      "updateFrequency": 30
    }
  ],
 
  "platforms": [
  ]
}

Optional Parameters

Option Default Explanation
updateFrequency 1 How frequently to read temperature and humidity from HTU21D (in seconds).

Package Sidebar

Install

npm i homebridge-htu21d-sensor

Weekly Downloads

7

Version

1.0.8

License

ISC

Unpacked Size

8.47 kB

Total Files

4

Last publish

Collaborators

  • fungland