You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

homebridge-dht-rpi

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-dht-rpi

Homebridge DHT11/22 plugin for Raspberry Pi

0.2.2
latest
Source
npmnpm
Version published
Weekly downloads
3
-40%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • Install BCM2835 library
  • Install this plugin using: npm install -g homebridge-dht-rpi
  • Edit config.json and add the sensor(s).
  • 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

Keywords

homebridge

FAQs

Package last updated on 13 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts