[user=1]slychiu[/user] wrote: Quote:Sorry ignore my last post
You have to set a threshold with hystetesis
Eg
If counter 59 < 50 then lights on
If counter 59 > 80 then lights off
Sorry, I\'m still not getting it, here is what I have done
Set counter 59 to trigger response \"corridoor lights\"
Respoinse corridoor lights is as follows
If counter 59<60, then do response corridor light on
else,
if counter 59>80, then do response corridoor light off
I update comfort with this, and then as first test I go and manually turn on the light at the wall. The result is disco city, the light goes into a continious toggle, and I have to disconnect my velbus before I can talk to comfort again and remove it.
So, I am completely failing to understand how to prevent the toggle loop ?