This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Cyclic script
#1
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
Reply
#2
Scheduled script which runs at a time you want
Code:
value = grp.getvalue('1/1/1')
grp.write('1/1/1', value)
------------------------------
Ctrl+F5
Reply


Forum Jump: