30.05.2024, 13:07
Resident script with 0 sleep time. 1/1/1 is valve control, 1/1/2 is on delay and 1/1/3 is off delay. Both delays are specified in minutes.
Code:
grp.write('1/1/1', true)
ondelay = grp.getvalue('1/1/2')
os.sleep(ondelay * 60)
grp.write('1/1/1', false)
offdelay = grp.getvalue('1/1/3')
os.sleep(offdelay * 60)