03.11.2018, 11:49
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?
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?