cancel
Showing results for 
Search instead for 
Did you mean: 

Use of Google Smart Home API SDK

Sting
Community Member

How does Android development discover Nest hub devices and bind them to accounts through Google Smart Home API SDK?

1 Recommended Answer

Suc_dpe
Solutions Expert
Solutions Expert

Device discovery and account binding through the Google Smart Home API SDK on Android follows a specific flow:

  1. First, users authenticate with their Google account through OAuth 2.0
  2. Your app then uses the Home Graph API to retrieve the structure data (homes and devices)
  3. Device discovery is handled through the SYNC intent, which returns all devices accessible to that user's account

For detailed implementation instructions and code samples, please refer to the official documentation at: https://developers.home.google.com/cloud-to-cloud/guides

The specific section on device discovery and syncing can be found in the Cloud-to-Cloud integration guides within this documentation. This should provide the proper implementation steps for discovering Nest hub devices and binding them to user accounts.

View Recommended Answer in original post

3 REPLIES 3

Suc_dpe
Solutions Expert
Solutions Expert

Device discovery and account binding through the Google Smart Home API SDK on Android follows a specific flow:

  1. First, users authenticate with their Google account through OAuth 2.0
  2. Your app then uses the Home Graph API to retrieve the structure data (homes and devices)
  3. Device discovery is handled through the SYNC intent, which returns all devices accessible to that user's account

For detailed implementation instructions and code samples, please refer to the official documentation at: https://developers.home.google.com/cloud-to-cloud/guides

The specific section on device discovery and syncing can be found in the Cloud-to-Cloud integration guides within this documentation. This should provide the proper implementation steps for discovering Nest hub devices and binding them to user accounts.

abdulaminaminkh
Community Member

Thank you so much for Google smart Home.

Ilove to Google Smart Home