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.
MoonLights() question
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: MoonLights() question
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));
Roberto.
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
MoonLights() question
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?
Maybe I'm just wrong to assume that you'd want your moon or fuge light opposite the actinics vs standard lighting?
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: MoonLights() question
You could also create your own function and use the InternalMemory.read() function to create a similar Moonlights() function.
Roberto.
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am