Hi guys,
Just wondering if there's an API for setting a "on delay" for a given relay channel.
What I'd like to do is have my skimmer start say 60 seconds after switching it's channel on or more specifically when coming out of feed / water change mode. It's an insump model that's a little fussy about flow rate / height in the sump. The time delay gives the return enough time to get back to normal operation before the skimmer starts back up.
It would be quite elegant to be able to attach an arbitrary time delay to a given channel and have the rest of the system honor that as well.
Any thoughts?
Relay on delay
Relay on delay
ReefAngel.Relay.DelayedOn(Port1,1); does just that, change the port to your skimmer port. You can increase the delay. I put one minute as per your post.
Re: Relay on delay
Yep, just like he lnevo said. The DelayedOn port works at controller startup and exiting both Feeding and Water Change modes.