Previously I am able to sync my devices in Google Assistant and from Home Assistant. Now I am facing the issue of not being able to sync devices in Google Assistant. I followed the steps listed in google assistant manual. Specifically:
“Syncing may also fail after a period of time, likely around 30 days, due to the fact that your Actions on Google app is technically in testing mode …”
Regenerate the draft version Test App and try asking Google to sync your devices again.
Google Action console responded with message "We’re sorry, but something went wrong. Please try again."
If regenerating the draft does not work, go back to the Action section and just hit the enter key for the URL to recreate the Preview."
Google first responded with message “Successfully saved smart home action”. Then followed another message “Failed to create preview”.
Previously, one of the above 2 steps will solve the syncing failure.
Although syncing failed, Google Assistant is still able to call existing scripts on Home Assistant. However, Google Assistant is not able to detect new scripts that I created because of the failure to sync.
Have the same issue since today. Maybe it Google’s problem, because if I try to create new project and add any Fulfillment URL in Actions it still fails…
I agree with you that maybe it’s Google issue. I also did the same thing like you and create a new project. It too, failed to save the Fulfilment URL in the Actions.
I have found the request sync service to be failing constantly for me the last few weeks, but if I request my Google assistant to ‘sync my devices’ it will see any new devices or scripts I’ve added to my config.
Same issue here sadly. It says it can’t start, but then after a while it looks like it start. But sync doesn’t work. I stupidly unlinked my devices, now i can’t find my testing app to relink
I just noticed that I’m having this problem too. Went to sync my holiday lights that I took offline now that Halloween is over and keep getting the message “Sorry something went wrong while syncing Home Assistant”…yet the devices that are sync can be controlled by Google no problem.
Not sure where to dig into this further? Did Google once again in their clueless wisdom change something recently?
Every 30 days? Odd I’ve been using it for 3 months without a problem although I hadn’t tried syncing until recently.
In any case it started working again after going to Google Actions and trying various things suggested by eone, although what I did that fixed it, I’m not sure.
I have a similar issue as the original one in the first post. I can sync my devices using ga app but the nothing changed: no new device added even if they are put correctly in my yaml config.
logger:
default: info
logs:
homeassistant.components.google_assistant.http: debug
on the home-assistant.log
2019-12-21 23:43:57 DEBUG (MainThread) [homeassistant.components.google_assistant.http] Response on https://homegraph.googleapis.com/v1/devices:reportStateAndNotification with data {'requestId': '005e55ad1a5f4e2dbe1ff1639ee7083f', 'agentUserId': '<-- your user agent -->', 'payload': {'devices': {'states': {'script.2376402038409': {'online': True}}}}} was {
"requestId": "005e55ad1a5f4e2dbe1ff1639ee7083f"
}
then go on services and use the agentUserId on google_assistant.request_sync with YAML
agent_user_id: <-- your user agent -->
and now it works for me I have no more 404 or 403 error, I made a dummy script and by running the request_sync I was able to find it on Google home, then on the log you will find this
2019-12-22 00:02:36 DEBUG (MainThread) [homeassistant.components.google_assistant.http] Response on https://homegraph.googleapis.com/v1/devices:requestSync with data {'agentUserId': '<-- your user agent -->'} was {}