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

6862

Download

464

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

35 Comments,  Want to add comment please login
2c116bd3690061d082e76cf85eeec97f

I have added a Troubleshooting section dedicated to the pubsub (camera/doorbell) on this page: https://github.com/GuillaumeWaignier/fibaro/blob/master/quickApp/Nest/doc/pubsub.md Let me know if this helps

Dae2d19327649f442fcb905328d7467a

I am having the same issue as the last user. I have everything working for the Nest Thermostats, but I cannot get the cameras to work. Getting the same error: getPubSubEvent() status is 403: { "error

9f169c6ae4b0bf8de2c8e173a19371f2

Hello, I tried every steps and It work very well for my Nest Thermostat but not for the Cameras I've this error : getPubSubEvent() status is 403: { "error Didn't see it in the Troubleshooting space Thanks you a lot for the pluging ! !

2c116bd3690061d082e76cf85eeec97f

Hello, You can find a detailed installation guide at the following link: https://github.com/GuillaumeWaignier/fibaro/blob/master/quickApp/Nest/README.md This webpage also includes troubleshooting information. The gcpProjectId and subscription are only used for the camera and do not prevent link generation. To debug, you can check the logs in the Fibaro console. What logs do you have?

D31e53384ad8ed355e8728473048311f

Hello Guillaume, Thank you for the QA, I am struggling to make it work. I added all the steps, but my HC3 is not trying to connect, so i am not getting the link. I got my code from Google and put it in the device variables, but that didn't work too.... My GcpProjectId dosn't start with Domotique....... is that the issue? and if yes, how to fix it please?

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