Closed mcgurk closed 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);
Code updated and deployed to npmjs.org, along with some other minor updates.
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);