Page 1 of 1

MoonLights() question

Posted: Wed Jan 02, 2013 2:50 pm
by lnevo
So, I see we have the MoonLights() function which is opposite the StandardLights.

We also have the ActinicOffset variable which works with the StandardLights by going on earlier than the Standard and staying on past the Standard by whatever ActinicOffset is set for.

So, my Actinic offset is set for 120 minutes.
11:08am - Actinic On
1:08pm - Standard On
9:49pm - Standard Off
11:49pm - Actinic Off

I'm already at 9 hours of Standard Lights, and 13 hours of Actinic.

My issue is that if I wanted to use the MoonLights() function to say, use my fuge light, then it would be on for 15 hours. So, can we either have a standard light function to be opposite the Actinics? or use the current MoonLight function but respect the ActinicOffset?

My goal is to have as much as possible based on the standard memory locations and the ease of use by just declaring the port by the basic function if possible.

Re: MoonLights() question

Posted: Wed Jan 02, 2013 3:05 pm
by rimai
Isn't it easier to just set your fuge light as opposite of actinics?

Code: Select all

ReefAngel.Relay.Set(Port1,!ReefAngel.Relay.Status(Port2));

MoonLights() question

Posted: Wed Jan 02, 2013 3:57 pm
by lnevo
I guess so...but then it's not schedule based..meaning if i flip off my actinics for some reason then the fuge light goes on. Not that this is really a problem, but I guess not the effect I was looking for...it is a valid solution though.

Maybe I'm just wrong to assume that you'd want your moon or fuge light opposite the actinics vs standard lighting?

Re: MoonLights() question

Posted: Wed Jan 02, 2013 4:02 pm
by rimai
You could also create your own function and use the InternalMemory.read() function to create a similar Moonlights() function.

MoonLights() question

Posted: Wed Jan 02, 2013 4:18 pm
by lnevo
That is probably what I will end up doing...