Senserbender Humidity Value Error
-
Built up a senserbender board with radio and using the example script I get the temp device and humidity devices - temp looks correct but humidity is reporting 1107296283 % anyone else have this working correctly?
-
Looks strange. Is it always reporting the same hight value or is it settling after a while?
How do you power it?
-
Are you using the ESP8266 gateway? If so, the problem may be with the gateway, not the sensebender. Something about 8bit to 32bit conversion. See here.
-
Dwalt - you hit the nail on the head.
I was not able to get the dev branch of the ESP Wifi gateway to build per the link you sent.
but I modified the senserbendermicro example to change the all of the "int" to "float" for the humidity readings and I am getting the correct readings now.
In the example the Temperature variables are all float types so the temp readings were working correctly.+1 to you.
Hek - i have a 5v 2A wall wart powering the esp. it was reporting the high value right from the start due to the 2 byte int to 4 byte int conversion in the ESP.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 13 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20