-
Notifications
You must be signed in to change notification settings - Fork 166
How to use Google Home
How to use Google Home
**Zoom if you cannot read 👓 **
-
Create a Sinric.com account if you do not ****have one already
-
Click Add
-
Name the project Sinric
- Takes few seconds to create the project
- Now you are on the home screen. Click Home Control
- Click Home Control
- Click Name your Smart Home Action
-
Name it Sinric. (or whatever you want to call it) Click Save (upper right)
-
Click "Setup Account Linking"
-
Select No
-
Select OAuth and Autherization Code
-
Copy Client ID and Client Secret from Sinric website
-
Paste it accordingly and click next Note: If you have not generated keys already, click Generate button to generate keys
Authorization URL: https://google.sinric.com/oauth
Token URL: https://google.sinric.com/token
-
Enter user. Click next
-
Enter test. Click Save
-
Select Actions under Build from left hand menu. Click Add your first action
Click Done.
- Go back to "Account Linking" and click Test. This is very important. Otherwise, action does not appear in the app
This will deploy and now you can start testing
-
Open your Google Home mobile app. If you do not have it you must install it. Click Profile icon. Click More Settings in Assistant tab and select Home Control
-
Now you should see Sinric (or the name of the action you entered earlier)
-
Click on Sinric. Use your sinric.com credentials to log in.
-
Click Login. Now you should be presented with link successful message.
If you receive redirect error. Click Done.
"401. That’s an error. Your client does not have permission to the requested URL /services/auth/handoffs/auth/complete?state=[removed for security reasons]&code=GkVB27sY&return_url=comgoogleopa://settings/handoff. That’s all we know. "
Solution 1. Link again then you will see success message.
Solution 2. iOS Home Screen -> Settings -> Safari -> Tap "Clear History and Website Data" and try again.
-
Here is how to connect and control example for ESP devices. https://github.com/kakopappa/sinric/blob/master/arduino_examples/google_home_switch_example.ino
-
Google Home Graph. Every time when you add a new device or remove an existing device in Sinric, Sinric must notify the Google about the change via "Request Sync" command. For Sinric to contact Google it requires an API key from Google.
Goto https://developers.google.com/actions/smarthome/develop/request-sync
Without this when you add or remove a device you must sync in order to see the change you made in the Google Home app to do that
-
You must unlink the account and relink the account.
-
You can ask Google Home to sync eg: "hey, google sync my devices"