I’m trying to set up Assistant Relay for Hassio to broadcast messages via my Google Home Minis without stopping any music that might be playing.
I can send messages from the sandbox in the add-on and it seems to work perfectly. However I can’t seem to send anything via the rest_command.assistant_broadcast service.
I’ve used the configuration.yaml and Lovelace card examples from https://github.com/Apipa169/Assistant-Relay-for-Hassio - the only change I’ve made is to substitute my IP address.
When I try to use it I get the following error on the Developer Log:
Error. Url: http://192.168.1.131:3000/assistant. Status code 500.
4:32 PM components/rest_command/__init__.py (WARNING) - message first occurred at 4:27 PM and shows up 2 times
The add-on log sows:
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 112.929 ms - 44
0|www | Conversation Complete
0|www | POST /assistant 200 1800.409 ms - 93
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 107.651 ms - 44
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 112.928 ms - 44
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 107.653 ms - 44
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 109.361 ms - 44
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 115.667 ms - 44
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 110.752 ms - 44
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 114.366 ms - 44
0|www | POST /server/getConfig 200 47.371 ms - 126
0|www | POST /server/checkUpdate 200 587.795 ms - 16
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 133.569 ms - 44
0|www | {
0|www | command: 'hello, this is a test broadcast',
0|www | user: 'username',
0|www | broadcast: true
0|www | } {}
0|www | ClientError [NotFoundError]: Not Found
0|www | at /assistant_relay/app.js:41:8
0|www | at Layer.handle [as handle_request] (/assistant_relay/node_modules/express/lib/router/layer.js:95:5)
0|www | at trim_prefix (/assistant_relay/node_modules/express/lib/router/index.js:317:13)
0|www | at /assistant_relay/node_modules/express/lib/router/index.js:284:7
0|www | at Function.process_params (/assistant_relay/node_modules/express/lib/router/index.js:335:12)
0|www | at next (/assistant_relay/node_modules/express/lib/router/index.js:275:10)
0|www | at /assistant_relay/node_modules/express/lib/router/index.js:635:15
0|www | at next (/assistant_relay/node_modules/express/lib/router/index.js:260:14)
0|www | at Function.handle (/assistant_relay/node_modules/express/lib/router/index.js:174:3)
0|www | at router (/assistant_relay/node_modules/express/lib/router/index.js:47:12) {
0|www | message: 'Not Found'
0|www | }
0|www | POST / - - ms - -
0|www | {
0|www | command: 'hello, this is a test broadcast',
0|www | user: 'username',
0|www | broadcast: true
0|www | } {}
0|www | ClientError [NotFoundError]: Not Found
0|www | at /assistant_relay/app.js:41:8
0|www | at Layer.handle [as handle_request] (/assistant_relay/node_modules/express/lib/router/layer.js:95:5)
0|www | at trim_prefix (/assistant_relay/node_modules/express/lib/router/index.js:317:13)
0|www | at /assistant_relay/node_modules/express/lib/router/index.js:284:7
0|www | at Function.process_params (/assistant_relay/node_modules/express/lib/router/index.js:335:12)
0|www | at next (/assistant_relay/node_modules/express/lib/router/index.js:275:10)
0|www | at /assistant_relay/node_modules/express/lib/router/index.js:635:15
0|www | at next (/assistant_relay/node_modules/express/lib/router/index.js:260:14)
0|www | at Function.handle (/assistant_relay/node_modules/express/lib/router/index.js:174:3)
0|www | at router (/assistant_relay/node_modules/express/lib/router/index.js:47:12) {
0|www | message: 'Not Found'
0|www | }
0|www | POST / - - ms - -
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 116.895 ms - 44
0|www | POST /server/getConfig 200 54.346 ms - 126
0|www | Conversation Complete
0|www | POST /assistant 200 2285.004 ms - 93
0|www | TypeError: Cannot read property 'converse' of undefined
0|www | at new Conversation (/assistant_relay/node_modules/google-assistant/components/conversation.js:129:34)
0|www | at /assistant_relay/helpers/assistant.js:19:38
0|www | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|www | POST /assistant 500 111.003 ms - 44
0|www | Conversation Complete
0|www | POST /assistant 200 1639.567 ms - 93
I’m on Home Assistant version 0.103.4
I’m really new to HA and would appreciate any help anyone can offer?
Thanks
Mark