Xiaomi Viomi V1/V2 support

Thanks friend.
Unfortunately, however, it doesn’t work.
Always one step.
Any other suggestions?

I just tried something he hadn’t tried yet.
I used the Xiaomi Home app, selected an area, and selected double cleaning. Not even with the Xiaomi app does the second cleaning.
Very strange.

Correction:
I did another test, using the latest version of the Xiaomi App (the first test I did it using the Xiaomi app which gives me see the token and is an older version)
Using the latest version of the app, the robot Now does the second cleaning. I tried the old version of the app again, and now it does it with that too.
Unfortunately, using the script no results.

Anyone have any idea how to make the “repeat” command work?
Could it be that my model has a different command? Mi home indicates “viomi.v8” as a model

In addition, I’m trying to understand and use the “app_goto_target” command, I’d like to create a script that when launched makes the robot move to a certain point. so I don’t intend to start cleaning but just move off the base and go to that point. Do you think it is possible?

I’ve tried to figure out the room numbers of my xiaomi mi robot vacuum mop by try and error approach but I gave up after trying from 1-50. From the 4 rooms that I have, I could find only 2 of them. Is there any other way to verify the room number? I guess you guys have also re-arranged the rooms (I had to split 1 room and merge 2 other rooms)? Strange thing is that for rooms 12-16 the vacuum goes to one place which is not reachable…

sorry for the noob question but how can I find the token?

vacuum:

  • platform: miio2
    host: 192.168.xx.xxx
    token: xxxx
    name: Bente

I think I found the answer to my question… Get the Xiaomi Home token :slight_smile:

I did the mapping, and I had to divide your rooms by a total of 4. At first I couldn’t find them too, then I got lucky and found 10 11 12 and 13 working. Numbers start at 10 in up.
Which script are you using?

Does this not work for the Viomi V3? I can somewhat “discover” my vacuum in Hassio but is is says unavailable and grayed out text so I can’t control it, any suggestions?

1 Like

I’m using the set_mode_withroom script. Not sure why it doesn’t work… Maybe I’ll try without dividing the rooms. Which device do you have?

xiaomi mii robot vacuum mop we are model mjstg1 i can’t show it in home assistant

vacuum:

  • platform: xiaomi_miio
    host: 10.0.0.134
    token: my token
    name: ‘Living Vacuum’

Help me thanks

I have a new Viomi S9 is it supported?
Thanks

1 Like

hi, did you manage to connect mjstg1 to HA?

has anybody managed to change the map in styj02ym. Can it be done with set_map command?

Hello

Have problem to integrate Viomi V2 Vacuum . (Viomi V2 Pro)
Details :
MODEL: viomi.vacuum.v6
fw_version":“3.5.8_0041”

Ha Ver : core-2021.3.4

have vacuum token ,ip , etc .

tested integration without success :

Xiaomi Miot Auto
Xiaomi Miio
Custom : https://github.com/nqkdev/home-assistant-vacuum-styj02ym

the custom integration worked in old HA versions .:frowning:

any ideas how to integrate ? any hack Viomi vacuum ideas ?

I just had to go back to the previous HA version.
I have a similar problem.

1 Like

you should update the manifest.json

there is also a pr that fixes the issue but the git repo in unmanteined… Fixes problem with manifest and recent crash on 2021.04 by dolohow · Pull Request #34 · nqkdev/home-assistant-vacuum-styj02ym · GitHub

thx i will test it .

Same here. Can get HA to find it via Xiaomi Mio integration but it doesn’t respond.

Hey Johann, you haven’t talked about “Nono” in a while :smile:
Do you found out anything else about send commands to viomi robot? (like, using or not the mop, fan power, …).

Best regards

no, have all the functions i need, do the rest with the handy app