Event subscriptions for home-based automation

I’m looking for any guidance on how to register and receive events (i.e. switch state change) in an application I’m coding. Application will run on my home computer and I’d like to recieve push events whenever a device changes state.

Welcome to the SmartThings Community, @david6!

For this, you need to create a SmartApp as using its token type and installedAppId allows us to create subscriptions: API | Developer Documentation | SmartThings

Here’s a tutorial on how to create a simple SmartApp:

1 Like