20.04.2020, 06:48
thanks Edgard,
the scripts are 2 that answer on the same address, both are started by the comparison and generate two obviously contrary results, one rightly inhibits the other, if it were possible to activate the Winter in Winter script and the Summer in Summer script would be perfect.
ESTATE
value_1 = grp.getvalue('7/0/0')
value_3 = grp.getvalue('6/0/1')
temp = grp.getvalue('2/2/1')
setpoint = grp.getvalue('2/2/11')
delta = grp.getvalue('3/1/201')
if (delta<=(temp-setpoint)) and (value_1==false) and (value_3==false) then
grp.write('3/0/206', true)
else
grp.write('3/0/206', false)
end
INVERNO
value_1 = grp.getvalue('7/0/0')
value_3 = grp.getvalue('6/0/1')
temp = grp.getvalue('2/2/1')
setpoint = grp.getvalue('2/2/11')
delta = grp.getvalue('3/1/201')
if (delta<=(setpoint-temp)) and (value_1==true) and (value_3==false) then
grp.write('3/0/206', true)
else
grp.write('3/0/206', false)
end
the scripts are 2 that answer on the same address, both are started by the comparison and generate two obviously contrary results, one rightly inhibits the other, if it were possible to activate the Winter in Winter script and the Summer in Summer script would be perfect.
ESTATE
value_1 = grp.getvalue('7/0/0')
value_3 = grp.getvalue('6/0/1')
temp = grp.getvalue('2/2/1')
setpoint = grp.getvalue('2/2/11')
delta = grp.getvalue('3/1/201')
if (delta<=(temp-setpoint)) and (value_1==false) and (value_3==false) then
grp.write('3/0/206', true)
else
grp.write('3/0/206', false)
end
INVERNO
value_1 = grp.getvalue('7/0/0')
value_3 = grp.getvalue('6/0/1')
temp = grp.getvalue('2/2/1')
setpoint = grp.getvalue('2/2/11')
delta = grp.getvalue('3/1/201')
if (delta<=(setpoint-temp)) and (value_1==true) and (value_3==false) then
grp.write('3/0/206', true)
else
grp.write('3/0/206', false)
end