My dht11 sensor is showing 0 value for temp and humidity in pimatic.
I have installed 0.9.33 with the pimatic-dht-sensors 0.9.1 plugin.
I can query the dht11 sensor using node-dht-sensor not sure how to test with wiringPi.
pi@raspberrypi:~/bcm2835-1.50/node_modules/node-dht-sensor $ node test.js
Temperature: 0.0C, humidity: 0.0%, valid: false, errors: 4
Temperature: 21.0C, humidity: 35.0%, valid: true, errors: 0
Temperature: 21.0C, humidity: 35.0%, valid: true, errors: 0
Temperature: 21.0C, humidity: 36.0%, valid: true, errors: 0
Temperature: 21.0C, humidity: 36.0%, valid: true, errors: 0
Temperature: 21.0C, humidity: 36.0%, valid: true, errors: 0
^C
pi@raspberrypi:~/bcm2835-1.50/node_modules/node-dht-sensor $ node test.js
Temperature: 21.0C, humidity: 35.0%, valid: true, errors: 3
Temperature: 21.0C, humidity: 35.0%, valid: true, errors: 2
Temperature: 21.0C, humidity: 35.0%, valid: true, errors: 0
^C
I configured the pin to 4 and type to 11 in pimatic and restarted a few time but I still get 0 value in the pimatic interface.
I assume it’s related to this but could you confirm?
pimatic 0.9.32 - plugin pimatic-dht-sensor shows only zero #962
https://github.com/pimatic/pimatic/issues/962
[pimatic-dht-sensor] Resync sweetpi/node-dht-sensor v0.9.x branch with momenso/node-dht-sensor #972
https://github.com/pimatic/pimatic/issues/972