12.04.2022, 09:33
Thank you admin, but it didn't work for me,
All of my objects is already following a fixed address,
14/4/x is for HVAC Mode, 14/3/X is for Shift set Point
That's what I did
- I added a tag named "shift" for 14/3/12 and created an event-based script with the tag shift
addr = event.dstplit('/')[3]
mode = grp.getvalue('14/4/' .. addr)
-- write input value to output only when the mode is comfort (1)
if mode == 1 then
value = event.getvalue()
grp.checkwrite('14/3/' .. addr, value)
end
then went to the visulasation and changed the mode to away, and tried to change the temp and it changed
Have I done something wrong?
All of my objects is already following a fixed address,
14/4/x is for HVAC Mode, 14/3/X is for Shift set Point
That's what I did
- I added a tag named "shift" for 14/3/12 and created an event-based script with the tag shift
addr = event.dstplit('/')[3]
mode = grp.getvalue('14/4/' .. addr)
-- write input value to output only when the mode is comfort (1)
if mode == 1 then
value = event.getvalue()
grp.checkwrite('14/3/' .. addr, value)
end
then went to the visulasation and changed the mode to away, and tried to change the temp and it changed
Have I done something wrong?