Cyclic script - 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: Cyclic script (/showthread.php?tid=4537) |
Cyclic script - Borek - 27.01.2023 Please advise and help, I need the system to send the group address value to the bus every 24 hours at a certain time. Example: at 3:00AM the group address value will be 1, the system will write the value 1 to the same group address on the bus, the value will be 0, the system will write the value 0 to the same group address on the bus. I need this so that devices that are listening for this address, but can't make a request, will get an update of this group address at a repeating time interval. It is clear to me that this can be written in a cyclic script. Is there another simple way? Please advise and help, I need the system to send the group address value to the bus every 24 hours at a certain time. Example: at 3:00AM the group address value will be 1, the system will write the value 1 to the same group address on the bus, the value will be 0, the system will write the value 0 to the same group address on the bus. I need this so that devices that are listening for this address, but can't make a request, will get an update of this group address at a repeating time interval. It is clear to me that this can be written in a cyclic script. Is there another simple way? Thanks Borek RE: Cyclic script - Daniel - 27.01.2023 Scheduled script which runs at a time you want Code: value = grp.getvalue('1/1/1') |