DHT 11 on Raspberry 2

Spindi
Posts: 8
Joined: Sunday 05 February 2017 20:11
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: DHT 11 on Raspberry 2

Post by Spindi » Friday 24 February 2017 20:12

HI guys!

So I now tested it with the resistor and it's working well now!

Thanks a lot ijobain!!!!!!!!!

Kraod
Posts: 1
Joined: Saturday 18 March 2017 10:11
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: DHT 11 on Raspberry 2

Post by Kraod » Saturday 18 March 2017 10:16

Hello
I tried the solution in this post and it worked marvelously.
I have a question though: the script is written for a single dht, but I will have 5 of them in my house; is there a way to implement more in the same script or do I need to make a script for each of them ?

toontoon
Posts: 2
Joined: Monday 17 April 2017 19:18
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: DHT 11 on Raspberry 2

Post by toontoon » Monday 17 April 2017 19:35

For many hours I have been trying to get DHT11 working onRaspberry. when I read manually sudo ./AdafruitDHT.py 11 4 no problems, good reading. But if I try to use the mentioned program I get the same error as journeyman
File "dht11.py", line 12
sleep 5
^
SyntaxError: invalid syntax

Does anyone know how to fix this?

thanx!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests