So, weird problem. Wanted to make a couple of changes to which devices I sync up to google assistant, so in Google’s Home App unlinked and then tried to relink, and received an error in the google home app:
Could not update settings. Check your connection.
After poking around I’ve hit a dead end, hoping someone knows which errors I should set to be logged/what might be happing. It is not the issue some others seem to be having with creating a test project with google, my test project is up and working, something is failing on the HA side under certain circumstances.
I have google assistant set to “expose_by_default: false”, and then am manually calling out all the lights/switches/etc I want.
If I set “expose_by_default: true”, and remove all my config, it links fine. I was wrong about that… seemed to be true last night, but definitely isn’t now
If I comment out everything below a certain point in the file, it also works fine. I’ve tried commenting out some of the devices above that point, and uncommenting ones below, and it still bugs out. So I think it is some issue with all the devices below that point, rather than an issue with more than a particular number of devices.
Looking at the logs, google’s cloud console log shows me an error with:
{
insertId: "<censored>"
logName: "projects/<censored>/logs/actions.googleapis.com%2Factions"
receiveTimestamp: "2019-02-23T10:27:05.831684475Z"
resource: {
labels: {
action_id: "SMART_HOME_SYNC"
project_id: "<censored>"
version_id: ""
}
type: "assistant_action"
}
severity: "ERROR"
textPayload: "SYNC: Request ID 6550998062884482937 update devices failed: INTERNAL"
timestamp: "2019-02-23T10:27:05.823546174Z"
}
Bumping up the log levels in HA I managed to get these seemingly related entries:
2019-02-23 10:26:57 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow/87f517e53d6e4425b16b59c9b192d6ff to 172.30.33.3 (auth: False)
2019-02-23 10:26:58 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/token to 172.30.33.3 (auth: False)
2019-02-23 10:26:59 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow to 172.30.33.3 (auth: False)
2019-02-23 10:26:59 INFO (MainThread) [homeassistant.components.http.view] Serving /manifest.json to 172.30.33.3 (auth: False)
2019-02-23 10:27:00 INFO (MainThread) [homeassistant.components.http.view] Serving /api/google_assistant to 172.30.33.3 (auth: True)
2019-02-23 10:27:12 INFO (MainThread) [homeassistant.components.http.view] Serving /api/error_log to 172.30.33.3 (auth: True)
Couldn’t see anything else useful at debug level, but might have been lost in the endless noise from every other component.
This is the working config file: google_assistant.yaml (5.1 KB)
Uncommenting anything below light.living_room_wifename causes it to fail (or at least the 6 or 7 random ones I tried before getting bored).
Currently have homeassistant.components.google_assistant and homeassistant.components.http.view as log level debug in logger.
Any suggestions on what it might be, or what components I should be looking at for errors on to explain what is happening, would be much appreciated.