Trying to create a dynamic Webcore scheduler

I have a piston that I’ve created that accepts 3 parameters. The parameters are date, time, and device.

The idea is that on a daily basis my iOS shortcut will get a list of my reminders and pass the date, time, and device to the pistons endpoint. The piston should then schedule the device to turn on at the date and time specified.

To make things more complex I need to be able schedule multiple jobs for multiple devices. Almost like it needs to create a child piston. Is there any way to do this?

I mean I can do the scheduling with cron, but I was trying to use existing tools

Likely should show what you have either here or in the webcore forum.

It is easier for folks to comment if they see what you have and how you are calling it.

I don’t have much to show. I am not sure if it can be done, so I don’t have code to share.

Download the Hubitat app