I have flashed my 1C with Valetudo, and suggest you do the same 🙂
custom component for Vacuum 1C STYTJ01ZHM (dreame.vacuum.mc1808). Rough around the edges, not all the commands work, not all attributes set up. Needs a clean up.
Zone cleaning now works!
Using https://github.com/rytilahti/python-miio for the protocol.
Two possibilities for installation :
- Manually : add the "xiaomi_vacuum" folder to the /config/custom_components folder ; reboot
- With HACS : go in HACS, click on Integrations, click on the three little dots at top of the screen and selection "custom repositories", add this github url, select "Integration" as repository, and click ADD. Then go to the Integrations tab of HACS, and install the "Xiaomi 1C STYTJ01ZHM" integration.
Code to add to configuration.yaml :
vacuum:
- platform: xiaomi_vacuum
host: <ip>
token: "<token>"
name: <name>
To retrieve the token, follow the default integration instructions.