Well there are some updateded versions, i’m testing Google Assistant Webserver and using v4 from apipa169.
If u want an easy thing what does the same add this html into supervisor resources (GitHub - AndBobsYourUncle/hassio-addons) and install Google Assistant Webserver
Otherwise go into portainer add the docker image of Apipa169 use the v4.04
There are other docker images what are beeing updated but still having issues
Can you explain to me how I can still use this addon? As I have a HVAC/Airco unit which is completely controlable through HomeAssistant but I can’t turn it on or off… However, I can with Google Home… So I’m looking for a way to bind a button to action Google Home to turn it on or off.
Google changed their oAuth… the repo is no longer working on HA on the way it is desribed in the docs, had the same issue a month ago but thought it maybe changed…
If its by where u need the auth code, just let it open the new page, enter your email and then u get an error.
But in the website link there is your auth code, use that and it works.
Also when creating a AUTH user on google just select web app.
I downloaded the json for the generated “Web client (auto created by Google Service” - Uploaded to Assistant Relay - I have a popup page with my email address, I choose my email address and got a 403 access denied google page. I’ve saved the URL and the error page.
What does the auth code look like?
EDIT
I figured it out - I forgot to add my email to the test users. After that I was presented with the error page with this URL:
and paste this into image (behind docker.io) apipa169/assistant-relay:4.0.0b4
click on publish new network port
[HOST] 3000 [CONTAINER] 3000
Click on restart policy just down below
Select on failure or unless stopped
just click deploy container and you should be good
If it works just do the installation and follow tutorial.
https or http://yourserver:3000
Even when searching an image on docker.io u see some people updating this version, but did not test them as there is no info available, so the above one i’m using for some time and works really good and stable.
Thanks, but I’m not using Portainer.
However, that shouldn’t be a show stopper. I’m using a custom container UI made by QNAP called ContainerStation. I’ll try to install it and let you know how it goes.
if u can’t get it working, just download the assistant relay version in the add-ons of home assistant.
not the beta but the last working one, that one also works.
As I said, I’m not running HassIO but the Core version in a dedicated container. So I do not have any add-ons or plug-ins repository or any supervisor options.
But that shouldn’t stop me so I’ll just give it a try and I’ll let you know.
i did read this on github, and maybe this will let it work after the update.
a guy posted this in github, and i don’t know if its working, well see soon.
also there is an updated nodejs verion what works, but i’m not a fan of that.
This is the github post
I think I have a method that will work to get this running without any code changes at all. And it has to do with how you create your Oauth Client. Instead of choosing Desktop, choose “Web Application”. You will then be presented with a screen to add your redirect URI. Simply enter “https:.//www.example.com” and click create. This will create a json file for you to download that will not use localhost as the redirect URI, so it should still work.
(don’t worry, that’s not the real one, I subbed in a lot of fake characters) just copy everything after “code=” to “&scope”. So, mine would be: 4/0AdQt8q474dfdydghdsdbdbtRrzq0QC_lObsRrsdwa4yXIssdfvxkgF8zHrvrtyrrhdyz4EumCwwett433g (if that were real) That oauth method will not be deprecated after Sept because it doesn’t use the unauthorized flow. You have to manually put the code in but we’ve had to do that anyway. Fingers crossed this still works!!!
Just moved Assistant Relay off of my Home Assistant to it’s own Docker container (after much struggling getting the Google auth part)
I’ve been using the beta for a few years now. After moving this, I added basic auth (username/password) with nginx for additional security.
This seems to break the ability to also use an assistant relay API key. {“msg”:“Invalid API Key provided”}. API keys work fine with basic auth disabled. Basic auth works when no relay API keys have been generated.
I think this is because basic auth also uses the “authorization” HTTP header, but I’m not sure.
Here is how I pass the API key header with NodeRED: