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.

Lua average temperature
#1
Hi.

I want to get the average temperature reading for the last 10 minutes before the script runs the contents and uses this value (KNX bus sends a reading every minute). This means an average of the last 10 temperature values.

Is this possible to do i Lua, or is it better to get this average value by other means, and input it in the script from there?
Reply
#2
See this post: https://forum.logicmachine.net/showthrea...17#pid3217
Reply
#3
Thanks. The last script in your link works perfect  Smile
Reply


Forum Jump: