(06.03.2020, 16:26)Daniel. Wrote: First correct your comments as they part of the code now.
Code:value_1 = grp.getvalue ('7/0/0') -- summer / winter
value_2 = grp.getvalue ('3/3/2') -- set speed
value_3 = grp.getvalue ('6/0/2') -- maunal command
temp = grp.getvalue ('2/2/7')
setpoint = grp.getvalue ('2/2/17')
delta = grp.getvalue ('3/1/202')
if (delta <= (setpoint-temp)) and (value_1 == true) 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
daniel, in the translation of the texts the second indent is missing, in fact in the script the text is correctly preceded by the double - -
(06.03.2020, 15:28)admin Wrote: I don't fully understand your question. What exactly is not working for you? You can set poll interval for an object to send KNX read request periodically if data is not sent by a KNX device automatically.the script does not execute the command stable command on the outgoing objects of the condition, sometimes it works other not!
sorry, having put the TAG on each object, just one of these changes to relaunch the script ?? if I put the TAG only to the three objects "delta" "setpoint" and "temp" the script is activated only when these 3 objects change ??