SmartThings Community

Nest Unreliable API

thermostat
nest

#1

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?


(Eric) #2

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


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #3

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


(Eric) #4

NST Manager only uses official apis…


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #5

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


(Yves Racine) #6

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.