Unable to configure Google Assistant - 500 Error on Adding Test App

Hi Guys

I had a old working configuration of Google Assistant configured. I couldn’t see some latest gadgets in the GA, so I thought after reading the posts here to unlink and relink the “[test] my test app”.

When I unlinked and trying to relink - it gives a 500 error . Tried it for several days

So I thought to create a new project and followed steps given here https://www.home-assistant.io/components/google_assistant/

But going into the GA app I would have assumed I would see two of “[test] my test app” but see only one which I assume is the old one. And I still can’t click on it to link it.

What am I missing here?

Also in my old project I can’t find the place where I can rename the “my test app” name.

any help guys? Anyone has setup google assistant recently?

I have been struggling the last 2 days but fixed it last night!
Started from scratch multiple times.
Make sure all your config in HA is correct as well.
Somehow I had to remove all my old style config that I had in the customization (still not sure that was the solution or just a coincidence)

light.bathroom_light:
  google_assistant: true
  google_assistant_name: 'Bathroom Light'

and I added them to the GA config

light.bathroom_light:
  name: 'Bathroom Light' 
  room: bathroom
  expose: true

the naming of the test app is here:

remember to hit save and restart the test!

The old [test] APP will still hang around in GA for a while apparently, even after the project is deleted at Google’s end.

Also, only devices that are online will show up.
One of my light bulbs was switched off at the wall (unknown in HA) and did not show up in GA.

hope it helps, hang in there, once it works it is great!

Thanks

I have the following config

google_assistant:
  project_id: <PROJECTID>
  client_id: <CLIENTID>
  access_token: <ACCESSTOKEN>
  agent_user_id: <EMAIL>
  api_key: <APIKEY>
  exposed_domains:
    - switch
    - light
    - group
    - climate
  entity_config:
    switch.living_room:
      name: Living Room Temperature
    switch.second_bedroom:
      name: Second Bedroom Temperature
    switch.tv_room:
      name: TV Room Temperature
    switch.master_bedroom:
      name: Master Bedroom Temperature
    switch.third_bedroom:
      name: Third Bedroom Temperature

The name of the test app is “HomeAssistant” for weeks but still doesn’t show in GA App in iOS

I think the first issue is that i can’t see the named project in Google Assistant App. I am just seeing “[test] your app name” but I don’t think the project has that name as per your above screenshot… And thus the 500 error as it can’t find a project named “[test] your app name”

did you restart the test / simulator?

How do you do that?

Click on Action on the left and then Test

Perfect guys… That seems to have brought a new app and able to link to it… (old one still shows)…

Will continue testing :slight_smile:

1 Like

I had to redo this every 3 month… I have no idea what goes wrong… every 3 month need to go in there and click on test if you ever add / remove any device from google assistant…
No one else seems to report on this issue.