HI,
I bought a google home, everything works fine with it.
I configured it with Hue (in declaring my rooms and my lights attached), everything works fine for many month.
I can control it with Home assistant via the hue bridge (i keep also my physical bridge linked).
so i can say : “Ok Google, clean my home” and Google Home call HA to call Xiaomi API to turn on my vacuum.
So everything is fine, but … suddenly my room config disappear…
I reconfigure the rooms in Google Home with my lights.
All is good but the tomorrow morning my config is not ok …
Anyone has this problem ? i suspect a problem between Google Home / Hue bridge et Hue emulated bridge…
Problem solved.
I needed to create some groups (in HA) to reflect my room configuration in Hue app.
How did you manage to be able to communicate with google home to start the vacuum?
The Vacuum cant be exposed to google home.
Could u give some more insides, would like to do the same.
Hi
To run vacuum you need to create a script which calls the service which start the vacuum robot.
and in your google_assistant component you need to create alias like that :
google_assistant:
project_id: Project-Name
client_id: ****************
access_token: *************************
agent_user_id: "********@gmail.com *******"
api_key: *****************************************
expose_by_default: false
exposed_domains:
- switch
- light
- media_player
- script
- scene
- input_boolean
entity_config:
script.vacuumon:
name: Vacuum On
expose: true
aliases:
- vacuum
script.vacuumoff:
name: Vacuum Off
expose: true
aliases:
- return home
script:
vacuumon:
alias: Vacuum On
sequence:
- alias: vacuumon
service: vacuum.turn_on
data:
entity_id: vacuum.xiaomi_vacuum
vacuumoff:
alias: Vacuum Off
sequence:
- alias: vacuumoff
service: vacuum.turn_off
data:
entity_id: vacuum.xiaomi_vacuum
After that you will be able to see two new devices in Google Home App.
If you say :
“Turn on vacuum” it will start
“Turn on Return to base” it will stop.