Yes. Actions on Google successfully created Preview for simulator/test today. Google Assistant is now able to sync devices again. Happy days!
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?
you have to redeploy the app every 30ish days
Hi
Try the following. I got them from HA docs
-
Log into Google Actions page
-
Regenerate the draft version Test App and try asking Google to sync your devices again.
-
If regenerating the draft does not work, go back to the
Action
section and just hit theenter
key for the URL to recreate the Preview."
Hope it helps
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.
It stays working , but sync service fails after 30 days… For sync only you need to enable simulator again
device control is not affected but if you want to be able to sync, you have to redeploy the app every 30ish days…
Good to know, I wasn’t aware of that and will be putting up temp devices for Xmas so guess I will need to redeployed in December.
Hi,
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.
Anyone with same issue?
Finally I was able to get both the calls working without errors:
I’m talking of
https://homegraph.googleapis.com/v1/devices:requestSync and https://homegraph.googleapis.com/v1/devices:reportStateAndNotification
- even if you have the
service_account
configured you have to enable the homegraph API https://console.cloud.google.com/apis/api/homegraph.googleapis.com/overview - enable the debug on HA to get your ‘agentUserId’:
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 {}
So is the request sync triggering with the wrong agent? Are you perhaps doing it from a different user in ha than the user you initially logged in as?
yes, I have an ad-hoc user made just for google integration
This should be resolved in coming release. Or might already been backported to last release.
Is it true that I have to do this every 30 days?! Anyone still able to sync devices even after 30 days?
I think it’s a hit or miss…I know I had problems last Fall and needed to redeploy (which is quick and simple), but going on 3 months now I’ve been able to sync without needing to redeploy.
Could you elaborate? Should we not be seeing this issue anymore? I found sync to be broken today. [Edit; I found it to be that my dynamic dns had broken. But I’d still like to know if there was a fix overall?]
which issue?
Basically I’m asking about the issue were you referring to here?
thx
That issue is solved. That is why I ask what your issue is.