-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
Vacuum timezone returns 'int' object is not subscriptable #921
Comments
Could you please post the |
`mirobo --ip 192... --token 664... info`
returns
`Error: Unable to request miIO.info from the device`
Model: Xiaomi Mi Robot Vacuum Cleaner White
Year: 2017
Teemu R. <notifications@github.com> writes:
… Could you please post the miiocli info output (or at least the model number & the fw version), as this may be something that only
happens on specific hardware/firmware combinations.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@faaafo could you please test the attached PR (with commands |
Thank you. Will gladly try your pull request.
[Offtopic] Do you know by chance which one I should change(homeassistant@docker)?
1. /usr/local/lib/python3.8/site-packages/miio/vacuum.py
2. /usr/src/homeassistant/homeassistant/components/xiaomi_miio/vacuum.py
Teemu R. <notifications@github.com> writes:
… @faaafo could you please test the attached PR (with commands timezone and timers)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
The former, the latter is just the homeassistant shim that uses this library for controlling the device. |
No changes after applying your PR to /usr/local/lib/python3.8/site-packages/miio/vacuum.py and rebooting the machine.
|
Ah, sorry, I misread the response from the device (returning a bare integer). Could you please check the new PR? |
❤️ 🚀 Works 🙏 Thank you so much |
I can confirm everything was running fine once and I'm still able to run certain mirobo commands like e.g.
start
stop
home
etc.Yet the vacuum doesnt communicate anymore with homeassistant nor do certain commands like the one below work:
bash-5.0# mirobo --ip 192... --token 664... -d timezone
returns
Environment
The text was updated successfully, but these errors were encountered: