Created At

Apr 25, 2021

Last Update

Jan 24, 2022

Platforms

HC 3 Lite, HC 3

Views

428

Download

36

Type Quick App

It's a Quick App for Nest Thermostat.

The features are

  • change the heating point
  • change mode (off, heat, manual eco)
  • get state
  • get ambiant temperature
  • get ambiant humidity

 

Required

Create a Google Device Nest Account in https://developers.google.com/nest/device-access

Follow the QuickStart in https://developers.google.com/nest/device-access/get-started

Link your account in https://developers.google.com/nest/device-access/authorize

(Account permissions requirement: access and control your thermostat)

Variables

 
Name Description Exemple of value
projectId Id of the project created in https://console.nest.google.com/device-access/project-list  
clientId OAuth2 Client ID created in https://console.developers.google.com/apis/credentials  
clientSecret OAuth2 Client ID created in https://console.developers.google.com/apis/credentials  
code Authentication code

Set 'xxx' for the fisrt time. See below

frequency delay in second to refresh the value 60
refreshToken OAuth2 refresh token Automatically retrieve. Set it to 'xxx' for the fisrt time

 

How to get the Authentication code:

A notification will give you the URL to generate the code. During the process you need to authorize the Quick App to access and control your thermostat.

At the end of the process, you will get an url such as https://www.google.com/?code=4/xxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&scope=https://www.googleapis.com/auth/sdm.service.

The code is in red. You need to copy it inside the parameter 'code'.

 

Source: https://github.com/GuillaumeWaignier/fibaro/tree/master/quickApp/Nest

 

0 Comments,  Want to add comment please login
Load more comments