Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:internetofthings:googlehome [2018/06/20 15:03] – denfra | projects:internetofthings:googlehome [2018/06/21 19:31] (current) – denfra | ||
---|---|---|---|
Line 10: | Line 10: | ||
* Now you get a new project to the cloud console. Here you get a new project_id. | * Now you get a new project to the cloud console. Here you get a new project_id. | ||
- | * Enable | + | * Enable |
- | * Generate a new API key (the same Api key of api_key: in google_assistant.yaml) | ||
- | * IAM E amministrazione/ | + | {{: |
+ | * Generate a new API key (the same Api key of api_key: in google_assistant.yaml) | ||
- | * Create a new project in the developer console.[[https:// | + | |
- | | + | {{: |
- | - Click on Home Control card, select the Smart home recommendation | + | {{: |
- | | + | |
- | | + | |
+ | {{: | ||
+ | | ||
+ | | ||
| | ||
| | ||
- | * Account linking is required for your app to interact with Home Assistant. Set this up under the Quick Setup section | + | * ACCOUNT LINKING |
- Leave it at the default No, I only want to allow account creation on my website and select Next | - Leave it at the default No, I only want to allow account creation on my website and select Next | ||
- | - For the Linking type select OAuth and Implicit | + | - For the Linking type select |
- | - Client ID: The client_id from your Home Assistant configuration above | + | - Client ID: The client_id from your google_assistant.yaml |
- | - Authorization URL (replace with your actual URL): https://[YOUR HOME ASSISTANT URL: | + | - Authorization URL: https://ha.csgalileo.org/ha-albertofiocco/ |
- | - CONfigure your client. Add scopes for email and name. | + | - CONfigure your client. Add scopes for **email** and **name**. |
- Testing instructions: | - Testing instructions: | ||
| | ||
| | ||
- | * Back on the overview page. Click Simulator under TEST - you don’t have to actually test . | + | * Back on the overview page. Click **TEST** |
+ | | ||
* If you haven’t already added the component configuration to configuration.yaml and restarted Home Assistant, you’ll be unable to continue until you have. | * If you haven’t already added the component configuration to configuration.yaml and restarted Home Assistant, you’ll be unable to continue until you have. | ||
- | * Open the Google Assistant app and go into Settings > Home Control | + | ==== google_assistant.yaml ==== |
- | * Click the + sign, and near the bottom, you should have [test] your app name. Selecting that should lead you the screen where you can set rooms for your devices or nicknames for your devices. | + | |
- | * If you want to allow other household users to control the devices: | + | |
- | - GO to the settings for the project you created in point 1 in the developer console. | + | |
- | - UNder the gear icon, click Permissions | + | |
- | - Click Add, type the new user’s e-mail address and choose Project -> Editor role | + | |
- | - Have the new user go to developer console and repeat steps starting from point 4 | + | |
- | + | ||
- | + | ||
- | ===== google_assistant.yaml | + | |
< | < | ||
google_assistant: | google_assistant: | ||
Line 66: | Line 61: | ||
room: living room | room: living room | ||
</ | </ | ||
- | * Reset Home Assistant and TEST Action | + | |
+ | | ||
+ | |||
+ | * Open the GOOGLE HOME APP and go into Settings > Home Control | ||
+ | |||
+ | * Click the + sign, and near the bottom, you should have [test] your app name. Selecting that should lead you the screen where you can set rooms for your devices or nicknames for your devices. | ||
+ | |||
+ | * If you want to allow other household users to control the devices: | ||
+ | - GO to the settings for the project you created in point 1 in the developer console. | ||
+ | - UNder the gear icon, click Permissions | ||
+ | - Click Add, type the new user’s e-mail address and choose Project -> Editor role | ||
+ | - Have the new user go to developer console and repeat steps starting from point 4 | ||
+ | |||
+ | |||
* Open the Google Assistant app and go into Settings > Home Control | * Open the Google Assistant app and go into Settings > Home Control | ||
+ | |||
* Click the + sign, and near the bottom, you should have [test] your app name. Selecting that should lead you the screen where you can set rooms for your devices or nicknames for your devices. | * Click the + sign, and near the bottom, you should have [test] your app name. Selecting that should lead you the screen where you can set rooms for your devices or nicknames for your devices. | ||