home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.76k stars 7.19k forks source link

Local Fulfilment Clarification & Troubleshooting #34322

Open kelvtech-co-uk opened 4 weeks ago

kelvtech-co-uk commented 4 weeks ago

Feedback

So I noticed it was taking longer than normal for Google to fulfil my requests ~ 6-8s, this was both verbal but also via the Home app. I eventually tracked it back to local fulfilment failing, timing out and reverting to a cloud push. The 'Google Home Analytics' dashboard in the cloud console highlighted the failing local fulfilment commands easily enough.

The cause became apparent when my son said our Nest Hub wasn't working, as soon as I rebooted that all fulfilment times came back to normal ~ 1s. I've since done some reading and now know there are only a subset of Google devices able to run the local fulfilment JavaScript app, this isn't metioned in the docs.

The oddity I don't yet understand though is I've more than 1 device which can support local fulfilment so why didn't another device take over? The Google docs say "The Local Home platform is non-deterministic in choosing which Google Home or Google Nest device to trigger the command.". Maybe this means then a reboot of the other qualifying devices was necessary for the Home Graph to update and resolve the problem? I tried this and it didn't work, I have a Google Nest Mini as well as a Google Home Mini and neither supported local fulfilment in the absense of my Google Nest Hub. I'll probably raise another issue not relating to documentation on this point once I've read a little further.

In summary I'd recommend the Google Assistant integration docs be updated to...

  1. Reference the shortlist of supported devices for local fulfilment
  2. Add a tshoot section regarding delayed fulfilment linking the Google Cloud Console dashboard and maybe the Google docs directly?

URL

https://www.home-assistant.io/integrations/google_assistant/

Version

2024.8.1

Additional information

Google Cloud Console Dashboard and useful graphs, the timelines I've shown includes results during the fault and also after resolution. image image

home-assistant[bot] commented 4 weeks ago

Hey there @home-assistant/cloud, mind taking a look at this feedback as it has been labeled with an integration (google_assistant) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `google_assistant` can trigger bot actions by commenting: - `@home-assistant close` Closes the feedback. - `@home-assistant rename Awesome new title` Renames the feedback. - `@home-assistant reopen` Reopen the feedback. - `@home-assistant unassign google_assistant` Removes the current integration label and assignees on the feedback, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.