30.11.2021, 23:01
Hello guys!
I need your help.
I need a schedule script that does the following:
At 15/10 if the house is at AWAY mode it will turn on the UFH.
At 15/3 if the house is at AWAY mode it will turn on the AC.
It doesnt work for me.
SCRIPT:
-- get value of object with group address 3/0/5 -- 3/0/5 is AWAY MODE STATUS
value = grp.getvalue('3/0/5')
if value == 1 then
-- write value (e.g. boolean 'true') to object with group address 3/0/18, datatype must be set for this object -- 3/0/18 is HEAT SCENE
grp.write('3/0/18', true)
end
I need your help.
I need a schedule script that does the following:
At 15/10 if the house is at AWAY mode it will turn on the UFH.
At 15/3 if the house is at AWAY mode it will turn on the AC.
It doesnt work for me.
SCRIPT:
-- get value of object with group address 3/0/5 -- 3/0/5 is AWAY MODE STATUS
value = grp.getvalue('3/0/5')
if value == 1 then
-- write value (e.g. boolean 'true') to object with group address 3/0/18, datatype must be set for this object -- 3/0/18 is HEAT SCENE
grp.write('3/0/18', true)
end