Timer with 2 ON periods per day

Do you have a question on how to do something.
Ask in here.
Post Reply
discocarp
Posts: 21
Joined: Fri Oct 05, 2012 9:13 am

Timer with 2 ON periods per day

Post by discocarp »

I'm using T5s over my softie tank. It is a 6 bulb ATI, but I never want to run more than 4 lights at a time. I have the light set up with 4 bulbs as daylight, and 2 bulbs as actinic (separately switched).

What I want is a schedule like this:

10am-12pm: 2 bulb actinic only
12pm-8pm: 4 bulb daylight only
8pm-10pm: 2 bulb actinic only

How can I make this happen on the actinic port? The current code is ReefAngel.StandardLights( Port3,10,0,22,0 ), but obviously this leaves 6 lights on during the middle of the day.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Timer with 2 ON periods per day

Post by rimai »

Try this:

Code: Select all

ReefAngel.StandardLights( Port3,10,0,22,0 );
if (hour()>=12 && hour()<20) ReefAngel.Relay.Off(Port3);
Roberto.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Timer with 2 ON periods per day

Post by lnevo »

Roberto,

Wouldn't this be better?

If you have the wifi module go into the portal under Internal Memory -> Time Schedule (default tab). You can also do this on the iphone app and probably the Android one too.

Set the Actinic Offset to 120 and the Daylights On/Off to 12pm and 8pm.

Then as far as code, you can do

ReefAngel.StandardLights(PortX);
ReefAngel.ActinicLights(PortY);

Where X is the outlet for the 4 bulbs and Y is the outlet for the 2 bulbs.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Timer with 2 ON periods per day

Post by rimai »

He doesn't want the actinics on during the day. That's what he has right now.
Roberto.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Timer with 2 ON periods per day

Post by lnevo »

Oh duh. Thanks didn't catch that part.
discocarp
Posts: 21
Joined: Fri Oct 05, 2012 9:13 am

Re: Timer with 2 ON periods per day

Post by discocarp »

Thanks!
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: Timer with 2 ON periods per day

Post by rossbryant1956 »

I want to do something similar but slightly different. I want that light set to come on 22, go off at 23 and then come back on at 630 and go off at 900.

Basically I want moonlights to go to bed by and moonlights to wake up by. How would I do that? Thx in advance
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: Timer with 2 ON periods per day

Post by rossbryant1956 »

found it. thx
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
Post Reply