bpmurray / node-red-contrib-dht-sensor

Node-RED node to process DHT11/22 sensor data
Apache License 2.0
7 stars 8 forks source link

node-dht-sensor doesn't have readSpec function anymore #6

Closed mcgurk closed 8 years ago

mcgurk commented 8 years ago

Solution? (worked for me): ~/.node-red/node_modules/node-red-contrib-dht-sensor/dht22-node/dht22-node.js //reading = sensorLib.readSpec(this.dht, this.pin); reading = sensorLib.read(this.dht, this.pin);

bpmurray commented 8 years ago

Code updated and deployed to npmjs.org, along with some other minor updates.