Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device shows wrong temperature after updating from 12.12.4 --> 12.12.5 #2262

Closed
Gandalf8266 opened this issue May 17, 2024 · 4 comments
Closed

Comments

@Gandalf8266
Copy link

I have a ESP8266 microcontroller with a DHT22 connected.
Device works fine so far, but on every update it shows wrong temperature (-99°C) and humidity (0%).

It happens on every update, but now, I made screenshots bevor und after update.
It's easy to fix, I only disconnect from power and connect again, but this is annoying.

The config is here:
{"c":{"o":0},"a":[{"t":24,"b":[],"n":2,"g":2}]}

I have attached screenshots bevor und after update.
60B4C2C2-883E-49BD-BABF-5D34BF610072_1_105_c
F040EF1D-E3D7-43E1-89E9-D2D261DC7670_1_105_c
3982D7D4-4354-4433-AC18-F88CB375CC4F_1_105_c
68446734-B470-4665-BAFA-72240B0F9BD0_1_105_c

@RavenSystem
Copy link
Owner

It is hardware related. GPIO 2 is pulled up and high at boot. This can not be changed by firmware. Better, use other GPIO.
https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/

@vsidlu
Copy link

vsidlu commented Sep 6, 2024

Hi, @RavenSystem I get this -99 also on GPIO 14.

config -
{"c":{"io":[[[14],2],[[2],2,1]],"l":2,"n":"t_bathroom","i":1,"b":[{"g":0}]},"a":[{"t":25,"s":5,"g":14,"0":{"h":[{"h":"10.0.1.8","p":5556,"m":1,"u":"characteristics",
"c":"{"characteristics":[{"aid":2,"iid":9,"value":false}]}"}]},"1":{"h":[{"h":"10.0.1.8","p":5556,"m":1,"u":"characteristics",
"c":"{"characteristics":[{"aid":2,"iid":9,"value":false}]}"}]},"3":{"h":[{"h":"10.0.1.8","p":5556,"m":1,"u":"characteristics",
"c":"{"characteristics":[{"aid":2,"iid":9,"value":true}]}"}]},"5":{"a":0}}]}

The wires are soldered and changing gpio will be painfull. Any other options I can do?

@vsidlu
Copy link

vsidlu commented Sep 6, 2024

Strange, but sometimes it shows the correct reading, but sometimes -99. What could this be related to?

@vsidlu
Copy link

vsidlu commented Oct 1, 2024

I replaced all DHT22 temperature sensors. I no longer encounter this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants