19.12.2019, 22:18
I explained myself wrongly, I have to start a command (value_3) when the room temperature (value_1) is 2.5 ° C (value_2) higher than the setpoint requested by the user (value_4).
Therefore :
(value_3 = 1) if (value_1> = value_4 + value_2) else (value_3 = 0)
Therefore :
(value_3 = 1) if (value_1> = value_4 + value_2) else (value_3 = 0)