openhab-addons: [ecovacs] Robot not updated after some time
Expected Behavior
As long as the things for the API account and the robot (DEEBOT OZMO 900 Series) are online, sending a command should work.
Current Behavior
After some days the robot cannot be controlled via openHAB anymore and passive data isn’t updated anymore (e.g. current cleaning time). Both the account and the bot are still online in openHAB and in the official Ecovacs app.
In the log I can see the following lines:
10:31:08.835 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel total-stats#total-cleaned-area although the handler was already disposed.
10:31:08.837 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel total-stats#total-cleaning-time although the handler was already disposed.
10:31:08.839 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel total-stats#total-clean-runs although the handler was already disposed.
10:31:08.941 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel settings#continuous-cleaning although the handler was already disposed.
10:31:09.045 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel last-clean#last-clean-start although the handler was already disposed.
10:31:09.046 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel last-clean#last-clean-duration although the handler was already disposed.
10:31:09.050 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel last-clean#last-clean-area although the handler was already disposed.
10:31:10.492 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel settings#suction-power although the handler was already disposed.
10:31:10.578 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel settings#water-amount although the handler was already disposed.
10:31:10.683 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel consumables#side-brush-lifetime although the handler was already disposed.
10:31:10.780 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel consumables#dust-filter-lifetime although the handler was already disposed.
10:31:10.887 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler EcovacsVacuumHandler of thing ecovacs:vacuum:2b4b2f4b73:E0001206219602620054 tried updating channel consumables#main-brush-lifetime although the handler was already disposed.
Possible Solution
Steps to Reproduce (for Bugs)
- Wait for a few days
Context
Your Environment
- Version used: (e.g., openHAB and add-on versions) Docker container
openhab/openhab:4.0.4 - Operating System and version (desktop or mobile, Windows 10, Raspbian Buster, …): Raspbian Bullseye
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (24 by maintainers)
Commits related to this issue
- [ecovacs] Fix expired token handling for XML-over-MQTT models At least the Deebot 900 sends an unusual error response in case of expired token. Fixes #15961 Signed-off-by: Danny Baumann <dannybauma... — committed to maniac103/openhab2-addons by maniac103 2 years ago
- [ecovacs] Fix expired token handling for XML-over-MQTT models At least the Deebot 900 sends an unusual error response in case of expired token. Fixes #15961 Signed-off-by: Danny Baumann <dannybauma... — committed to maniac103/openhab2-addons by maniac103 2 years ago
- [ecovacs] Fix expired token handling for XML-over-MQTT models (#17333) At least the Deebot 900 sends an unusual error response in case of expired token. Fixes #15961 Signed-off-by: Danny Bauma... — committed to jlaur/openhab-addons by maniac103 2 years ago
- [ecovacs] Fix expired token handling for XML-over-MQTT models (#17333) At least the Deebot 900 sends an unusual error response in case of expired token. Fixes #15961 Signed-off-by: Danny Bauma... — committed to KaaNee/openhab-addons by maniac103 2 years ago
- [ecovacs] Fix expired token handling for XML-over-MQTT models (#17333) At least the Deebot 900 sends an unusual error response in case of expired token. Fixes #15961 Signed-off-by: Danny Bauma... — committed to matchews/openhab-addons by maniac103 2 years ago
- [ecovacs] Fix expired token handling for XML-over-MQTT models (#17333) At least the Deebot 900 sends an unusual error response in case of expired token. Fixes #15961 Signed-off-by: Danny Baumann <d... — committed to cipianpascu/openhab-addons by maniac103 2 years ago
The fix seems to work. The robot didn’t go offline for one week 👍
=> always be sure you have a backup.
Robot went offline with the state:
I’m on 4.2.1 and only have official addons now. I had a rule for several months that disabled the ecovacs thing and enabled it a few seconds later. That was a good workaround, but now I disabled it to see if the issue appears again.