This repository contains a collection of SmartApps that can serve as starting points for your own apps. It include both WebHook and AWS Lambda examples.
If you are not already familiar with SmartApp development check out the Samsung SmartThings developer portal.
- Node JS Examples
-
Control lights when something opens and closes — simple app showing how to subscribe to events and send commands to devices. Set up to be run as an Express web-hook app.
-
TypeScript control lights when something opens and closes — TypeScript version of the above app that turns on and off a light when something opens and closes.
-
Control lights based on motion — adds API state calls and the creation of scheduled events to the basics of event subscriptions and device commands. Set up to be deployed to Amazon AWS as a Lambda function using Serverless, though can be run as an express app for debugging purposes if desired.
-