pschmitt / roombapy

Python program and library to control Wi-Fi enabled iRobot Roombas
MIT License
32 stars 23 forks source link

Unknown disconnection error: ID=16 #130

Open devachnid opened 2 years ago

devachnid commented 2 years ago

2022-01-17 09:29:14 WARNING (Thread-5) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new 2022-01-17 09:29:14 WARNING (Thread-5) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.20.46, code UNKNOWN_ERROR

HA: core-2021.12.9

Please let me know if more info is required

freekode commented 2 years ago

Hi, Does the integration work at all?

freekode commented 2 years ago

Also, what roomba do you have?

devachnid commented 2 years ago

Thanks

Roomba S9+ (and Braava jet m6).

Integration seems to work still as far as I can tell. Error only started today, has occurred 4 times in last 12 hours.

vincentweeda commented 2 years ago

Hi! I got the same error with my roomba (i7) the intergration itself is working as expected.

Version: Home Assistant 2021.12.10

Host OS Home Assistant OS 7.2

Error message:

2022-02-01 10:17:27 WARNING (Thread-3) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new 2022-02-01 10:17:27 WARNING (Thread-3) [roombapy.roomba] Unexpectedly disconnected from Roomba , code UNKNOWN_ERROR 2022-02-01 10:17:27 WARNING (Thread-3) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new 2022-02-01 10:17:27 WARNING (Thread-3) [roombapy.roomba] Unexpectedly disconnected from Roomba , code UNKNOWN_ERROR

stefanuytterhoeven commented 2 years ago

2022-03-14 11:10:16 WARNING (Thread-3) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new 2022-03-14 11:10:16 WARNING (Thread-3) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.2.8, code UNKNOWN_ERROR

Roomba s9+ ha 2022.3.4

dpersuhn commented 2 years ago

Another S9+ / M6 user, same error message: Unknown disconnection error: ID=16

ChrisParsons commented 2 years ago

I get the same error message:

2022-05-02 03:01:30 WARNING (Thread-7) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new 2022-05-02 03:01:30 WARNING (Thread-7) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.0.108, code UNKNOWN_ERROR

Roomba i4 HA core-2022.4.6

richardcalgary commented 2 years ago

Logger: roombapy.remote_client Source: /usr/local/lib/python3.9/site-packages/roombapy/remote_client.py:131 First occurred: April 25, 2022, 8:57:20 AM (20 occurrences) Last logged: May 2, 2022, 12:45:48 PM

Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new home assistant:

System Health

version core-2022.4.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.9
os_name Linux
os_version 5.10.103-v7l
arch armv7l
timezone America/Phoenix
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4997 Installed Version | 1.24.5 Stage | running Available Repositories | 1026 Downloaded Repositories | 3
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 7.6 -- | -- update_channel | stable supervisor_version | supervisor-2022.04.0 docker_version | 20.10.9 disk_total | 57.8 GB disk_used | 9.0 GB healthy | true supported | true board | rpi4 supervisor_api | ok version_api | ok installed_addons | Terminal & SSH (9.4.0), ZeroTier One (0.13.3), File editor (5.3.3), Z-Wave JS (0.1.58), Glances (0.15.0), Portainer (2.0.0), AirCast (3.3.0), Log Viewer (0.13.0), SSH & Web Terminal (10.1.3), SQLite Web (3.3.0) roomba: s955020 by iRobot Connected via [SunlakesR1](xxxx..xxxx) Firmware: soho+22.7.2-2022-03-29-a17befa402d+Firmware-Build+1084 with cleanbase 4.6.6 updated april 18, 2022 here is the sequence for a couple of events if that helps 2022-04-25 08:57:20 WARNING (Thread-5) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new 2022-04-25 08:57:20 WARNING (Thread-5) [roombapy.roomba] Unexpectedly disconnected from Roomba 10.0.0.4, code UNKNOWN_ERROR 2022-04-25 08:57:20 WARNING (Thread-5) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new 2022-04-25 08:57:20 WARNING (Thread-5) [roombapy.roomba] Unexpectedly disconnected from Roomba 10.0.0.4, code UNKNOWN_ERROR 2022-04-25 14:05:57 WARNING (Thread-5) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new 2022-04-25 14:05:57 WARNING (Thread-5) [roombapy.roomba] Unexpectedly disconnected from Roomba 10.0.0.4, code UNKNOWN_ERROR 2022-04-25 14:05:57 WARNING (Thread-5) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new 2022-04-25 14:05:57 WARNING (Thread-5) [roombapy.roomba] Unexpectedly disconnected from Roomba 10.0.0.4, code UNKNOWN_ERROR
mikewren commented 2 years ago

Logger: roombapy.remote_client Source: /usr/local/lib/python3.9/site-packages/roombapy/remote_client.py:131 First occurred: 12:44:21 PM (4 occurrences) Last logged: 1:02:56 PM

Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new

Roomba i7

HA Blue

Home Assistant Core 2022.5.1

Home Assistant Supervisor 2022.05.0

Home Assistant OS 7.6

Kernel version 5.10.108

Agent version 1.2.1

stefanuytterhoeven commented 2 years ago

Still having that error....

brettonw commented 2 years ago

Logger: roombapy.remote_client Source: /usr/local/lib/python3.10/site-packages/roombapy/remote_client.py:131 First occurred: 9:46:57 AM (2 occurrences) Last logged: 9:46:57 AM

Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new

s915020 by iRobot Firmware: soho+22.14.1+04-21-2022-e23ba857926+Firmware-Build+1194

Home Assistant 2022.7.0 (via Container)

Roomba appears to otherwise be connected and functional.

