help to create a rule for a toggle switch with espeasy
Posted: Wednesday 14 June 2017 17:01
hi friends.
please help me.
i want use a toggle switch (up-down) with relay. i use usual rules or usual setting but there is some problem.
i need 2 feature for relay control with espeasy. but i can not do it with rule , please help.
first , i want key work with relay locally , until when wifi is disconnect(for each reason) so we can on/off light handy.
second , i dont want relay on / off just with "key = 0" or "key = 1" . i want relay work with change state of toggle key.for example when light on with key (key up) then light off with domoticz app, so i want i can light on again with key but just one change state of toggle key (key down) .now if we light on/off with key and light off/on with app, so if we want again turn on with key , we must change 2 state (one up and one down) and this is bad. so i need help for a rule that we run this 2 feature in one rule .
thank you
please help me.
i want use a toggle switch (up-down) with relay. i use usual rules or usual setting but there is some problem.
i need 2 feature for relay control with espeasy. but i can not do it with rule , please help.
first , i want key work with relay locally , until when wifi is disconnect(for each reason) so we can on/off light handy.
second , i dont want relay on / off just with "key = 0" or "key = 1" . i want relay work with change state of toggle key.for example when light on with key (key up) then light off with domoticz app, so i want i can light on again with key but just one change state of toggle key (key down) .now if we light on/off with key and light off/on with app, so if we want again turn on with key , we must change 2 state (one up and one down) and this is bad. so i need help for a rule that we run this 2 feature in one rule .
thank you