There’s quite a bit on it now. It’s still in development, so there are more features yet to be added.
At SDC19, we previewed our new Rules Grammar and API that allows you to create simple and complex automations that can operate on the SmartThings cloud. In a future release of the API, local execution of rules on SmartThings hubs will be supported - making rules a great choice for those looking to create fast, stable and secure automations. We are excited to announce a few resources available for everyone to start testing: Introduction Video Rules Documentation Testing App (use the Show button) Example Rules We know you have will feedback and requests - we are working hard to add more features to the API (such as variables and expressions). Feel free to drop your ideas, questions, and comments here!
.
Advanced Rules API Tutorial We will use the rules API to create a trigger that will evaluate a condition then schedule to evaluate that condition again after a defined period of time. This rule could replace SmartApps like “Notify Me When” that were previously complex groovy apps. Requirements: Postman PAT Token Getting Started Open Postman and add your PAT token to the header [image] Refresher If you are new to the Rules API, you will need to supply the locationId you want to work with for most requests GET https://api.smartthings.com/v1/rules?locationId=yourID Will return a list of your existing rules Let’s Go Use Postman in a new tab to GET some device IDs. You will need to get a contact sensor and a light bulb. Once you have these, we are going to be sending a POST comman…
And it has its own subcategory in the forum now:
Rules API
Community for discussing the new Rules API and sharing rule recipes.