Read the statement by Michael Teeuw here.
MMM-DHT22 Humidity and Temperature Module
-
Does it also work with the DHT-11?
-
-
-
Hi guys
I have some problems with this module. I test it with two DHT22 and I have always the same strange thing. Please look my short clip: [Youtube](video: https://youtu.be/gvuq6A13fw8). Sometimes it shows quickly the exact Temp and sometimes strange values but most of the time it shows undefined. I try to made a skipt outside of the MM and in this picture (link) you can see , at the same time my skript shows the right value but in MM its undefined.
Can someone test this module or help me to find the fault? THX a lot for any help! -
What’s the result when you try this command directli in your terminal:
go to
cd MagicMirror/modules/MMM-DHT22/
sudo ./dht_var 2
Replace
2
with your sensor PinI’ve tested this on two different Pi’s
-
@Bangee ok, now I’m confused ;o)
The first 5 lines I tried during my MM was working but nothing happend, i had to wait 2 minutes and it shows just a new comment line. After i stopped my MM it was working like a charm (last two lines). What I’m doing wrong?..
-
I don’t now atm :-)
it looks like something is blocking the dht_var script when your MM is running
Do you have error in your MM logs?
-
I just checkt it and I don’t have any errors …;o(
-
I’ve tried this on an other pi and it works …
can you uncomment line 33 in node_helper.js to check if he tries to write something in to the logs?
console.log("Log: " + temp + " - " + hum);
-
THX @Bangee for your help. Now i got this error: