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.
Enter Your GActions Details
Now that you have built the Action app. You’re ready to enter some basic details to get it all working. You’re doing this in the web browser.
Paste the URL you’ve copied from the previous page into your web browser.
You’re now at step 2. Click the ‘Edit’ button:
Fill in all the details - Name, Details, Images, Contact Details, Privacy and Consent. You also need to upload two pictures. Enter anything you want in these fields. It does not really matter because you are not going to submit this project for approval.
After entering all the details, click the ‘Save’ button at the bottom of the page.
Click the back arrow (←) to return to the overview page and proceed to step 3 - Account Linking. Click the ‘Add’ button.
Set the ‘Grant Type’ to ‘Implicit’, and choose ‘Next’.
Here you specify a Client ID and authorisation URL.
Client ID is an unique string that identifies your Home Assistant to Google Assitant. You have previously generated the password in page 3 of this tutorial. Copy and paste it here.
Authorisation URL is the following. Change it to reflect your Home Assistant URL/Port and API password:
https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant/auth?api_password=API_PASSWORD
API_PASSWORD is your Home Assistant password. Check your configural.yml if you cannot remember what it is. If you do not have a API_PASSWORD setup, please add one now.
Click ‘Next’ after you have entered the two fields.
Add two scopes, ‘name’ and ‘email’, like so:
Make sure you have clicked the ‘Add Scope’ button for your second field. Click ‘Next’ to continue.
Enter any thing you like in ‘Testing Instructions’, and click the ‘Save’ button at the bottom of the page:
Do not click the ‘Submit Draft For Review’. It will not be accepted anyway since you did not enter any valid information.
Return back to the Overview page, and click the ‘Test Draft button’:
And your application now be ready and running. It is time for some encouraging words again. If you have reached this step (and in good time), give yourself a pat in the back! It took me nearly a week to get to this stage!
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"}