Xiaomi Viomi V1/V2 support

Tags: #<Tag:0x00007f77fb8bd808>


just a quick question (hope i’m in the right section :slight_smile: ). Is possible to use “Xiaomi Viomi V2” vacuum with HA xiaomi vacuum integration? Or is here anybody who managed that?

Thank you for any input.


Have you found a solution?

When I try to setup my viomi with home-assistant, I just keep getting:
[homeassistant.components.xiaomi_miio.vacuum] Got exception while fetching the state: No response from the device

Not sure if there’s any way around it.

Unfortunately, nope. Actually i wanted to make sure it’s working before purchase (I could get it quite cheaply). Because there was no response from anybody, i rather didn’t buy it at all. :slight_smile:

Actually - it’s working fine if you install custom integration:

I simply followed the steps, and it works like a charm!


Nice! Good to know, thanks.

Hello @2hol
This has worked for me as well, thank you for sharing the link

However, I have a different (related) problem. Maybe you can shed some light?
I’m also using the HA system as a bridge to my homekit. While I see viomi in my HA, I don’t see it in homekit. Any idea why or how to configure it?


It’s working for me! Thanks!

I have now scripts to clean each room:

  alias: Viomi Clean Bedroom
  - data:
      command: set_mode_withroom
      - 0
      - 1
      - 1
      - 14
    entity_id: vacuum.viomi
    service: vacuum.send_command

- 0 (0=Normal Vacuum, 1=Edge only)
- 1 (Don’t know what it does, have to test it, maybe number of passages)
- 1 (Quantity of rooms)
- 14 (Room ID)

You can get the room IDs by trial and error, mine started from 10.

Next step multi room cleaning…