Open xdanik opened 3 years ago
Thanks for the report, I’m currently re-writing the library for my new s9 and Braava jet m6.
I have it working, and will post the new version after a few more days testing.
Update: the new version is a little delayed, as my new S9 has the “error 31” problem, and I’m waiting for a replacement.
Maps are still a little buggy, but I’ll push it as soon as I feel it’s at beta stage.
Thanks for the update and good luck with the replacement.
Hello everybody, We just bought a our first Roomba and I am trying to integrate it into our OpenHab setup.
I noticed, that the app stopped responding after moving the charging base from one room to another. After further testing and analyzing the communication from the Roomba, I seems like Roomba reports "chargingerror" state inside the
cleanMissionStatus_phase
when the base station is unplugged from power. This state is unhandled and thus causing unhandled exception that kills the mqtt thread. App does not recover from this state and requires a restart.The hacky fix would be to add a early return before the array key access if the new state is unknown at https://github.com/NickWaterton/Roomba980-Python/blob/master/roomba/roomba.py#L829, but there must be a better solution.
I am running:
The robot reported this:
$aws/things/E59A****************************/shadow/update
:Could please someone take a look at this?