HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: Michel on September 14, 2015, 10:47:13 PM

Title: DHT-22 Sensor
Post by: Michel on September 14, 2015, 10:47:13 PM
I have connected a DHT-22 sensor to my RPi and readings are ok with program 63. The only problem is that the program refreshes the data every 3 to 10 seconds  even if the interval delay is set at 600 seconds.

Any idea ?

Thanks
Title: Re: DHT-22 Sensor
Post by: dani on September 15, 2015, 05:10:32 AM
I votre same issue. You must correct the program. Take of thé line with "break;".
But after tell me if sometime you don't get wrong value, in that case I will post a new hgx file for you

Chees
Dani
Title: Re: DHT-22 Sensor
Post by: Michel on September 15, 2015, 01:12:40 PM
Thanks Dani, the refresh interval is ok now. But, as you suspected, sometimes the humidity shows 3303.4%.

Title: Re: DHT-22 Sensor
Post by: dani on September 15, 2015, 02:52:45 PM
Here is a source code that care of some wrong values.
If you import that program it will create a new ID. So you stop program ID 63 and use the new one.

Cheers
Dani
Title: Re: DHT-22 Sensor
Post by: Michel on September 15, 2015, 09:06:01 PM
Hi Dani, I installed your program and everything works perfectly now.

Thanks for your help.

Michel