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.
4 out of 4
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24 -
Which device I have to use to connect with accelerometer before connecting to my pc?
General Discussion • 24 Jan 2023, 17:16 • Yada Kijsathan 16 Mar 2025, 20:17 -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 20 days ago -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 23 days ago -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29