Comparing values over time - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Comparing values over time (/showthread.php?tid=240) |
Comparing values over time - FatMax - 02.03.2016 I´m looking to debug some issues with floor heating, and was thinking a script comparing two values and notifying me if the value difference is over 2 degrees over a period of 4 hours. Does anyone have such a script or example? I´m not sure how to store, compare and overwrite the values over time... RE: Comparing values over time - buuuudzik - 02.03.2016 (02.03.2016, 12:36)FatMax Wrote: I´m looking to debug some issues with floor heating, and was thinking a script comparing two values and notifying me if the value difference is over 2 degrees over a period of 4 hours. You can do it in this way: 1. Event-script for both GA's Code: delta_status = '1/2/3' 2. Resident-script or Scheduled-script Code: delta_status = 1/2/3 RE: Comparing values over time - FatMax - 03.03.2016 Thanks! I'll try this out with some testing. |