26.12.2019, 14:00
THANK YOU !!
happy birthday!
.. I applied it also using an and filter, here is what I wrote in the script:
value_2 = grp.getvalue ('3/3/2') - set speed
value_1 = grp.getvalue ('7/0/0') - summer / winter
value_3 = grp.getvalue ('6/0/2') - master command
temp = grp.getvalue ('2/2/7')
setpoint = grp.getvalue ('2/2/17')
delta = grp.getvalue ('3/1/202')
if delta <= (temp - setpoint) and (value_1 == false) and (value_3 == false) then
grp.write ('2/0/92', true)
grp.write ('6/0/92', value_2)
else
grp.write ('2/0/92', false)
grp.write ('6/0/92', 0) - byte to 0
end
happy birthday!
.. I applied it also using an and filter, here is what I wrote in the script:
value_2 = grp.getvalue ('3/3/2') - set speed
value_1 = grp.getvalue ('7/0/0') - summer / winter
value_3 = grp.getvalue ('6/0/2') - master command
temp = grp.getvalue ('2/2/7')
setpoint = grp.getvalue ('2/2/17')
delta = grp.getvalue ('3/1/202')
if delta <= (temp - setpoint) and (value_1 == false) and (value_3 == false) then
grp.write ('2/0/92', true)
grp.write ('6/0/92', value_2)
else
grp.write ('2/0/92', false)
grp.write ('6/0/92', 0) - byte to 0
end