noob question Humidity sketch
-
Hi,
is it correct, that the standard humidity sketch is only sending new values when there is a change?
In my case, as the temp and humidity is constant, there can be hours without new reading ( Iam using DHT11)
It would be great to get a short feedback if this is "how it should be" in the standard configuration?
Does anybody has a sketch where every time all the data is send?
thanks
-
Just change the following statement (line 41)
} else if (temperature != lastTemp) {
to
} else {
and the same with line 54.
-
thanks!
is the reason for this saving of battery live? -> less sending?
-
Yes, I think that is the main reason.
1 out of 4
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 23 days ago -
Code Garage to the rescue.
General Discussion • 11 Jan 2025, 11:25 • skywatch 12 days ago -
is this project dead?
General Discussion • 12 days ago • perfectom 3 days ago -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 20 days ago -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 26 days ago