17.03.2017, 12:54
(17.03.2017, 12:40)josep Wrote: Hello, I need to change setpoint value via direct button. my idea is up or down 1ÂșC every time that I push the button, it is possible directly from LM using aditional classes or scripts? THX.
Josep.
Put this in a event for the button. Change + with - for decreasing set point. Fill in top two with corresponding group address.
Code:
value = grp.getvalue('x/x/x') -- Current value
send = 'x/x/x' -- Setpoint input
newvalue = value + 1
grp.write(send, newvalue)