Forwarding Events to ReST endpoint


(Scott) #1

I’m a software developer but new to the ST ecosystem and encountering some challenges getting started. The concept of what I want to do seems straightforward; forward events from the ST hub to a ReST endpoint for additional processing. How do I get started?

I’m trying to start out simple to learn the concepts. I have a ST Outlet and ST Hub v2. For this exercise, I’m happy just getting JSON and on/off status change to my ReST endpoint but will accept all data available and can parse later on.


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

Here’s a good place to start.

You may not need the services listed, but the SmartThings side of things are examples of how to write to REST.