0.2.2 • Published 5 years ago

homebridge-dht-rpi v0.2.2

Weekly downloads
2
License
BSD
Repository
github
Last release
5 years ago

homebridge-dht-rpi

DHT11/22 plugin for Homebridge running on a Raspberry Pi GPIO pin. Provides temperature and relative humidity.

Requirements

Uses the node-dht-sensor library to communicate w/sensors, it uses the BCM2835 library to communicate, and that must be installed before installing the NPM module.

Installation

  1. Install BCM2835 library
  2. Install this plugin using: npm install -g homebridge-dht-rpi
  3. Edit config.json and add the sensor(s).
  4. Run Homebridge

Config.json Example

{
  ...
  "accessories": [
    {
      "accessory": "dht-rpi",
      "name": "My DHT"
    }
  ],
  ...
}

Optional Parameters

  • type type of device, either "DHT11" (default) or "DHT22"
  • pin GPIO pin number, default 4
0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago