5 hours ago
You can do it like that only make sure to set script Execution mode: to Last instance only.
Code:
local source_addr = "32/3/1"
local target_addr = "32/3/2"
local newvalue = true
local delay = 40 * 60
local value = event.getvalue()
if not value then
return
end
os.sleep(delay)
grp.write(target_addr, newvalue)
------------------------------
Ctrl+F5
Ctrl+F5