Skip to content

Receiving 3 MQTT messages for each button press. #97

Answered by rebel7580
michelcmorel asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. The ON comes when you press the button, the OFF occurs when you release it (remove your finger!) So if you press and hold a button you will see only the ON until you eventually release the button at which point you will see the OFF.

I'm not sure why we're getting the 0 along with the OFF...

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@rebel7580
Comment options

@aderusha
Comment options

@aderusha
Comment options

Answer selected by michelcmorel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants