ds

dht-sensor

node.js module to read the DHT series of humidity and temperature sensors on a Raspberry Pi

Showing:

Popularity

Downloads/wk

2

GitHub Stars

8

Maintenance

Last Commit

4yrs ago

Contributors

2

Package

Dependencies

1

Size (min+gzip)

1.1KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

dht-sensor

node.js module to read the DHT series of humidity and temperature sensors on a Raspberry Pi 2.

Setup

$ npm install dht-sensor --save

Example

var dht = require('dht-sensor');
var current = dht.read(11, 18); // 11 : DHT11, 18 : BCM GPIO  

console.log(current.humidity);
console.log(current.temperature);

Reference

https://github.com/adafruit/Adafruit_Python_DHT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial