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

Timeout when doing app_segment_clean #98

Open
traxys opened this issue Jul 30, 2023 · 3 comments
Open

Timeout when doing app_segment_clean #98

traxys opened this issue Jul 30, 2023 · 3 comments

Comments

@traxys
Copy link

traxys commented Jul 30, 2023

I tried to use the roborock intergration with home-assistant, but I find that I can't do the app_segment_clean. I can (through HA at least) start, stop, make the robot go back home .... but when I try to send a app_segment_clean command it fails

The logs say something along:

Jul 30 13:43:27 <host> hass[11089]:     raise RoborockTimeout(f"Timeout after {QUEUE_TIMEOUT} seconds waiting for response") from None
Jul 30 13:43:27 <host> hass[11089]: roborock.exceptions.RoborockTimeout: Timeout after 4 seconds waiting for response

(my robot is a Roborock S6 Pure)

@humbertogontijo
Copy link
Owner

What service data are you sending? Could be related with home-assistant/core#97441

@traxys
Copy link
Author

traxys commented Jul 31, 2023

I tried doing (in the services parameters input field) the following:

- segments:
  - 17
- repeat: 1

(Timeout error)

segments:
  - 17

(Params is not an array)

- segments:
    - 17
  repeat: 1

(Timeout)

- segments:
    - 17
- repeat: 1

(Timeout)

@Chrischi-
Copy link

@traxys
Did you reset the Wi-Fi or create a new password for your roborock login at any time?

python-robrock has no logout and I had a similar problem after a Wi-Fi reset. python-roborock indicated I was still logged in because the .roborock config file was still present. And so I got a timeout.

Try to delete the roborock config file and log in again. Maybe this will solve your problem.

@humbertogontijo
Would it be possible to add a -logout option?

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

3 participants