I’ve got Home Assistant working perfectly with the Google Assistant component and I love it. I’m trying to take things a little further and want to see how I can have HA pass data into Google Assistant.
Example: Hey Google, Ask home assistant who’s home. --> Home assistant returns names of people who are home to Google Assistant.
I’ve had a lot of trouble finding info on how to get this setup and would greatly appreciate your help.
i’m poking around for the same thing. so far the best workaround seems to be creating shortcuts in the Home app that map to scripts that use tts to give custom responses. so e.g. a shortcut in Home could be “who’s home” --> “turn on whos home”, and “whos home” is a script that uses tts.
but it’s a bit clunky, tts is often slow for me, and i think your voice commands have to adhere exactly to the shortcuts.
I didn’t and haven’t had a chance to get to it. Your method sounds cool, but I’d love a solution that could respond to commands given using Google Home AND Google Assistant (on a phone)…is it possible to TTS a response to a phone if that’s what invokes the question?
I haven’t tried out script support. What is the default response for scripts? Is it also ‘turning on whos home’? Does the tts override the default response, cut it off or come after?
i hadn’t actually tried it yet – was just an idea. and now that i actually have tried it, it appears it doesn’t even work (yet).
script support is apparently not available yet in google assistant. sounds like it’s forthcoming and in the development version, but i haven’t tried that.
EDIT: i was running 0.56.2 and scripts do indeed work now that i’ve upgraded to 0.57.3.
i made a script called “run a test” and made a shortcut in the Home app: “run a test” --> “turn on run a test.” tts speech is “running a test”
now dialog looks like this:
me: hey google, run a test
home mini: sure. activating the run a test
home mini: running a test
so the language from me is natural, but the response is a bit awkward since it’s treated like a script and doesn’t alter the response based on the shortcut