Read the statement by Michael Teeuw here.
MMM-DHT22 Humidity and Temperature Module
-
@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:
-
Right. Please replace the word
temp
witharr[1]
andhum
witharr[0]
in line 33 in node_helper.js -
Now my logs looks like this after I changed line 33:
-
Okay, so it definitely fails retrieving data from the sensor, but the error handling does not catch this failure.
-
I have test it with two dht22. One was mine and one I received from @Bangee who was so kind to test it before sending it and it was working at his home, but when I tried it at my home it wasn’t working. So I have no Idea what can be the failure.
-
Hi ,
so I just figure it out, that the motiondetector by alexyak blocking the DHT22 script. If I disable this module my DHT 22 works perfect. Somebody knows what make this problem?