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
Roborock Q Revo - Entities periodically become unavailable #105898
Comments
Hey there @humbertogontijo, @Lash-L, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) roborock documentation |
same here, reloading the integration does the trick.
This should be the image data encoded, I snipped off the main part with some more entries in the logs, that may be related:
|
Mine Roborock S5 Max has the same problem, I.e. becomes unavailable and reloading it brings it back. I didn’t check the logs for the error messages yet. |
Same here with Q8 Max |
Hello - I am working on a solution but I need more information. Is anyone technical enough to try to update their python-roborock library to 0.40.0 and then getting an instance of the error again and sending me their diagnostic information? |
I'm too much of a newbie for that, sorry for not being able to help. I "solved" it by creating an automation that reloads the Roborock integration when it becomes "unavailable". |
I'm sorry, I'm as well a newbie and I can't help you with that, unless you can guide me throught the process.
@SaaX-IRL could you share that code? It may be helpful. Thanks in advance. |
All in all should just take you 5-10 minutes. No pressure if you don't want to. |
@Pippo1989 sure, see below. I initially used the state change as the trigger but HA missed it once only yesterday - so since then I'm checking every 5 mins and reload if unavailable. alias: Roborock Reload
|
@Lash-L I could do that - but I never got an error that said "cannot decode %s for %s". For me the integration just becomes unavailable, multiple times per day. Maybe I never got that error because I never looked at the logs? |
You likely have a different issue then. Can you share any logs from when it happens? |
Sure, if you'd hold my hand telling where to look - I'm tech savvy but such an HA noob, sorry. |
Settings -> system -> logs should get you there |
Well, that was easy - ty ;) I had a look at the log but am a bi lost - so I've attached it. Shout if there's anything else I can do. |
Uh - do you have internet on your Home assistant right now? You have 3 integrations that all fail to connect seemingly. |
I usually do, FTTH - but have noticed very short drops (some secs) in the last couple of days, maybe the provider messin'. According to my "roborock reload" automation it was last triggered 18h ago, which makes it this (I believe): 2024-03-03 22:16:35.949 ERROR (MainThread) [homeassistant.components.roborock.coordinator] Error fetching roborock data: id=23793 Timeout after 4 seconds Would that short timeout possibly render the entity unavailable? |
I added the roborock replacement as described. Waiting for the integration to fail now. |
if you go on your HA server, go to settings -> system -> logs, you can hit load full logs or download logs and that should show you everything. You have to refresh the page whenever you want an update though. |
@andi242 has the error popped up yet? How frequently has the error occurred for you in the past? |
sorry, not popped up, yet. /edit: or this might be just as I hit the 'go' button. Will try this tomorrow, it's to late here to start the vacuum. (I do have loads of zha errors, though :D ) |
so the unavaiability occured twice this night and is still ongoing. home-assistant_2024-03-05T05-13-33.638Z.log /edit What I tried to get more information:
This is the log with a little bit of redacting on what I believe was personal information. /edit 2
Started debug log after device became unavailable.
cleaned up debug logfile after restarting the integration: Not sure why, but apparently the roborock cloud api is reporting a different IP.
as the local IP query indicates, the IP is /update |
I followed this short guide. Below you can see the complete logs of almost 1 hour since the restart. Consider that, while the logs were being recorded, roborock was running. |
I don't see any issues in your logs pertaining to Roborock. Did your entities ever stop being available during this time? |
Hi, I'm sorry for the late response. After downloading the package, the situation seems stable. The only "problem" is that, strangely, all entities briefly become "unavailable" at around 3.15am. |
The problem
Hi,
I first installed the integration after purchasing a Roborok Q Revo.
The problem is that entities associated with the integration periodically become unavailable.
As an example, here you will find a photo attached in which you can see the behavior of one of the entities over 1 hour.
Here you will find also the integration logs, for the same time slot, since the restart.
home-assistant_roborock_2023-12-17T10-10-29.988Z.log
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
home-assistant_roborock_2023-12-17T10-10-29.988Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: