Socket
Socket
Sign inDemoInstall

node-red-contrib-gpio-dht-sensor

Package Overview
Dependencies
2
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-red-contrib-gpio-dht-sensor

Node-RED node to read temperature and humidity from GPIO connected DHT11, DHT22, and AM2302 sensors


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Node-RED GPIO DHT Sensor

Node-RED node to read temperature and humidity from GPIO connected DHT11, DHT22, and AM2302 sensors.

Installation

npm install node-red-contrib-gpio-dht-sensor

Alternatively, you can install this module through the editor UI palette.

Documentation

This module contains 1 node: dht-sensor.

dht-sensor

This node will measure the current temperature and humidity from a DHT11, DHT22, or AM2302 sensor connected over GPIO. The output message will contain both the measured temperature and humidity.

Input

Any message is acceptable as input. If an object type message is passed, all properties except payload will be forwarded.

Output
{
  "payload": {
    "temperature": 25.6,
    "humidity": 76.8
  }
}

Changelog

0.1.0

  • Initial release

Keywords

FAQs

Last updated on 24 Jun 2021

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