[![HACS Default][hacs_shield]][hacs] [![GitHub Latest Release][releases_shield]][latest_release] [![GitHub All Releases][downloads_total_shield]][releases] [hacs_shield]: https://img.shields.io/static/v1.svg?label=HACS&message=Default&style=popout&color=green&labelColor=41bdf5&logo=HomeAssistantCommunityStore&logoColor=white [hacs]: https://github.com/hacs/integration [latest_release]: https://github.com/marotoweb/home-assistant-vacuum-viomise/releases/latest [releases_shield]: https://img.shields.io/github/release/marotoweb/home-assistant-vacuum-viomise.svg?style=popout [releases]: https://github.com/marotoweb/home-assistant-vacuum-viomise/releases [downloads_total_shield]: https://img.shields.io/github/downloads/marotoweb/home-assistant-vacuum-viomise/total [hacs_shield]: https://img.shields.io/static/v1.svg?label=HACS&message=Default&style=popout&color=green&labelColor=41bdf5&logo=HomeAssistantCommunityStore&logoColor=white # Hacky Home assistant support for Viomi SE (V-RVCLM21A) ## This is for Viomi Robot Vacuum Cleaner SE (apparently EU version) with 4.0.9_0012 firmware and tested in 4.0.9_0017 Repository is forked from KrzysztofHajdamowicz/home-assistant-vacuum-styj02ym Due to my lack of knowledge in python some things may not make sense or there is a better way to do them, we just shouldn't be stuck ## Installation ### Using [HACS](https://hacs.xyz/) (recommended) This integration can be added to HACS as a [custom repository](https://hacs.xyz/docs/faq/custom_repositories): * URL: `https://github.com/marotoweb/home-assistant-vacuum-viomise` * Category: `Integration` After adding a custom repository you can use HACS to install this integration using user interface. ### Manual To install this integration manually you have to download following files: * [*README.md*](https://raw.githubusercontent.com/marotoweb/home-assistant-vacuum-viomise/master/custom_components/viomise/README.md) * [*__init__.py*](https://raw.githubusercontent.com/marotoweb/home-assistant-vacuum-viomise/master/custom_components/viomise/__init__.py) * [*vacuum.py*](https://raw.githubusercontent.com/marotoweb/home-assistant-vacuum-viomise/master/custom_components/viomise/vacuum.py) * [*manifest.json*](https://raw.githubusercontent.com/marotoweb/home-assistant-vacuum-viomise/master/custom_components/viomise/manifest.json) to `config/custom_components/viomise` directory: ```bash mkdir -p custom_components/viomise cd custom_components/viomise wget https://raw.githubusercontent.com/marotoweb/home-assistant-vacuum-viomise/master/custom_components/viomise/README.md wget https://raw.githubusercontent.com/marotoweb/home-assistant-vacuum-viomise/master/custom_components/viomise/__init__.py wget https://raw.githubusercontent.com/marotoweb/home-assistant-vacuum-viomise/master/custom_components/viomise/vacuum.py wget https://raw.githubusercontent.com/marotoweb/home-assistant-vacuum-viomise/master/custom_components/viomise/manifest.json ``` or you can download [*latest release package*](https://github.com/marotoweb/home-assistant-vacuum-viomise/releases/latest/download/viomi_se.zip) ```bash mkdir -p custom_components/viomise cd custom_components/viomise wget https://github.com/marotoweb/home-assistant-vacuum-viomise/releases/latest/download/viomi_se.zip unzip viomi_se.zip ``` ## Configuration Add the configuration to `configuration.yaml` file, like the example below: ```yaml vacuum: - platform: viomise host: 192.168.68.105 token: !secret vacuum name: Viomi SE ``` Note: Vacuum token can be extracted by following [this guide](https://www.home-assistant.io/integrations/xiaomi_miio/#retrieving-the-access-token). I recommend using the python script method to extract the token as it is simpler, and only requires you to enter your Xiaomi Cloud username and password. These are the credentials used for the Xiaomi Home app (_not ones from Viomi Robot app_).