The addon is written currently for only ARM or AMD architecture so Intel isn’t going to work I think.
Community Hass.io Add-on: Google Assistant Webserver (broadcast messages without interrupting music)
Ahhhh, so many addon do not work: all the nginx, all the nodered, all the caddy … are for ARM, and not Intel?
Could be an issue with the architecture of the Intel NUC. The Docker image is built with both armhf and amd64 versions. Perhaps the amd64 Docker image is not compatible with the Intel NUC?
It might need to get rebuilt, hmmm.
I’m not using Hass but that doesn’t excuse that I’d not thought about remapping the network ports in docker…
Thanks!
is this correct?
I have re-built the amd64 version of the add-on. It might work for you now if you uninstall the add-on on your Intel NUC and reinstall it. Let me know if that works. You will have to reauthenticate if you uninstall/reinstall.
Also, authenticating on your Raspberry Pi will not carry over to authenticating on your Intel NUC. The credentials are different for each machine it’s running on.
thanks, that was fast, but no, it does not start
EDIT I changed port to 5001 and 9325 and now starts, and it is working
Ah! So yeah, networking issue. The default ports of 5000 and 9324 are probably already taken on your Intel NUC by something else.
the broadcast is working on the browser an the UI
the send command is working on the browser … but is not working on the UI
Are there any errors?
The >
needs to be a greater than symbol.
in the automation.yaml file the symbol is correct, not sure why when I copy paste came that
AND i think this
http://192.168.1.12:5000/command?message=google_command
Should just be
http://192.168.1.12:5000/command
??
@andrewdolphin is correct. The part that has http://192.168.1.12:5000/command?message=google_command
needs to be http://192.168.1.12:5000/command
Nope, not working
in browser this is working
http://192.168.1.12:5000/command?message='turn on light’
in configuration
http://192.168.1.12:5000/command
and then in UI turn on light … is not working
I’m not sure what is not working for you. Do you mean that when you type in “turn on the light” into your UI, then it doesn’t do anything?
Does some light turn on if you open the link in the browser, and it doesn’t turn on if you use the UI?
Just realized there is a way simpler way of getting this running on a non-hass.io system using the pre-built image.
Here are the steps:
Here are the more simplified steps to get it running on a non-hass.io system:
-
Follow the instructions here to get the google_assistant.json file: https://home-assistant.io/addons/google_assistant/
-
Create an empty folder somewhere to put the client.json (renamed from google_assistant.json) and an empty options.json files.
-
Run this line (substituting
/full/path/to/json/folder
with the full path to the two json files):
docker run --restart always -d -p 9324:9324 -p 5000:5000 -v /full/path/to/json/folder:/data --name google-assistant andbobsyouruncle/armhf-google-assistant-webserver:0.0.3
-
After it starts up, go to http://[LOCAL IP]:9324 to authenticate with Google.
-
Now you can go to http://[LOCAL IP]:5000/broadcast_message?message=[MESSAGE]
2-3 commands I tried they all work in the browser, and not in the UI
Hmm, yeah, so then I’d say there is probably something wrong with the automation or scripts
Post your automation with the fixes.