Link Your Home Assistant To Google Assistant Home Control
IMPORTANT!!! This tutorial is outdated and will not work with Home Assistant 0.80 and above. If you want to migrate your existing setup to 0.80, please follow this quick guide.
Download and execute GActions
In this step you need to download a Google application called ‘gactions’. You are doing this in the SSH session. Make sure you are in the same working directory as the previous page.
Copy the command that matches closet to your Home Assistant setup (The computer where Home Assistant is installed) and run it in your SSH session.
Run the modified commandline in your SSH window (in the same directory where project.json is).
You’d be prompted to enter an authorization code. Above this prompt is a unique URL for your Actions app (see red box below).
To get your authorization. Copy the URL (see red box) and paste it into your browser. You should see a screen like the following. Sign in with the same account your Google Home/Mini is registered to:
Click ‘Allow’.
The next screen should give you an authorisation code. Copy that code:
and paste it into the SSH session (step 3, where gactions is waiting for it). If everything works, gactions will exit with the following message:
Your app for the Assistant for project home-assistant-XXXXX was successfully updated with your actions. blah blah
The message also has a URL for you. Copy that URL to the clipboard.
Confused? You have just created a new Google Actions app and authorized it to view and manage actions. So far so good, next configure this Actions app.
Founder and lead architect of Snakeoil OS - the ultimate audiophile operating system for music playback. My primary focus is in applying technology without losing the human touch.
Hi, nice , very interesting project, appreciate that. Can you give me an advice.
After I applied your walkthrough. Im not able to see any devices. Once Ive executing add device from google assistant
link opens
Hi, nice , very interesting project, appreciate that. Can you give me an advice. After I applied your walkthrough. Im not able to see any devices. Once Ive executing add device from google assistant link opens
https://xxxxxxxxxxx:8123/api/google_assistant/auth?api_password=xxxxxxxxxxx&response_type=token&client_id=xxxxxxxxxxxxxxxx&redirect_uri=https://oauth-redirect.googleusercontent.com/r/home-assistant-8a435&state=CswCQU52dW5IUkFpX0cwREJIVko5ZDFKeDY5STFkZ3hNUnNnQUdfcWY0OTBvTEJyamxKRm9mdzFiaEhYNHdGOUNyT1ozNkVKb2xrdkRvRGdWNU9kZEcwWnFuR0YxckJRaWNQM2NQZnIza1FxVGFGNkpDYkRGcXlwaVBnYUVfMU1kVlFEN2lXZ1VEVUNnQWlHWFBSYklXVzlwVk45MGYwOFltZ242SFF4OFFBLW13SjdVbHV1VktPMTFZX0o1aUhiN3ZCVXJ4YVZrY21oemdwaWhpZ1dtTXNFTEZLNGUtZzNfdjgycjQyMFRWaS0tdi1MaUJCTVQxMGFub29XMkdHUHh3VS1GR1lWdzZ5UjItZjY3Y1F5bjNWMUhGaEtvOS12RXpXSmtOLUdQODJJeUpobHUxWDAzYkdhSjJoQ0NSeGdNekNGdEp4aGtWLXlXMksSHGFzc2lzdGFudC1oYW5kb2ZmOi8vY29tcGxldGUiQ2h0dHBzOi8vb2F1dGgtcmVkaXJlY3QuZ29vZ2xldXNlcmNvbnRlbnQuY29tL3IvaG9tZS1hc3Npc3RhbnQtOGE0MzUqFUtMZXdhbmRvd3NrQGdtYWlsLmNvbTIYaG9tZS1hc3Npc3RhbnQtOGE0MzVfZGV2#xxxxxxxxx
and I see a message{"message":"missing project_id in redirect_uri"}