Switching the switch off again?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
engberg
Normal user
Posts: 11
Joined: 21 Feb 2017, 16:42

Switching the switch off again?

#1 Post by engberg » 28 Feb 2017, 22:53

Hello

My switch works - done by tutorial..

Now, how do I make it change state, rather than turn on - every time I hit it?

Here is my setup in ESPEasy and the results in Domoticz

http://imgur.com/a/GXXLA

paxi
Normal user
Posts: 121
Joined: 02 Feb 2017, 00:48
Location: Germany

Re: Switching the switch off again?

#2 Post by paxi » 01 Mar 2017, 02:42

Looks like you're using a push button. So select this (in field "switch button type") and it will toggle the state each time you press it. ;)

engberg
Normal user
Posts: 11
Joined: 21 Feb 2017, 16:42

Re: Switching the switch off again?

#3 Post by engberg » 01 Mar 2017, 07:15

I chose "Push Button Active High" - and now it works like a charm.

Thank you for the swift reply!

paxi
Normal user
Posts: 121
Joined: 02 Feb 2017, 00:48
Location: Germany

Re: Switching the switch off again?

#4 Post by paxi » 01 Mar 2017, 09:46

Always a joy. :D

You can even fine-tune the behaviour: depending on the selection (active high/active low) the toggle happens on pushing or releasing the button.

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests