LAN/Graph Events API


(Cody Christian) #1

Hey, is there anyway to access the event log on the hub via LAN or Graph API? I want to pipe the events into some of my other software. Ideally wish the graph API could do web hooks to external URLs.


(Matt Martz) #2

+1, would like this as well… Personally I’m looking to gather data on my house and analyze it long term (and possible do some other things)


(Brian Steere) #3

There is an API, but I’m not aware of any documentation for it.

Events: https://graph.api.smartthings.com/api/locations/{locationid}/events

You can get the location id from https://graph.api.smartthings.com/api/locations/

I get the urls from https://github.com/alanleard/ti.smart/blob/master/src/ti.smart.js but I believe it is pretty old. They do plan on opening up the API in the future and I would assume documentation would come with that.