Nest Unreliable API

Hello,
I have connected my Nest thermostat via the NST Manager to my SmartThings Hub. It seems that the API is sluggish and sometimes unreliable. I have have a few WebCore triggers when the AC cooling state turns to cooling. 50% of the time it is delayed by minutes and sometimes missed altogether. How do I troubleshoot this?

IDE logging is a method to watch operation.

You can consider shifting from polling nest to using the streaming service. See: http://thingsthataresmart.wiki/index.php?title=NST_Manager#Real-time_API_Streaming

Consider @yvesracine’s solution for Nest which uses official APIs for resilient connections.

1 Like

NST Manager only uses official apis…

1 Like

I’ll leave it up to @yvesracine to discuss the differences.

Hi, are you sending many commands to the Nest thermostat in a short time frame?

If so, be aware that Nest APIs have some rate limiting which basically impedes you from sending more than 1 put per minute…

https://developers.nest.com/guides/api/data-rate-limits

P.S. You should then see a lot of http errors 429 in the logs…

Regards.