This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Smartthings status update
#1
Good morning and happy new year st all.
I'm working with Smartthings API, in command mode I reached good results. My problem it is the status update and I'm asking at the community if some other is working on this.... I 've thought to use the 'https://api.smartthings.com/v1/devices/<deviceId>/components/<componentID>/status' and create a resident script for x seconds to update the values reading the response Json.
I'm asking, is there a more pretty solution?
Best regards Cristian
Reply
#2
Looks like polling is the only way to get the status info.
Reply
#3
(02.01.2025, 11:35)admin Wrote: Looks like polling is the only way to get the status info.

How many time in a minute, by your experience, do you suggest? I don't want overload the communication with the cloud.
BR Cristian
Reply
#4
This is a question for Smartthings support Smile

Check if API has any rate limits and adjust your scripts accordingly.
Reply
#5
(02.01.2025, 14:30)admin Wrote: This is a question for Smartthings support Smile

Check if API has any rate limits and adjust your scripts accordingly.

Ok I will check again.
BR Cristian
Reply


Forum Jump: