DHT22 inconsistent reading and value calc on v48

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mrb
Normal user
Posts: 11
Joined: 15 Dec 2015, 13:54

DHT22 inconsistent reading and value calc on v48

#1 Post by mrb » 15 Dec 2015, 14:04

Hi,

fairly new to the ESP8266 but had an Olimex running fine on version 39 with one DHT22 sensor attached and reporting to openHAB via MQTT.
I attached an OLED and updated the software to version 49 and now experience a few issues:

1. DHT22 temperature and humidity are reported incorrectly at random times. on a correct temp of 15.90 and humidity of 60.30 every few minutes it reports 7.9 C and 30.10 % once and goes back to correct readings after that.

2. I can no longer calculate F from the EasyESP. adding %value%*1.8+32 in the web interface and hitting submit removes the "+" sign and calculation is off.

3. Web interface stops responding shortly after boot. I can log in and do a few config/device related settings before it locks. The MQTT keeps reporting and the http interface to put text on the oled screen appears to work fine so just the config is not accessible. I have a static IP address if that makes any difference.

Any help with above is appreciated.
Thanks

mrb
Normal user
Posts: 11
Joined: 15 Dec 2015, 13:54

Re: DHT22 inconsistent reading and value calc on v48

#2 Post by mrb » 15 Dec 2015, 19:48

just an update.
I have installed the latest version from github and issues 1 and 2 are resolved.
Web interface for settings still stops responding and esp stops responding to ping while being managed for a few minutes.
rebooting the esp solves that temporary and as long as no web browser is connected to it appears to be stable.

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: DHT22 inconsistent reading and value calc on v48

#3 Post by BertB » 16 Dec 2015, 20:38

I wonder if this (issue number 3) is not caused by distance or interference in your network, between this ESP and your wifi AP.
I have similar problems when I am too far from the AP.

mrb
Normal user
Posts: 11
Joined: 15 Dec 2015, 13:54

Re: DHT22 inconsistent reading and value calc on v48

#4 Post by mrb » 17 Dec 2015, 14:28

it is right next to the AP for stability testing.
as it stands version 39 was stable and worked fine with DHT22 and MQTT only and after update to 51 and adding the OLED (separate power supply with common ground) the ESP is no longer stable. Web management is frequently lost after a few minutes post boot and after a while (15 to 20 hours) MQTT stops responding as well.
I might have to scrap this and try it on arduino.

mrb
Normal user
Posts: 11
Joined: 15 Dec 2015, 13:54

Re: DHT22 inconsistent reading and value calc on v48

#5 Post by mrb » 18 Dec 2015, 12:32

update to latest v52 from github, full reset and reconfigure sensors and oled, leave IP address as DHCP (reserve on router so it doesn't change) has resolved all the issues.
ESP is stable with 24h uptime, http access to the management interface, sensors and oiled work fine.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests