![]() ![]() ![]() ![]() One important point is that you need to register for the API with the same Google account as the one you use for your Nest account. Step 9: Activate your Nest device(s) when prompted during project creation Step 8: When prompted, add the OAuth client ID from your Google Cloud project to this new Smart Device project. Step 7: Back in your Device Access Console, create a new project: You want the ID of the script attached to the Google Sheet you created in step 5 for this project. Replace with your actual script ID, which can be found under the Settings menu on left hand side of the Apps Script Editor. Step 6: Add a redirect URI for the project to your Google Cloud Project, which takes the form: Step 5: Create a new Google Sheet (pro tip: type sheet.new into your browser!). Step 4: Create OAuth credentials for this project in your Google Cloud Console. Step 3: Enable the Smart Device Management API in Google Cloud Console for this project. Step 2: In your Google Cloud Console, create a new project. Step 1: Register for the Device Access Program, which incurs a non-refundable $5 fee. There are a number of steps you have to complete before you can access the SMD API. If you’re new to Apps Script, have a read of my beginner’s guide to Google Apps Script. In this tutorial, we’ll look at how to connect to the Smart Device Management (SMD) API to access data from Nest Thermostats, using Apps Script. It meant individuals could connect to their smart home devices via the Smart Device Management API. In September 2020, Google launched the Device Access Console for Nest Devices. ![]() More practically, you can log the temperature (first chart) and humidity inside your home: Home Nest Thermostat Temperature Log Home Nest Thermostat Humidity Log Smart Device Management API (I’ll show you how to create this below.) Zooming in, this is simply a pixel art image of a Nest device, in my Google Sheet: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |