core: Roborock: Constant network errors even if successfully set up
The problem
I’ve been noticing three errors I get for my vacuum even though the integration is set up fine and the entities etc. are working. Two of those errors spam my log constantly, each having like 90 occurrences within 5 minutes (see first and second error in the provided logs). The third one doesn’t show up as often.
I’ve tried deleting it and setting it up again but that didn’t help
What version of Home Assistant Core has the issue?
core-2023.12.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Roborock
Link to integration documentation on our website
https://www.home-assistant.io/integrations/roborock
Diagnostics information
config_entry-roborock-4d570d140252319ecdeef14e18a01b37.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
First error (is getting spammed):
Logger: roborock.cloud_api
Source: /usr/local/lib/python3.11/site-packages/roborock/api.py:332
First occurred: 1:47:23 PM (36 occurrences)
Last logged: 1:49:12 PM
[Roborock S5 Max] A network protocol error occurred when communicating with the broker.
Second error (is getting spammed):
Logger: roborock.cloud_api
Source: /usr/local/lib/python3.11/site-packages/roborock/cloud_api.py:63
First occurred: 1:47:23 PM (36 occurrences)
Last logged: 1:49:12 PM
[Roborock S5 Max] Failed to connect (Unknown error.)
Third error:
Logger: homeassistant.components.roborock
Source: components/roborock/__init__.py:100
Integration: Roborock (documentation, issues)
First occurred: 1:48:24 PM (1 occurrences)
Last logged: 1:48:24 PM
Not setting up Roborock S5 Max because we could not get the network information of the device. Please confirm it is online and the Roborock servers can communicate with it
Additional information
No response
About this issue
- Original URL
- State: open
- Created 6 months ago
- Reactions: 1
- Comments: 15 (3 by maintainers)
Not sure if this is the case. In another thread I found that Roborock is performing IP blocks if there are too many requests coming in from particular IP. Also in another one I found that while Cloud integration is on, it sends thousands of requests.
What I did (as my ISP can change my public IP each time I fully restart the session):
It works now for almost month, and also after HA restarts.