You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented your solution and the MQTT goes to the "will" message after some seconds, I believe this is due to the usage of deepsleep.
You connect with a will message (closed), send an open message and then go to deepsleep forever. Deepsleep disables Wifi, so after some seconds the MQTT will use the will (closed) message.
How are you managing this ? is your automation based on the first open message and not of the actual current state of the window/door ?
The text was updated successfully, but these errors were encountered:
good question. [he abandoned this like all youtubers do with items..] I'm assuming he resolves this in node red and just ignores the notification. guess we will never know.
He hasn’t written this info but he describes in one of his videos. He is using just the open message, he is not tracking the actual status.
This can be useful for a window but not so useful for a door.
Hi, great code.
I implemented your solution and the MQTT goes to the "will" message after some seconds, I believe this is due to the usage of deepsleep.
You connect with a will message (closed), send an open message and then go to deepsleep forever. Deepsleep disables Wifi, so after some seconds the MQTT will use the will (closed) message.
How are you managing this ? is your automation based on the first open message and not of the actual current state of the window/door ?
The text was updated successfully, but these errors were encountered: