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

[Bug] Sometimes commands to miio device time out and need to be repeated #27

Closed
robiebab opened this issue Mar 21, 2018 · 3 comments
Closed

Comments

@robiebab
Copy link

Sometimes the vacuum cleaner won't accepts commands to the vacuum cleaner, after i resend the command it runs

schermafbeelding 2018-03-21 om 15 11 43

@jghaanstra
Copy link
Owner

I have noticed this myself but there is not much I can do, I dont want to hard code sending multiple commands. I think it might be related to the way the previous time out issues have been solved. The author of the miio library has quick fixed these previous time out issue by generating a unique request token for when the initial request has failed. A proper fix would be to generate a request token for each request, including the initial request.

@jghaanstra
Copy link
Owner

This is depending on the suggested later improvements here: aholstenson/miio#94 (comment)

@jghaanstra jghaanstra changed the title [Bug] Xiaomi Vacuum cleaner [Bug] Sometimes commands to miio device time out and need to be repeated May 31, 2018
@TheArcturian
Copy link

TheArcturian commented Feb 12, 2019

I have the same problem, but sometimes it does not help resending it.

Also when I test the flow in Homey, it usually works, but when the flow is running because it gets triggered normally in Homey, it does none of the Roborock "action cards". A very seldom time, it acctually performs these as well.

It would be great if you could actually fix this as I cannot use the app in flows like it is now. Thanks!

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

No branches or pull requests

3 participants