# Google Nest SDM

**URL:** <https://community.homey.app/t/google-nest-sdm/43087>\
**Category:** Apps\
**Tags:** tools\
**Created:** [February 16, 2021, 10:48am UTC](https://community.homey.app/t/google-nest-sdm/43087 "2021-02-16T10:48:22Z")\
**Posts on this page:** 20\
**Page:** 42

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [January 29, 2024, 8:56pm UTC](https://community.homey.app/t/google-nest-sdm/43087/854 "2024-01-29T20:56:38Z")

</div>

I guess when your homey is offline for a while you get charged for this over 24 hours topic messages

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [January 29, 2024, 9:26pm UTC](https://community.homey.app/t/google-nest-sdm/43087/855 "2024-01-29T21:26:57Z")

</div>

there are two types , pull and push.

you only set the ack deadline and message retention for Pull, these are at 30s and 600s in the app.

for push messages, these are sent to homey webhook endpoint service, not your own homey. Need to check on this but pretty sure i cannot even set the retention in the app for this.

---

<div class="post-metadata">

**Author:** ![Wim\_van\_Bezouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_van_bezouw/32/76286_2.png) [@Wim\_van\_Bezouw](https://community.homey.app/u/Wim_van_Bezouw)\
**Post date:** [February 4, 2024, 11:25am UTC](https://community.homey.app/t/google-nest-sdm/43087/856 "2024-02-04T11:25:00Z")

</div>

A few days ago I installed this app and added 3 Nest Protects. No problem, running, connecting and reporting just fine. Today I got a new Nest Thermostat V3 but when I want to add it to Homey I get the error in the screenshot. I log in and get the error 'Something went wrong.

 ![Nest app](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d23c36ace3cf88785911fee30b333a55985cf1a6.png)  
 ![Nest error](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5f2112947e8e970f5c73995a080023aeb09ba7c8.png)  
 ![Nest Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/fe233334eae23524d7c4f0e4db20a8000260d431.png)

Any ideas what’s going wrong?  
Cheers,  
Wim

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [February 4, 2024, 1:05pm UTC](https://community.homey.app/t/google-nest-sdm/43087/857 "2024-02-04T13:05:19Z")

</div>

Nest protects go via the legacy nest method for Auth.

All others go via Nest SDM API.

Did you complete the SDM setup?

---

<div class="post-metadata">

**Author:** ![Wim\_van\_Bezouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_van_bezouw/32/76286_2.png) [@Wim\_van\_Bezouw](https://community.homey.app/u/Wim_van_Bezouw)\
**Post date:** [February 4, 2024, 3:35pm UTC](https://community.homey.app/t/google-nest-sdm/43087/858 "2024-02-04T15:35:36Z")

</div>

Hi Martin, I don’t know. Probably not. Can you show me in a direction?

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [February 4, 2024, 3:50pm UTC](https://community.homey.app/t/google-nest-sdm/43087/859 "2024-02-04T15:50:51Z")

</div>

It is in the app setup…

> **[Wat is Google Nest SDM?](https://martin-verbeek.gitbook.io/homey-google-nest-sdm/nederlandse-gids/wat-is-google-nest-sdm)**

---

<div class="post-metadata">

**Author:** ![Wim\_van\_Bezouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_van_bezouw/32/76286_2.png) [@Wim\_van\_Bezouw](https://community.homey.app/u/Wim_van_Bezouw)\
**Post date:** [February 4, 2024, 5:58pm UTC](https://community.homey.app/t/google-nest-sdm/43087/860 "2024-02-04T17:58:32Z")

</div>

Hi Martin,  
this is the part that I do not get and the error "Something went wrong: pops up.

 ![sdm](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a0ff3c5065f36b93338488bc76f499ae0f3fbf78.png)  
So I should get that but it’s no show.

---

<div class="post-metadata">

**Author:** ![Wim\_van\_Bezouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_van_bezouw/32/76286_2.png) [@Wim\_van\_Bezouw](https://community.homey.app/u/Wim_van_Bezouw)\
**Post date:** [February 4, 2024, 6:03pm UTC](https://community.homey.app/t/google-nest-sdm/43087/861 "2024-02-04T18:03:32Z")

</div>

Can you comfirm that this should be okay or have I filled in something wrong?

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [February 4, 2024, 6:21pm UTC](https://community.homey.app/t/google-nest-sdm/43087/862 "2024-02-04T18:21:09Z")

</div>

Onderste project id lijkt me niet goed, dat moet een lange string met streepjes zijn. De bovenste is degene die je op de onderste moet hebben.

Dus bovenste id is niet goed

---

<div class="post-metadata">

**Author:** ![Wim\_van\_Bezouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_van_bezouw/32/76286_2.png) [@Wim\_van\_Bezouw](https://community.homey.app/u/Wim_van_Bezouw)\
**Post date:** [February 4, 2024, 7:15pm UTC](https://community.homey.app/t/google-nest-sdm/43087/863 "2024-02-04T19:15:34Z")

</div>

Hoi Martin, thanks, daarmee was het opgelost! Alles komt tevoorschijn en lijkt te werken. Maar in de app zie ik dit. Enig idee hoe dat te verhelpen?

 ![SDM error](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/7/d7ac32441f8c8c4f03e36fdf222233b630f24476.png)

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [February 4, 2024, 7:27pm UTC](https://community.homey.app/t/google-nest-sdm/43087/864 "2024-02-04T19:27:32Z")

</div>

Doe eens een herstart van de app. Even kijken of dat dit oplost. Hoor je eigenlijk niet te krijgen…

---

<div class="post-metadata">

**Author:** ![Wim\_van\_Bezouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_van_bezouw/32/76286_2.png) [@Wim\_van\_Bezouw](https://community.homey.app/u/Wim_van_Bezouw)\
**Post date:** [February 4, 2024, 7:42pm UTC](https://community.homey.app/t/google-nest-sdm/43087/865 "2024-02-04T19:42:48Z")

</div>

Ik heb de app herstart en dat hielp niet. Homey herstart en dat hielp ook niet. Hieronder het bovenste stuk van het log.

undefined2024-02-04T19:39:22.956Z [log] [NestApp] initNestLegacy() Authorized

2024-02-04T19:39:22.952Z [log] auth() NEST Legacy Authentication successful.

2024-02-04T19:39:19.023Z [err] [NestApp] checkOnCloud() Create Cloud problem Error: checkGCPProject() 400 Bad Request, did you copy the correct projectID? ID found is [Homey SDM app]

at NestApp.checkGCPProject (/app/app.js:724:10)

at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)

at async NestApp.createCloud (/app/app.js:704:3)

2024-02-04T19:39:18.899Z [log] NEST Legacy Authenticating via Google using Google.auth.

2024-02-04T19:38:44.297Z [log] [NestApp] initNestLegacy() Authorized

2024-02-04T19:38:44.291Z [log] auth() NEST Legacy Authentication successful.

2024-02-04T19:38:40.078Z [err] [NestApp] checkOnCloud() Create Cloud problem Error: checkGCPProject() 400 Bad Request, did you copy the correct projectID? ID found is [Homey SDM app]

at NestApp.checkGCPProject (/app/app.js:724:10)

at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)

at async NestApp.createCloud (/app/app.js:704:3)

2024-02-04T19:38:39.575Z [log] [ManagerDrivers] [Driver:thermostat] [Device:d2011186-7c23-43ef-a54f-234d80e8119e] onOAuth2Init() -\> success

2024-02-04T19:38:39.573Z [log] [ManagerDrivers] [Driver:thermostat] [Device:d2011186-7c23-43ef-a54f-234d80e8119e] onOAuth2Init()

2024-02-04T19:38:39.561Z [log] [ManagerDrivers] [Driver:protect] [Device:4b28f85c-c20b-46af-8416-fd0097d8f6f2] Init device Upstairs

2024-02-04T19:38:39.542Z [log] [ManagerDrivers] [Driver:protect] [Device:42b18302-a58b-47f8-8466-167dcf84ac4d] Init device Hallway

2024-02-04T19:38:39.540Z [log] [ManagerDrivers] [Driver:protect] [Device:3a23c5b0-6112-417c-a55c-79859ed0ab42] Init device Attic

2024-02-04T19:38:39.223Z [log] [NestApp] setHomeyWebhook() -\> created webHook

2024-02-04T19:38:38.358Z [log] [ManagerDrivers] [Driver:thermostat] onOAuth2Init() -\> success

2024-02-04T19:38:38.330Z [log] [ManagerDrivers] [Driver:thermostat] onOAuth2Init()

2024-02-04T19:38:38.326Z [log] [ManagerDrivers] [Driver:protect] Init Driver Nest Protect

2024-02-04T19:38:38.295Z [log] [ManagerDrivers] [Driver:hub] onOAuth2Init() -\> success

2024-02-04T19:38:38.292Z [log] [ManagerDrivers] [Driver:hub] onOAuth2Init()

2024-02-04T19:38:38.278Z [log] [ManagerDrivers] [Driver:doorbell] onOAuth2Init() -\> success

2024-02-04T19:38:38.278Z [log] [ManagerDrivers] [Driver:doorbell] onOAuth2Init()

2024-02-04T19:38:38.277Z [log] [ManagerDrivers] [Driver:camera] onOAuth2Init() -\> success

2024-02-04T19:38:38.267Z [log] [ManagerDrivers] [Driver:camera] onOAuth2Init()

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [February 4, 2024, 7:54pm UTC](https://community.homey.app/t/google-nest-sdm/43087/866 "2024-02-04T19:54:50Z")

</div>

Zo te zien heb je de naam van het GCP project gekopieerd en niet het project id

---

<div class="post-metadata">

**Author:** ![Wim\_van\_Bezouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_van_bezouw/32/76286_2.png) [@Wim\_van\_Bezouw](https://community.homey.app/u/Wim_van_Bezouw)\
**Post date:** [February 4, 2024, 8:47pm UTC](https://community.homey.app/t/google-nest-sdm/43087/867 "2024-02-04T20:47:55Z")

</div>

Sorry, maar waar vind ik dat Project ID? Ik zoek me kwijt.

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [February 4, 2024, 9:04pm UTC](https://community.homey.app/t/google-nest-sdm/43087/868 "2024-02-04T21:04:45Z")

</div>

> **[Google Cloud Platform](https://accounts.google.com/v3/signin/identifier?continue=https%3A%2F%2Fconsole.cloud.google.com%2F&followup=https%3A%2F%2Fconsole.cloud.google.com%2F&ifkv=ASKXGp2-9-YgiN19QxWS_9goWvJ5WsT9Z-UOKt5d0poMuWGKWnJ0cM54hR0FYsZul2e0NLKgKmwm&osid=1&passive=1209600&service=cloudconsole&flowName=GlifWebSignIn&flowEntry=ServiceLogin&dsh=S2080712524%3A1707080686230428&theme=glif)**
>
> Google Cloud Platform lets you build, deploy, and scale applications, websites, and services on the same infrastructure as Google.

---

<div class="post-metadata">

**Author:** ![Wim\_van\_Bezouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_van_bezouw/32/76286_2.png) [@Wim\_van\_Bezouw](https://community.homey.app/u/Wim_van_Bezouw)\
**Post date:** [February 4, 2024, 9:07pm UTC](https://community.homey.app/t/google-nest-sdm/43087/869 "2024-02-04T21:07:21Z")

</div>

Thanks, gevonden!  
Bedankt voor je hulp, Martin!

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [February 5, 2024, 8:17pm UTC](https://community.homey.app/t/google-nest-sdm/43087/870 "2024-02-05T20:17:06Z")

</div>

This is the English section

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [February 5, 2024, 8:31pm UTC](https://community.homey.app/t/google-nest-sdm/43087/871 "2024-02-05T20:31:27Z")

</div>

Oops… apologies for that…

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [February 5, 2024, 10:43pm UTC](https://community.homey.app/t/google-nest-sdm/43087/872 "2024-02-05T22:43:48Z")

</div>

We can use Google translate etc, it’s not the end of the world, it’s just the consistency and organisations of the “thing”

---

<div class="post-metadata">

**Author:** ![aunmo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aunmo/32/78910_2.png) [@aunmo](https://community.homey.app/u/aunmo)\
**Post date:** [February 6, 2024, 10:53pm UTC](https://community.homey.app/t/google-nest-sdm/43087/873 "2024-02-06T22:53:36Z")

</div>

Somehow I’d not enabled pub/sub. Now it works!

[Previous page](https://community.homey.app/t/google-nest-sdm/43087.md?page=41)

[Next page](https://community.homey.app/t/google-nest-sdm/43087.md?page=43)
