Created At

Apr 25, 2021

Last Update

Sep 12, 2023

Platforms

HC 3 Lite, Z-box Hub, Yubii Home Pro, Yubii Home, HC 3

Views

5192

Download

355

Type Quick App

Version: 1.3.1

Features

It's a Quick App for Nest Devices. It supports:

  • Nest Thermostat
  • Nest Camera
  • Nest Doorbell

screen_nest

screen_nest

The features are:

  • Nest Thermostat: change the heating/cooling point, mode (off, heat, cool, manual eco), get ambiant temperature/humidity
  • Nest Camera: detect motion of person
  • Nest Doorbell: doorbell chime

Requirement

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, know when an event occurs with your camera (motion of person), know when a person press the doorbell 

Variables

 

Name

Description

projectId

"Project ID" created in https://console.nest.google.com/device-access/project-list

clientId

"OAuth 2.0 Client ID" created in https://console.developers.google.com/apis/credentials

clientSecret

"Client Secret" created in https://console.developers.google.com/apis/credentials

code

"Authentication code". Set xxx for the first time and see below

gcpProjectId

Only used for camera and doorbell (See below). Else leave empty

subscription

Only used for camera and doorbell (See below). Else leave empty

frequency

Delay in second to refresh the value

refreshToken

OAuth2 refresh token. Set it to '-'

Parameters

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 wanted devices.

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'.

Only for Camera and doorbell

Follow the steps explained in https://developers.google.com/nest/device-access/subscribe-to-events. When you have created your Pub/Sub Subject. You writte this command in Google Cloud Shell (replace the subject with yours)

gcloud pubsub subscriptions create fibaro --topic=projects/sdm-prod/topics/enterprise-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Detailled installation and troubleshooting

You can have more detailled installation at the following URL:

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

Changelog

v1.3.1 - 09/2023

  • Fix bug for Nest Camera

v1.3 - 08/2023

  • Add support for Nest Camera
  • Add support for Nest Doorbell
  • No change for Nest Thermostat

v1.2 - 02/2023

  • Celsius and Fahrenheit support
  • Fix bug in cooling feature
  • Add support for Z-Box hub

 v1.1 - 01/2023

  • Add cooling support (if thermostat support it)
  • Display if thermostat is actively heating
  • Round the temperature value to one decimal place

 v1.0 - 01/2022

  • Supported mode: Off, Heat, Manual Eco
  • Get ambiant humidity and Temperature

28 Comments,  Want to add comment please login
14f31fa6d2fa88e713a6d84e3b11cf05

is there someone who have the solution with Fibaro HC2 in combination with Nest thermostate?

Fc64fc23da0ffa82b6d4693f2ac11ff8

Is it compatible with multiple Nest thermostats in the same house and linked to the same account?

2c116bd3690061d082e76cf85eeec97f

I haven't tested it with multiple thermostats, but normally it should work. It will create a widget for each thermostat in the same account. If there is a bug, let me know so I can fix it.

Fc64fc23da0ffa82b6d4693f2ac11ff8

I have followed all the steps and the 3 thermostats that I have associated in the same account have been created correctly. The only problem I see is that in the preview of each one they appear without buttons to adjust the mode (ECO/Manual/...) or the temperature. The rest of the information (temperature, humidity and the icon is green with the temperature and the activated mode) are working correctly. I deleted everything and started again twice in case it was an authentication problem but I still don't see any buttons to adjust the thermostats.

2c116bd3690061d082e76cf85eeec97f

Are you using the web interface or Android or iPhone ? On the web interface, you need to click on the eye at the top right of the thermostat icon in order to open a panel at the right. The control buttons are in this panel.

© 2024. Nice-Polska Sp. z o.o.Privacy policyTerms & ConditionsFeedback