Turn pins high/low remotely for multiple pins

I did have a look at that example, but did not find a way to get it to do this.

And the agents coming shortly is not something I can use since it is not actually here yet and I don’t have access to the beta stuff. When it is I will most likely make a new version that uses it, but only if it makes these functions easier to do. The url called is going to be from my home automation page and a phone app, so I want them to be easy to understand and change too.

Made a new version using split() but it seems to be a lot more memory heavy.

I can now also send it ?value=pin,1|mode,t|pulses,50 might be easier to work with, but not sure…

Still trying to get rid of all the `function pulsePin1()
{
triggersPin[1] = triggersPin[1] - 1;
imp.wakeup(triggerPulseDuration, offPin1);
hardware.pin1.write(invertPins - 1);

if (triggersPin[1] > 0) imp.wakeup(triggersDelay[1], pulsePin1);

}

function offPin1()
{
hardware.pin1.write(invertPins - 0);
}` stuff… still havent figured that out

Stats coming out of it: https://cosm.com/feeds/102138