projects:internetofthings:googlehome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:internetofthings:googlehome [2018/06/20 14:50] denfraprojects: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 Homegraph API to the new project.+  * Enable HOMEGRAPH API to the new project.
  
-  * Generate a new API key (the same Api key of api_key: in google_assistant.yaml) 
  
-  * IAM E amministrazione/impostazioni/ESEGUI LA MIGRAZIONE (By this, they share the same project_id request in google_assistant.yaml)+{{:projects:internetofthings:homegraphapi.png?nolink&400|}}
  
 +  * Generate a new API key (the same Api key of api_key: in google_assistant.yaml)
  
-  * Unordered List ItemCreate a new project in the developer console.[[https://console.actions.google.com]] +  * IAM E amministrazione/impostazioni/ESEGUI LA MIGRAZIONE (By this, they share the same project_id request in google_assistant.yaml) 
-  - Ordered List Itema. Add/Import project, give it a name (The same project created by the Google Cloud platform above) +{{:projects:internetofthings:impostazioni_progetto.png?nolink&400|}} 
-  - Ordered List ItembClick on Home Control card, select the Smart home recommendation +{{:projects:internetofthings:migrazione.png?nolink&400|}} 
-  - Ordered List Itemc. Create an Action, under the build section. Add in your  url: https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant, replace the [YOUR HOME ASSISTANT URL:PORT] with the domain / ip address and the port under which your Home Assistant is reachable. If you have set api_password: add this password to the URL eg https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant?api_password=[YOUR API PASSWORD]) +  * Create a new project in the developer console.[[https://console.actions.google.com]]  
-  - Unordered List Item  - Ordered List Itemd. Click Done. Then click on Overview, which will lead you back to the app details screen+  Add/Import project, give it a name (The same project created by the Google Cloud platform above) 
-  * Unordered List ItemAccount linking is required for your app to interact with Home Assistant. Set this up under the Quick Setup section    +{{:projects:internetofthings:addproject.png?nolink&400|}} 
-  - Ordered List Itema. Leave it at the default No, I only want to allow account creation on my website and select Next +  *  Create an Action, under the build section. Add in your url: https://ha.csgalileo.org/ha-albertofiocco/api/google_assistant  
-  - Ordered List Itemb. For the Linking type select OAuth and Implicit +   Click **Done** 
-  - Ordered List Itemc. Client ID: The client_id from your Home Assistant configuration above +   
-  - Ordered List Itemd. Authorization URL (replace with your actual URL): https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant/authIf you have set api_password: add this password to the URL https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant/auth?api_password=[YOUR API PASSWORD]) +   
-  - Ordered List Iteme. Configure your client. Add scopes for email and name. +  * ACCOUNT LINKING   
-  - Ordered List Itemf. Testing instructions: Enter anything. It doesn’t matter since you won’t submit this app. +  - Leave it at the default No, I only want to allow account creation on my website and select Next 
-  * Unordered List ItemBack on the overview page. Click Simulator under TEST - you don’t have to actually test . +  - For the Linking type select **OAuth** and **Implicit** 
-  * Unordered List ItemIf you haven’t already added the component configuration to configuration.yaml and restarted Home Assistant, you’ll be unable to continue until you have. +  - Client ID: The client_id from your google_assistant.yaml 
-  * Unordered List ItemOpen the Google Assistant app and go into Settings > Home Control +  - Authorization URL: https://ha.csgalileo.org/ha-albertofiocco/api/google_assistant/auth?api_password=casafioccoalberto 
-  * Unordered List ItemClick 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. +  - CONfigure your client. Add scopes for **email** and **name**
-  * Unordered List ItemIf you want to allow other household users to control the devices: +  - Testing instructions: Enter anything. It doesn’t matter since you won’t submit this app. 
-  - Ordered List Itema. Go to the settings for the project you created in point 1 in the developer console. +   
-  - Ordered List Itemb. Under the gear icon, click Permissions +   
-  - Ordered List Itemc. Click Add, type the new user’s e-mail address and choose Project -> Editor role +  * Back on the overview page. Click **TEST** 
-  -   - Ordered List Itemd. Have the new user go to developer console and repeat steps starting from point 4 +   
-===== google_assistant.yaml =====+  * 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. 
 +==== google_assistant.yaml ====
 <code> <code>
 google_assistant: google_assistant:
Line 60: Line 61:
       room: living room       room: living room
 </code> </code>
-   * Reset Home Assistant and TEST Action+  
 +  * 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.
  
  • projects/internetofthings/googlehome.1529499038.txt.gz
  • Last modified: 2018/06/20 14:50
  • by denfra