Is there SDK available for SmartThnings, so that i can intergrate it in my app?

android
smartlighting
api

(Govind Mali) #1

I started build a connected home android application. I would like to integrate SmartThing devices in my app. Is there SDK available for SmartThings so that i can easily integrate it in my android app.


(Chris) #2

You would need to write a SmartApp and use Web requests to get the data you want and control devices. Sadly it doesn’t support anything like web sockets so updates have to be done by polling unless you have an intermediary server that does support some sort of realtime messaging that the SmartApp can push updates to.


(Govind Mali) #3

Can i build my web-services which will call SmartThings RestAPI and then i push notification on my android app?


(Chris) #4

Yes, you can do that… you will need to read up on the oAuth stuff for SmartApps


(Govind Mali) #5

Thanks… i will try it.