Run pump x min on, x min off on continuous loop?

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:

  1. First, you must create a Personal Access Token that you’ll be using at your Requests Headers to the SmartThings API.

  2. 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.

  3. 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.

1 Like