Closed febo7011 closed 1 year ago
Same here.
Yesterday I searched for a solution myself.
I found the file with the setting python-miio==0.5.3. In the path config/custom_component/ there is the file manifest.json. I substituted the present requirement with this new one. "requirements": [ "construct==2.10.56", "python-miio==0.5.9" ] probably python-miio 0.5.3 was missed in the release change and now is present 0.5.9.
In my case, the object robot is created and it seems restored. I'm not sure that all services work well like before. At the weekend I will do some tests to understand if all works.
Regards
I had the same problem too. For me, your hint also worked. Thanks @febo7011
In my case it was:
"python-miio==0.5.6"
Change to:
"python-miio==0.5.9"
helped.
2022.3.3 introduces another breaking change, this time due to deprecated classes. I've updated pull request #56 to reflect this. It's tested and working on my installation.
changing to 0.5.10 fixed here. Thank u guys
2022.3.3 introduces another breaking change, this time due to deprecated classes. I've updated pull request #56 to reflect this. It's tested and working on my installation.
I made the changes @salvadornico commented but when I go to restart HomeAssistant it gives me this error
Platform error vacuum.miio2 - Requirements for miio2 not found: ['python-miio==0.5.6'].
I am not able to solve this. Could you help me?
2022.3.3 introduces another breaking change, this time due to deprecated classes. I've updated pull request #56 to reflect this. It's tested and working on my installation.
I made the changes @salvadornico commented but when I go to restart HomeAssistant it gives me this error
Platform error vacuum.miio2 - Requirements for miio2 not found: ['python-miio==0.5.6'].
I am not able to solve this. Could you help me?
If you have installed the release 2022.3.3 you have to change from python-miio==0.5.6 to python-miio==0.5.10.
This setting is inside of the file config/custom_component/miio2/manifest.json
This repository looks pretty abandoned. Try this component: https://github.com/KrzysztofHajdamowicz/home-assistant-vacuum-styj02ym I am also updating it rarely (as I am not a python developer and I have just enough skills to duct-tape it), but at least it works in 2022.3.x
2022.3.3 introduces another breaking change, this time due to deprecated classes. I've updated pull request #56 to reflect this. It's tested and working on my installation.
I made the changes @salvadornico commented but when I go to restart HomeAssistant it gives me this error
Platform error vacuum.miio2 - Requirements for miio2 not found: ['python-miio==0.5.6'].
I am not able to solve this. Could you help me?
If you have installed the release 2022.3.3 you have to change from python-miio==0.5.6 to python-miio==0.5.10.
This setting is inside of the file config/custom_component/miio2/manifest.json
Well, something was wrong with the installation of 2022.3.3, I deactivated miio2 restarted HAAS and then activated it again and it worked perfectly. Thanks for the help
This repository looks pretty abandoned. Try this component: https://github.com/KrzysztofHajdamowicz/home-assistant-vacuum-styj02ym I am also updating it rarely (as I am not a python developer and I have just enough skills to duct-tape it), but at least it works in 2022.3.x
@KrzysztofHajdamowicz Cannot find it in HACS! There is only one for Viomi
This repository looks pretty abandoned. Try this component: https://github.com/KrzysztofHajdamowicz/home-assistant-vacuum-styj02ym I am also updating it rarely (as I am not a python developer and I have just enough skills to duct-tape it), but at least it works in 2022.3.x
@KrzysztofHajdamowicz Cannot find it in HACS! There is only one for Viomi
You have to manually add custom repository to HACS
Thanks. its ok
2022.4.0 same again...
This repository looks pretty abandoned. Try this component: https://github.com/KrzysztofHajdamowicz/home-assistant-vacuum-styj02ym I am also updating it rarely (as I am not a python developer and I have just enough skills to duct-tape it), but at least it works in 2022.3.x
Thanks very much for keeping up this repository. Untill now I have managed to keep the original custom component alive manually by updating the python-miio every now and then; but having integration through HACS and your updates are a lot more convenient.
Happy! Thank you!
Stopped working on 2022.5.4 Anyone found a solution ? Getting the following error /usr/local/lib/python3.9/site-packages/miio/miioprotocol.py:240
I'm edit "\config\custom_components\miio2\manifest.json" "python-miio==0.5.12"
{
"domain": "miio2",
"name": "Xiaomi miio vacuum STYJ02YM",
"version": "2022.3.3",
"documentation": "https://github.com/KrzysztofHajdamowicz/home-assistant-vacuum-styj02ym",
"requirements": [
"construct==2.10.56",
"python-miio==0.5.12"
],
"dependencies": [],
"codeowners": ["@nqkdev", "@KrzysztofHajdamowicz"],
"config_flow": false,
"iot_class": "local_polling"
}
I have the Vacuum robot styj02ym. Before this new release worked very well miio2.
Today installed 2022.3.0 and the integration don't work. Also when i check my configuration this is the error shown. Platform error vacuum.miio2 - Requirements for miio2 not found: ['python-miio==0.5.3'].
How can i solve this problem?