Your client does not have permission to the requested URL /services/auth/handoffs/auth/complete?return_url=assistant-handoff://complete. That’s all we know.
I use api_password and the port of HA is 443, it can access from the internet.
can you use google tts ? So I assume you cannot use google tts as well. Put like this cut away the server_port:443, then you will be able to use google tts and also google_assistant
HA itself use port 8123 / this should give you the same result if you said you can access ha with 443 port. However, I believe that ha just forward the port from 443 to 8123
project_id: !secret google_project_id <== google will provide after you build action sdk. Dont worry if you build action sdk and project itself put in smart home project (not show action sdk) and also give you different project name. example you create projectABC, google might give you braveprojectABC <== use this as project_id
client_id: !secret google_client_id <== this create from your ssh
access_token: !secret google_access_token <== this create from your ssh
agent_user_id: !secret google_agent_user_id <== this I use email. The same email I put in ADD Scope / the email I create the project
api_key: !secret google_homegraph_api_key <== follow the step you will get api_key to put
exposed_domains:
- switch
- light
- group
for configuration.yaml / if you put like this you will be able to use google tts from internal and external network.
http:
base_url: https://yourdomain.duckdns.org:443 <=== very important to put with port because tts won't read port from another line and it read from base_url:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ip_ban_enabled: true
login_attempts_threshold: 3
by fullfill all these then you can use google_assistant and tts google
So I see from your google_assistant config. you need
agent_user_id <== although the tutorial said it will provide but only if you can connect. Since you can’t connect give it the right email you want to use google_assistant.
api_key <== this to link and re-link the account. when you add more devices in google_assistant, it won’t load automatically. you have to re-link and link again if you only use with google_assistant from phone. unless you have physical google home then you can say discover my device (I never use).
Everytime you make change to HA. Don’t forget to reboot.
Can you share your configuration part about http: and google_assistant: ? Additional the setting forward in your router. It take me some hours without success, i also try to delete console project and create a new one.
sorry, I just got back from outside. from my google_assistant
project_id: !secret google_project_id <== name given by google after you have create the project, not the name you create
client_id: !secret google_client_id <== I got from ssh, guide in google assistant component page "$ cat /dev/urandom | fold -w 120 | head -n 1 | base64 -w 0 | tr -dc '0-9A-Za-z' | cut -c -80"
access_token: !secret google_access_token <== I got from ssh, guide in google assistant component page "$ cat /dev/urandom | fold -w 120 | head -n 1 | base64 -w 0 | tr -dc '0-9A-Za-z' | cut -c -80"
agent_user_id: !secret google_agent_user_id <== I put email address that create the project
api_key: !secret google_homegraph_api_key <== from google_homegraph
exposed_domains:
- switch
- light
- scene
- script
- media_player
- climate
- cover
- fan
- group
Thank you. Final i can link it, it is because Chrome browser on Android 8.0, it prevent redirect. So i manual copy it to Samsung browser (i use Galaxy S8) and it work. This take me and you many hours