movement detection - 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: movement detection (/showthread.php?tid=5700) |
movement detection - almoisey - 23.10.2024 Hello. I need that script for movement detection-if there is movement, the actuator is triggered for a certain time1 . if the movement is repeated(while the actuator is ON), the actuator's operating time is extended for time 2 thanks RE: movement detection - Daniel - 23.10.2024 Is the time1 different then time2? RE: movement detection - almoisey - 24.10.2024 yes. movement1= 100seconds and each another movement will add 30seconds RE: movement detection - admin - 25.10.2024 Resident script with sleep time set to 0. In this example 0/0/1 is movement input (1 bit) and 0/0/6 is actuator output control (1 bit). Multiple timers can be added to the timers table if needed. Code: if not client then |