Socket
Socket
Sign inDemoInstall

homebridge-dht-sensor

Package Overview
Dependencies
59
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    homebridge-dht-sensor

Homebridge plugin for DHT temperature and humidity sensors


Version published
Maintainers
1
Created

Readme

Source

homebridge-dht-sensor

Homebridge plugin for DHT temperature and humidity sensors

installation

$ npm install homebridge-dht-sensor

usage

This module depends on the BCM2835 library that must be installed on your board before you can actually use this module.

You have to specify the sensorType (11 for DHT11; 22 for DHT22 or AM2302) and the gpioPin to which the data pin of the sensor is connected.

{
  "bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
  },

  "accessories": [{
    "accessory": "DhtSensor",
    "name": "Sensor",
    "sensorType": 22,
    "gpioPin": 17
  }],

  "platforms": []
}

Keywords

FAQs

Last updated on 29 Jan 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc