Help setting up Mi Vacuum


#1

Hey guys, I’m new to all this stuff. I just installed HA on my RP1 specifically to use voice commands with the Mi Vacuum Gen 1.

I have everything installed, the vacuum with token, cloud setup, Hass.io on the GH android app, but I cannot control with voice.
I have the toggle on off switch for the vacuum on the dashboard page so I know its installed properly.

I see there is information here (https://www.home-assistant.io/components/vacuum.xiaomi_miio/) on the commands but I do not know how to implement them. I assume they go into the config file somehow. Is there not just a copy paste template?


I see it lists some things to put in the configuration but it seems to be missing most of the stuff a vacuum could do and doesnt mention how to add the additional services.

If anyone could point me to a premade template I can paste or give me a basic examples using the MI Vacuum commands it would be helpful.

I feel like I’m on the last step here but I just cannot figure it out.

TYIA


#2

I found this but I assume you can use voice without ifttt.


#3

I don’t think vacuum is supported at the moment. The only thing you can do is create a switch to perform certain actions.


#4

Thank you, I just decided to use IFTTT and have it all working now.


#5

Do you know if this has been implemented (a vacuum device class)


#6

I am still using ifttt and it works flawlessly. I would like to cut it out if possible but haven’t looked any further into it. Ifttt allows custom verbal commands too.


#7

Check the docs for the available domains.


#8

I was meaning if exist for Google home /assistant


#9

I understand what you mean. Maybe you clicked the link but forgot to read the page :wink: because it clearly says;

The google_assistant component allows you to control things via Google Assistant (on your mobile or tablet) or a Google Home device.


#10

So you can’t dock it or pause it. Just switch on off


#11

I give up… maybe ask google home to read the page for you.


#12

Yes works! Google Home/Assistant has a vacuum device class, cool!