Hi, @mpnret
You can create your Rule Automation using either Postman or Insomnia. Personally, I’d suggest you to use Insomnia, as it has a simplier and intuitive UI to perform your API calls. Please, follow the steps below:
-
First, you must create a Personal Access Token that you’ll be using at your Requests Headers to the SmartThings API.
-
Then, you must get the list of your devices making a GET HTTP Request at the SmartThings Devies API and track your GE SmartSwitch’s Id.
-
Finally, update the JSON file from above with your GE SmartSwitch Id and make a POST Http Request to the Rules API.
I hope this information results useful to you.
Best regards,
Erick.