Created At

Apr 25, 2021

Last Update

Jan 24, 2023

Platforms

HC 3 Lite, Yubii Home, HC 3

Views

2056

Download

166

Type Quick App

Version: 1.1.0

It's a Quick App for Nest Thermostat.

The features are

  • change the heating point
  • change the cooling point (if thermostat support it)
  • change mode (off, heat, cool, manual eco)
  • get mode
  • get ambiant temperature
  • get ambiant humidity
  • display if thermostat is actively heating

 

IF YOU HAVE INSTALLED OLDER VERSION of this QuickApp, it is recommended to remove all old versions, then to install and configure all from scratch.

 

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

 

Changelog

  • Version 1.1.0

Add cooling support (if thermostat support it)

Display if thermostat is actively heating

Round the temperature value to one decimal place

 

  • Version 1.0.0

Supported mode: Off, Heat, Manual Eco

Get ambiant humidity and Temperature

16 Comments,  Want to add comment please login
2c116bd3690061d082e76cf85eeec97f

Hi Peter. The line 223 correspond to the creation of the widget of type "com.fibaro.hvacSystemHeat". Perhaps this type does not exist in Z-Box. In the version 1.1.0, I have change the type to "com.fibaro.hvacSystemAuto". Can you try with this new version ? Perhaps this type of widget exists in Z-Box. (I have not this box, so I couldn't help much more)

2c116bd3690061d082e76cf85eeec97f

Hi Grzegorz. The new version 1.1.0 adds the following functionalities: round the temperature value to one decimal and display if the thermostat is actively heating. The active status is display below the icon (similar to the state of lights or the state of rolling shutters). It is not possible to configure the icon color. The color depends of the temperature set point.

0b87f5886d1ac229b6aafa3302604f0e

Hello, Guillaume. I have a Z-Box Hub which is compatible with the HC3 (I think). Have you any experience with this hub? I have gone through the steps you outline and have all my Nest integrations done, I think. When I upload the nest.fqa file everything looks good but the console shows an "app crashed" error message for line 233. Thank you for your patience.

2c116bd3690061d082e76cf85eeec97f

Hello Grzegorz. I will look to round the temperature value to one decimal. Currently, only the thermostat mode is retrieved. I will check if it is possible to get the real state of the thermostat.

2c116bd3690061d082e76cf85eeec97f

Hello Stephan. If you can see the temperature, all is correctly configured. The refresh rate is configured by default with 60s. You can check in the fibaro's console log if connection errors with the Nest API occur. The problem can come from the internet connection of the box or with the Nest API. You have a dashboard at https://console.cloud.google.com/apis/ that displays API errors and latency.