'Lo all
Can anyone advise of an easy way to power cycle an outlet say 4 times a day? Doesn't need to happen between 8pm and 6am
I have some LEDs that have some logic problems and go screwy after a while. A reboot fixes it.
Outlet Power Cycle
Re: Outlet Power Cycle
Try this:
It basically turns off the port the first 5 seconds of every 21600 seconds.
Code: Select all
ReefAngel.Relay.Set(Port1,(now()%21600)>5);
Roberto.
Re: Outlet Power Cycle
perfect!