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.

Long loop run for water pump !
#2
What you can do is create a boolean start/stop object and add this script to it:
Code:
script.set('Pump Interval', event.getvalue())
and add a resident script called 'Pump Interval' (set it to 0 seconds) and add this script to it:
Code:
pump_address = '1/1/1'
grp.checkwrite(pump_address, true)
os.sleep(3600)
grp.checkwrite(pump_address, false)
os.sleep(1800)
BR,

Erwin
Reply


Messages In This Thread
RE: Long loop run for water pump ! - by Erwin van der Zwart - 22.01.2022, 09:07
RE: Long loop run for water pump ! - by admin - 24.01.2022, 08:25
RE: Long loop run for water pump ! - by admin - 28.01.2022, 12:08
RE: Long loop run for water pump ! - by admin - 31.01.2022, 08:46

Forum Jump: