Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown disconnection error: ID=16 #130

Open
devachnid opened this issue Jan 17, 2022 · 28 comments
Open

Unknown disconnection error: ID=16 #130

devachnid opened this issue Jan 17, 2022 · 28 comments

Comments

@devachnid
Copy link

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
Copy link
Collaborator

Hi,
Does the integration work at all?

@freekode
Copy link
Collaborator

Also, what roomba do you have?

@devachnid
Copy link
Author

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
Copy link

vincentweeda commented Feb 2, 2022

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
Copy link

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
Copy link

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

@ChrisParsons
Copy link

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
Copy link

richardcalgary commented May 3, 2022

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
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
Copy link

mikewren commented May 6, 2022

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
Copy link

Still having that error....

@brettonw
Copy link

brettonw commented Jul 11, 2022

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
Copy link

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
Copy link

Roomba i7+ here, same issue for me.

@seeharrison
Copy link

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

@pschmitt pschmitt pinned this issue Sep 26, 2022
@nukefrenzy
Copy link

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
Copy link

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
Copy link

eelcohn commented Jan 11, 2023

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
Copy link

nukefrenzy commented Apr 4, 2023

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
Copy link

simonyel commented May 9, 2023

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

@nukefrenzy
Copy link

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
Copy link

simonyel commented May 10, 2023 via email

@nukefrenzy
Copy link

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

@simonyel
Copy link

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
Copy link

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
Copy link

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 #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
Copy link

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
Copy link

DjLysy commented Aug 2, 2023

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests