This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

24h Temperature average
#1
Hello there

I've been trying to find a good solution to determine the average temperature of the day. My idea was it to trigger a script whenever a new value is being sent. I would then add the value to a variable and divide it by the number of values. Shortly befor midnight I would then store the value and clear counter and sum. 

I also looked a the log option, but I get the impression that I have very few log entries of any group address that I log. 

How could I achieve that? If you can point me to a similar code sample that be very helpful.

Thanks a lot!

Cheers!
Martin
Reply


Messages In This Thread
24h Temperature average - by kropfm - 17.09.2022, 09:21
RE: 24h Temperature average - by kropfm - 21.09.2022, 18:23
RE: 24h Temperature average - by Daniel - 19.09.2022, 07:28
RE: 24h Temperature average - by kropfm - 22.09.2022, 03:49
RE: 24h Temperature average - by admin - 19.09.2022, 08:15

Forum Jump: