homebridge-xiaomi-roborock-vacuum / homebridge-xiaomi-roborock-vacuum

A Xiaomi Roborock vaccum plugin (1st, 2nd and 3rd generation) for homebridge.
MIT License
379 stars 78 forks source link

Errors don't clear up and keep showing up #162

Closed glowfishDE closed 4 years ago

glowfishDE commented 4 years ago

Hi,

iยดm getting the following error now and then until i restart homebridge to get rid of the error:

[4/29/2020, 2:44:48 PM] [Roborock S50 UNTEN] WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - charger-offline, Charger is offline

Dock has power and the connectors are clean. The robot is charging according to the MII Home App.

No idea why it is spawning that error.

barneyonline commented 4 years ago

I also get a reoccurring error for my S5:

[Robot Vaccum] WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - 8, Make sure there are no obstacles around the vacuum.

AlexG-78 commented 4 years ago

I also get on a regular basis also warnings: My vacuum is docked and charged and nobody touched it

WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - 3, Try moving the vacuum to a different place. Restarting homebridge resolves the issue.

glowfishDE commented 4 years ago

Maybe this additional info is useful and others can confirm: I only get these errors after i let the robots clean something (full cleaning or room selective).

When i restart homebridge and the robots just sit in their dock the errors are never occuring in my log.

AlexG-78 commented 4 years ago

It only happens, when room cleaning has finished and the vacuum is back in dock

afharo commented 4 years ago

It seems like the robot keeps emitting past errors. We may need to investigate if there's a way to flush them from the memory once logged. Thanks for reporting it and all the additional details!

asbesto01 commented 4 years ago

same for me, xiaomi mi robot 1s, check screen! even if Homebridge shows this error, the vacuum works perfectly.

Schermata-2020-05-01-alle-20-10-54

afharo commented 4 years ago

It should be fixed in homebridge-xiaomi-roborock-vacuum@next. Can you test and confirm, please?

barneyonline commented 4 years ago

@afharo Works for me ๐Ÿ˜„ Errors no longer continue appearing

glowfishDE commented 4 years ago

affirmative - so far i couldnt see any errors too. Closing the bug - thanks alot @afharo :)

glowfishDE commented 4 years ago

Correction: Might be a different problem, but i am now getting old errors spawned again, even the problem (dirty contacts / no charging) was solved hours ago:

[5/4/2020, 3:45:08 PM] [Roborock S50 UNTEN] WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - 13, Couldnt charge properly. Make sure the charging surfaces are clean. [5/4/2020, 3:45:38 PM] [Roborock S50 UNTEN] WAR changedError | roborock.vacuum.s5 | Robot has an ERROR - 13, Couldnt charge properly. Make sure the charging surfaces are clean.

afharo commented 4 years ago

Hmmm @glowfishDE, I'm not sure what it can be...

Are you sure you are running the @next version? Can you run npm -g list homebridge-xiaomi-roborock-vacuum to check the installed version? If it's 0.8.0-... then you are running the version containing the changes.

glowfishDE commented 4 years ago

Hi,

the above command gives me:

/homebridge # npm -g list homebridge-xiaomi-roborock-vacuum /usr/local/lib `-- (empty)

afharo commented 4 years ago

hmm... maybe without the -g? or by adding sudo?

glowfishDE commented 4 years ago

Hah!

npm list homebridge-xiaomi-roborock-vacuum /homebridge `-- homebridge-xiaomi-roborock-vacuum@0.7.7 โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ New minor version of npm available! 6.13.4 -> 6.14.5 โ”‚ โ”‚ Changelog: https://github.com/npm/cli/releases/tag/v6.14.5 โ”‚ โ”‚ Run npm install -g npm to update! โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Ok, obviously an old version. Iยดll update it and report again.

Strange because normally my homebridge-config-ui-x tells me there is an update available and i update quiet frequently.

afharo commented 4 years ago

Strange because normally my homebridge-config-ui-x tells me there is an update available and i update quiet frequently.

Yeah... the @next release is not @latest. That's why the UI doesn't tell you there's a new version ;)

It's kind of a beta version :)

If you want to install it, you'll need to enforce it by running npm install homebridge-xiaomi-roborock-vacuum@next :)

glowfishDE commented 4 years ago

npm list homebridge-xiaomi-roborock-vacuum /homebridge `-- homebridge-xiaomi-roborock-vacuum@0.8.0-2

Ok - lets see what happens next.. ill re-open if its occuring again. Thanks Alejandro

Phoenix-DH commented 4 years ago

Hey, only as info: I got still this error in version v0.11.2

afharo commented 4 years ago

๐Ÿ˜ญ Thanks for confirming... reopening then... ๐Ÿคฆ

Phoenix-DH commented 4 years ago

Thanks!

afharo commented 4 years ago

It should finally be fixed in homebridge-xiaomi-roborock-vacuum@0.11.4.

Phoenix-DH commented 4 years ago

Will try it.... and let youi know if it is not working ....

afharo commented 4 years ago

Thank you! And please, feel free to reopen the issue if you find it's not working