richmacdonald5577 commented 2 years ago

Log Details (WARNING) Logger: roombapy.roomba Source: /usr/local/lib/python3.10/site-packages/roombapy/roomba.py:166 First occurred: 8:49:46 AM (5 occurrences) Last logged: 10:57:37 AM

Unexpectedly disconnected from Roomba [S9+], code UNKNOWN_ERROR Unexpectedly disconnected from Roomba [i3], code The connection was lost Unexpectedly disconnected from Roomba [Braava M6], code UNKNOWN_ERROR

Just adding this in, in case it helps.

OldShaterhan commented 2 years ago

Roomba i7+ here, same issue for me.

seeharrison commented 2 years ago

Logger: roombapy.remote_client Source: /usr/local/lib/python3.10/site-packages/roombapy/remote_client.py:131 First occurred: 1:02:33 PM (2 occurrences) Last logged: 1:02:33 PM

Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new

Roomba j7

Home Assistant 2022.8.6 Supervisor 2022.08.3 Operating System 8.5 Frontend 20220802.0 - latest

nukefrenzy commented 2 years ago

Logger: roombapy.remote_client Source: /usr/local/lib/python3.10/site-packages/roombapy/remote_client.py:131 First occurred: 8:28:27 AM (2 occurrences) Last logged: 8:28:27 AM

Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new

Roomba 960

Home Assistant 2022.10.4 Supervisor 2022.10.0 Operating System 9.2 Frontend 20221010.0 - latest

cereal2nd commented 2 years ago

Logger: roombapy.remote_client Source: /usr/local/lib/python3.10/site-packages/roombapy/remote_client.py:131 First occurred: 03:15:08 (2 occurrences) Last logged: 03:15:08 Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new

Roomba 960, i'm also seeing the same errors

eelcohn commented 1 year ago

Got the same error:

2023-01-09 23:01:06.699 WARNING (Thread-4 (_thread_main)) [roombapy.remote_client] Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new
2023-01-09 23:01:06.746 WARNING (Thread-4 (_thread_main)) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.x.y, code UNKNOWN_ERROR

I'm using Home Assistant 2023.1.0 and iRobot Roomba 896. Controlling the Roomba from Home Assistant works fine.

nukefrenzy commented 1 year ago

Same error for 960, different line this time: Logger: roombapy.remote_client Source: /usr/local/lib/python3.10/site-packages/roombapy/remote_client.py:132 First occurred: March 31, 2023 at 12:24:58 PM (10 occurrences) Last logged: April 1, 2023 at 3:33:29 AM

Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new

simonyel commented 1 year ago

Has anyone on this thread updated to 2023.5.2? My Roomba integration has quit working altogether.

nukefrenzy commented 1 year ago

Has anyone on this thread updated to 2023.5.2? My Roomba integration has quit working altogether.

Yes, mine is working at the moment: image

simonyel commented 1 year ago

Thanks for verifying! What model is the device? The firmware on my 7+ looks very different from yours. Do you have and firmware update available on your bot?

Has anyone on this thread updated to 2023.5.2? My Roomba integration has quit working altogether.

Yes, mine is working at the moment: [image]https://user-images.githubusercontent.com/36387475/237234012-ab7373c7-4789-476b-b63d-2f53d36fd600.png

— Reply to this email directly, view it on GitHubhttps://github.com/pschmitt/roombapy/issues/130#issuecomment-1540967898, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHKF4N7KEFXBFILB4IZ77FLXFLADTANCNFSM5MEPGW5A. You are receiving this because you commented.Message ID: @.***>

nukefrenzy commented 1 year ago

It's a 960 and it's up to date. It's an older model and doesn't get many updates anymore.

simonyel commented 1 year ago

Makes sense. I looked it up, and it seems the lettered series have the firmware numbers in 23.x, unlike the numbered series are 2.z or 3.x. I'd really like to get my Roomba integration working again :/

rrooggiieerr commented 1 year ago

Has anyone on this thread updated to 2023.5.2? My Roomba integration has quit working altogether.

My Rooma also stopped responding to HA. It always stays in the docked position in HA, even if I put it to clean manually

rrooggiieerr commented 1 year ago

Hi! I just updated HA to 2023.5.3 and still not working.

"HA 2023.5 images use alpine 3.17 which uses openssl3 which flips this flag off by default so we need to flip it back to work with older roombas" see https://github.com/pschmitt/roombapy/pull/190

A new roombapy has been released a couple of days ago, but unfortunately the HA roomba integration has not been updated to use this new release.

I tried to override the HA roomba integration to use this new release of roombapy, but no luck there yet

rrooggiieerr commented 1 year ago

Ok, I've got my Roomba working again, and it was not the SSL fix, but instead the Continuous mode got disabled and re-enabling it again made my Roomba work. So check if you need Continuous mode for your Roomba and if it's enabled

Screenshot 2023-05-15 at 00 28 10
DjLysy commented 1 year ago

Hi all, this is still present onmy HA 2023.7.3 configured for s9+.

Logger: roombapy.remote_client Source: /usr/local/lib/python3.11/site-packages/roombapy/remote_client.py:135 First occurred: 29.07.2023 16:05:49 (131 occurrences) Last logged: 13:24:14

Unknown disconnection error: ID=16.Kindly use https://github.com/pschmitt/roombapy/issues/new

Please note, that beside other users, I don't think that the integration doesn't work at all since I can still trigger the cleaning from HA and i got correct robot state displayed. Other thing works as well.

Orhideous commented 9 months ago

This error occurs due to a data race inside paho-mqtt when the client tries to reconnect.

Reworking the custom reconnect logic in roombapy should eliminate this problem.