20.12.2019, 08:50
Google translator didn't work well here
Based on your description do it like that.
Tag objects v1,v2,v4 as you want but not v4. In my example it is setpiont, temp and delta but not switch.
Create event based script which will be triggered by your tag.
Change group addresses as needed.
Based on your description do it like that.
Tag objects v1,v2,v4 as you want but not v4. In my example it is setpiont, temp and delta but not switch.
Create event based script which will be triggered by your tag.
Code:
temp = grp.getvalue('Thermostat Temperature')
setpoint = grp.getvalue('Thermostat setpoint')
delta = grp.getvalue('Thermostat delta')
if temp >= (setpoint + delta) then
grp.write('Thermostat Switch', true)
else
grp.write('Thermostat Switch', false)
end
------------------------------
Ctrl+F5
Ctrl+F5