Open Glujaz opened 3 years ago
I have the same issue, would love to see a fix to it! :)
Hi,
could you provide some logs when it happens ? I don't have such a problem here, are you using an MQTT or an xmpp deebot ?
I have to disable the automatic weekly reboot of home bridge, and I'll go back to you. My vacuum cleaner is a deebot 905, so not working through anything like MQTT or XMP (I think ?)
@Glujaz
My vacuum cleaner is a deebot 905
You mean Deebot OZMO 905, right?
Yes, i Do !
@Glujaz
so not working through anything like MQTT or XMP (I think ?)
The Deebot OZMO 905 uses the MQTT protocol.
Once a week, I have to restart Homebridge because an authentication error with the robot. I assume it is more related to the online service willing to disconnect and reconnect once a week.
Please check if it's an RequestOAuthError: Authentication error
.
This error should not cause any problems, but please provide some logs anyway.
Ok, I finally got the error message, and it's exactly what you said :
[9/12/2021, 3:24:06 PM] [DeebotEcovacs] INFO - setDeebotEcovacsOrderCharacteristic for Hoover J. Edgar-CustomArea,start,37,24,2111,-1595,1 [9/12/2021, 3:24:06 PM] [DeebotEcovacs] INFO - Error from deebot Hoover J. Edgar(ready : true) : RequestOAuthError: Authentication error [9/12/2021, 3:24:06 PM] [DeebotEcovacs] INFO - updating sensor for Hoover J. Edgar : true
So, for now, I'm using a cronjob to reboot home bridge once a week, and it's doing it's job. But didn't used this solution initially, and if there is a better one by solving this "issue", I'm all for it.
@mrbungle64 Do I need to do something on such error event ? Maybe trying to reconnect ? Right now, I am only using this event to check Timeouts, and had some error event on the motion detector, but I am not issuing anything to the lib itself.
@nicoduj
@mrbungle64 Do I need to do something on such error event ? Maybe trying to reconnect ? Right now, I am only using this event to check Timeouts, and had some error event on the motion detector, but I am not issuing anything to the lib itself.
Yes, it is recommended to reconnect when receiving a "disconnect" event from the library.
Hello, I have same kind of trouble. Did you find any solution for this? Thanks in advance
Hi, could you check if it still occurs ? Can't reproduce on my side, and checking the code I disconnect / reconnect on disconnect event.
Hello @nicoduj Hope you are doing well. I confirm that it still happened with previous version (not the one from today but the one just before). I will update today and let you know in some time if it still happen or not. It generally happen once a week. Thanks and have a nice day
Hello @nicoduj I confirm that the problem still exist with last version. Unfortunately no idea about how I could try to debug anything. If I restart, then it works again
When I get the problem I get the following messages usually
But today I had this one too (after trying several time)
Hi there again.
it's been a while since I came back here. The last changes you made with zones and so on works still very well !
I encounter another problem though, it's doing so since for a month now I think. Once a week, I have to restart Homebridge because an authentication error with the robot. I assume it is more related to the online service willing to disconnect and reconnect once a week.
any way to make the plugin do it automatically instead ?
thanks in advance ! :)