Cannot get Nest thermostat via API

Hi SmartThings Community!

I’m having trouble retrieving my Nest Thermostat using the SmartThings API. When I request all devices for a location or my entire account, I get everything except the Nest Thermostat. Its device profile is c2c-nest-thermostat-heatonly.

When I try to fetch it directly by device ID, I get a 403 error:
ERROR [ExceptionsHandler] getaddrinfo ENOTFOUND api.smartthings.com

Is there something specific about Nest Thermostat integration that could be causing this? Any insights would be greatly appreciated!

Thanks!

Try to replicate this with a known working device and/or on a different computer/OS. Change the DNS settings to 8.8.8.8 or 1.1.1.1 .

I had the same problem when I tried to use the SmartThings CLI in a terminal of an Android device.

Google only allows Nest Thermostats to be accessed from the ST app. You can’t even access them from 3rd party apps such as SharpTools or ActionTiles when they are linked to ST.

If you are listing the Location devices via the API you could try adding includeRestricted=true to the query string.