-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: MQTT disconnects before sleep, grace period unreliable #85
Comments
So after testing it yesterday, I set the option you highlited to ~16-17 minutes and the sleep time of my pc to 15 minutes. What I found today is that the message occurs anyway and I had the feeling that it was before going to sleep, but it happens the instant that the pc resumes. Any ideas? |
Interesting, thanks for checking that out! Hadn't occured to me that the disconnect can happen before going to sleep, that can mess with the counter. I'll improve it and let you know |
Awesome, let me know if you need logs or anything else. |
I've merged all tickets related to this issue into a central pinned one: [#204] Closing this one to keep it in one place. |
The program works perfectly, but whenever I resume my computer from sleep, Hass agent reports 'MQTT failed to connect' which is kind of annoying to dismiss the notification event though it reconnects just fine (after resuming).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Hass agent should detect when the computer goes to sleep so as to not notify that it can't connect to MQTT.
The text was updated successfully, but these errors were encountered: