-
Notifications
You must be signed in to change notification settings - Fork 8
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
Adapter needs 15 Mins to detect MQTT outage #239
Comments
Hi Volker, If none of this works, please drop me a notice and a debug-Log. |
Hi Grippelbee, Log snippet here - it does not contain much information, to be honest.2023-12-11 13:57:39.713 - debug: dysonairpurifier.0 (37246) Updating device [K1Y-EU-PEA2526A] (polling API scheduled). |
Okay. Let's try to clarify and sort things out: a usual log should look like ths:
This is the usual behavior of the adapter. Sorry that I didn't come up with this earlier - I've been blind and stupid for some reason. As you may see: The adapter is pretty silent as long as it works as intended - and it needs some time (until the next poll happens) to detect that the fan has disconnected. If the interrupt is shorter - the adapter won't recognise it. Conclusion: As long as you don't see these MQTT messages in your log, you shouldn't have any connection issues. That brings me to the following question: |
Well, indeed, i do not see any MQTT messages in the log and what’s interesting: Although the power got lost, the data node still says that the fan is online. Seems that the adapter does not poll the right status from the physical fan. But when i then (re)plug in the fan and set the data node for main power to on, the fan doesn’t turn on. I need to restart the adapter so that everything is cleared. |
I use version 2.5.9, i use default values, 30sec and disabled "Deaktivieren Sie die Wiederverbindungsprotokollierung". Now I found out that MQTT failure is only identified after 15 minutes. Connection is being reestablished successfully then. Although this is not the expected behavior, I can live with it. Kind Regards |
Hi Volker,
I'm happy that you have identified this issue/behaviour - since it's not intended to work that way and even you can live with it I'm going to try to find the root cause and fix it. Thank you so far. |
Checked this issue again with V3.1.1 - and the outage is detected immediately with next poll. |
Not sure. It still needs 15 min to detect the disconnection. And then it throws every sec the log messages "disconnected" and "reconnecting" so that I have stopped the adapter. In winter it's out of order. |
Hmm. Really strange. But for now I don't have any point to start searching from - since I can't reproduce that behavior. Maybe write another debug log with V3.1.1 and post the full log (filtered to dysonairpurifier) this time - when you have time and the mood to do so. |
Hello,
I'm using a Dyson Purifier Cool and the adapter works good.
When i unplug the fan and plug it in again, the adapter is not able to reconnect.
The debug log only says "Updating device [K1Y-EU-PEA2526A] (polling API scheduled)." but nothing else.
Did i miss anything?
Regards
Volker
The text was updated successfully, but these errors were encountered: