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

Add "isValid" and "errors" attributes in response. #15

Closed chibiegg closed 6 years ago

chibiegg commented 6 years ago

The node-dht-sensor library responds with the number of times an error occurred during reading and whether the result is valid or not.

In this pull request, I added the result to the message.

image

bpmurray commented 6 years ago

Thank you for the update. I've merged the change and I'll update the Readme later, before pushing to npmjs. If you're interested in this node, do you want full access to the project?