Setting up Google Actions for Assistant

Hi,

So if you go to developer services and type in:

domain: tts
Service: google_say
Service Data (JSON, optional): {"entity_id":"media_player.front_room_speaker","message":"This is a test!"}

Can you hear it on your Google Home?

EDIT: I see you have it working. Disregard!

Hello,

Thanks for this amazing thread about all instructions given.
I cannot get the request sync function to work, I always get the error “Could not contact google server for request sync”

I posted it here in the forum link would be amazing if someone could help me with my issue. I am wondering why no one else has this issue?

I’m getting this too. The google_assistant endpoint is up, and my api_key is in there and valid. What else can cause the 404?

same problem:
request_sync request failed: 404 b'{\n "error": {\n "code": 404,\n "message": "Requested entity was not found.",\n "status": "NOT_FOUND"\n }\n}\n'

On the 404 on the request_resync service call:
https://github.com/home-assistant/home-assistant.github.io/pull/4171/commits/e5e41814551d9924e85e69b84951e8f7e89d914c (just in review)

1 Like

Google Assistant now adds command to sync devices. Very useful to me. Might help some of you guys.

3 Likes

I am looking for a little help with the Google Assistant integration. I have Xiaomi Temp sensors that are working with HomeAssistant and I would like to get data from them through my Google Home.

I have the Google Assistant setup completed successfully and I have the following added to my customize.yaml for the sensor:

sensor.temperature_158d0001b952a3:
  friendly_name: 1st Floor Temp
  google_assistant: 'true'
  google_assistant_type: climate
  aliases:
    - living room temp

I have also added the sensor to the “Living Room” in the google home app.

When I ask my Google Home “What temperature is it in the living room?” she replies “Sorry, I am unable to reach living room temp right now”

Any ideas on getting this working?

Thanks!

1 Like

Finally!! I guess the request_sync service can be retired soon.

What’s in the logs?

HomeAssistant logs show nothing when I ask for temp.

The only feedback I get is “Sorry I am unable to reach the living room temp right now” from Google Assistant

Hi there. Do i need to own a Google Home for this to work? I’m asking because near the end of the setup it says i need to go to Settings>Home Control and i do not have that option.

That’s in the Google Home app, but yeah, I think you do need a physical Google Home or equivalent (ie: JBL Link 10, 20 etc.)

Having a mobile/tablet with Google Assistant should be enough.

“Sorry I don’t understand”

also interested

Yes I did this as well (Told Google to Sync my devices and it rattled off what it had sync’ed) and GH started playing dumb and wouldn’t control my Wemo anymore. Did a resync via HA and it started working again. Strange.

that was the answer from my GH, maybe it hasn’t roll out

No it has rolled out as it’s saying it’s syncing with the devices it’s listing.

to you, not to me

Instead of forcing a sync of new or changed devices to Google assistant using the unlink / link option in the app, I now can just say “ok Google, sync my devices”. After that any new switch or script I have flagged for Google assistant is usable with the appropriate voice commands.