Closed geekofweek closed 3 years ago
roomba documentation roomba source (message by IssueLinks)
Hey there @pschmitt, @cyr-ius, @shenxn, mind taking a look at this issue as its been labeled with an integration (roomba
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
Seems to be resolved with the release of 2020.12.0 and the mentioned pull requests. Will monitor but closing for now.
The problem
With the Roomba I7+, and I would assume any Roomba with a Clean Base, there appears to be an issue with the bump to paho-mqtt 1.5.1 causing some KeyErrors. This causes the Roomba Integration to get stuck in a state when it goes to do the Bin Empty (evac) mode. I've also noticed that the i7 will become un-responsive after a number of hours. Example each morning the Roomba controls no longer function with no error messages or logs but a re-load of the integration resolves it. The latter issue is very hard to reproduce. It appears that paho-mqtt is a requirement for the iRobot Roomba Integration that took me a bit to track down. I have validated that downgrading the version of paho-mqtt resolves the issue.
Might be similar to https://github.com/home-assistant/core/issues/41423 but I couldn't figure out the exact details of what caused that issue and might be erroneous in relation to this issue.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
There was a previous pull request that was put in to add the Evac state (Bin Empty) into Home Assistant but was closed. https://github.com/home-assistant/core/pull/39913
This change alone won't solve the issue. It also requires and upstream change to roombapy
Adding an Evac state to const.py will solve the KeyError:
However I am not sure that will resolve the Roomba becoming un-responsive after a time, hence opening an issue instead of a pull request. I think ideally the Roomba Integration should be updated to work with paho-mqtt 1.5.1 but I'm not sure that I've caught all the necessary changes required. Currently this is a breaking bug that will stop any Roomba with a clean base from not getting stuck when it runs the empty bin procedure.