Setting up Google Actions for Assistant

Hi @mp3llll
id you manage to resolve the issue with {“message”: “missing project_id in redirect_uri”}?
If so how please? I have the same issue

ignore above, I forgot to replace the project name in my yaml config with my actual project name…

I got this working today, Rebuilt my google assistant section of my config.yaml and it started working, Maybe I had a extra space or something all good now and works perfectly.

Thanks

Can you post a copy of your config? redacted of course…

Great news. YAML can be a bit of a bugger like that!

Thanks to all who helped make this happen and built the tutorial.
Finally got this to work today and I’m now getting the most of my Google Home Mini :slight_smile:

what was the fix?

I got this mostly working. But some lights don’t show up. I already had issues with the same lights in emulated_hue.

any ideas how to debug?

Edit: unlinking and relinking seems to have fixed it for now.

Thanks for pointing this out. I had forgotten after recreating the Google Project och enabling the Homegraph API numerous times that I needed to recreate the API key.

Is it possible to add to the description that you need an US apple ID to download the google assistant on an iPhone? Took me a long time to find out how I needed to add the project to the google assistant app or Home app. As I have a dutch account, I could not find google assistant in de Apple store, and the google Home app does not have the possibility to add the project. After I created an US apple id and downloaded the Google assistant app it was possible

@DavidFW1960
Where you able to add the resync as an automation or trigger?

Also does anyone know is the only command we have to use “turn on” ?

Basically could say turn on group or turn off group

You can turn things on and off.

You can change the colour and brightness of a light - if you’ve mapped media players to lights then you can change the volume as if it was the brightness.

See here for more information.

1 Like

OMG!!! I didn’t know this was implemented yet. This is awesome. Thanks!

anything you lose by setting the media player this way?

I haven’t done it, so I don’t know for sure.

If it’s in a room with other lights though, and you want to turn all the lights on/off, it could cause a surprise as the music also starts/stops.

I’ve read that there is a change in the sdk to support more things then lights. https://9to5google.com/2017/11/23/google-home-picks-up-native-control-of-smart-home-appliances-may-support-lighting-scenes/

Hi all. I’ve successfully set this up. Great work! However, I can’t get tts to work.

I see my home added as “media_player.living_room_speaker” (supported_features: 21437). When I try to use the “google_say” service I hear a sound, no voice. It’s apparently trying to play something. HASS says it’s “Idle” at position “0” of media and the Google Home app says it’s now playing. Here’s the payload: {“entity_id”:“media_player.living_room_speaker”,“message”:“Hello”}

Any ideas?

I enabled NAT loopback on my router to get this to work

I have just tried to get this setup and keep getting the error ‘invalid client ID’. what is the fix for this? i used the random string created by the command line as described in the instructions.

Here is a working switch for the sync:
switch:

  • platform: template
    switches:
    google_assistant_sync:
    value_template: “{{‘off’}}”
    turn_on:
    service: google_assistant.request_sync
    turn_off:
    service: google_assistant.request_sync

Cant get the code formatted correctly, but thats a minor thing