Open TheDukeSr opened 2 years ago
If it is an execution intent, in the logbook you should have the mention "via local"
Or in developer tools->events if you listen to google_assistant_query
for query intent or google_assistant_command
for execute as switching on or off.
If I remind right source
has to be local
, if I am wrong look at the origin
but if it is locally executed both origin
and source
should be set to local
in the JSON displayed when even has occurred.
An example:
{
"event_type": "google_assistant_command",
"data": {
"request_id": "10855723306903670856",
"entity_id": [
"light.lustre_bureau"
],
"execution": [
{
"command": "action.devices.commands.OnOff",
"params": {
"on": false
}
}
],
"source": "local"
},
"origin": "LOCAL",
"time_fired": "2022-05-25T09:18:56.347666+00:00",
"context": {
"id": "0180fa83155b84fc237ea430df0b2c66",
"parent_id": null,
"user_id": "xxx"
}
}
I use Home Assistant Cloud for Google Assistant but I suppose things are not so different with the manual integration.
You can check here. There is a 'partner_local' and 'partner_cloud' entries in the logs that you can click to add to the summary line in the logs explorer.
https://console.cloud.google.com/logs
Like this:
Hi...I've just upgraded app.js to 2.1.6, but now when I restart home assistant I get this error...and executionType is "PARTNER_CLOUD"
Hi,
Info: NOT using Nabu Casa and Everything functioning good like mDNS, SSL, Local HTTP, Remote HTTPS, etc. etc.
Running Home Assistant Core 2022.5.5, Home Assistant Supervisor 2022.05.2, Kernel version 5.10.0-13-amd64, NGINX Home Assistant SSL proxy, Duck DNS
I've done the setup and read alle pages about local fullfilment I could find.
Still one thing is not clear to me. How do you check If a request is handled localy or not ?
I've seen many tips and examples about debugging in forums, but none realy explains it good. For example: Many tips mention debugging like using "chrome://inspect/#devices", In that Chrome inspect tool (Google Home Mini Device / inspect url) I see many info about the command I asked, but not 1 word clearly shows if it is locally executed or not.
So the questions: Is there a Debug/Log/Test/Tool that CLEARLY shows if a request is fullfiled locally or not. And how/where to setup this up correctly so the info is displayed correctly.
Regards,
John.