Logic Machine Forum
How to Determine if a Group Has been on longer 10 Secondthan s - 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: How to Determine if a Group Has been on longer 10 Secondthan s (/showthread.php?tid=1992)



How to Determine if a Group Has been on longer 10 Secondthan s - sjfp - 26.03.2019

Trying to find some code that can be used to determine if a group object has been on from more than 10 seconds. but can be expanded to more than 5 mins if needed.
Will be used to switch fans on in en-suite if lights have been on for a while.
Could someone point me in the right direction, or if there is a sampleĀ  code already done.

any help will be very appreciated


RE: How to Determine if a Group Has been on longer 10 Secondthan s - Daniel - 27.03.2019

Hi
I think you can convert this script. Invert the outputs and delay as needed.
https://forum.logicmachine.net/showthread.php?tid=924&pid=5399#pid5399
BR


RE: How to Determine if a Group Has been on longer 10 Secondthan s - sjfp - 27.03.2019

Daniel, Thank you, will give it try this afternoon