PDA

View Full Version : Help with Neptune DOW setup


hobypatrick
12/19/2011, 03:15 PM
I am trying to get my Neptune AI lights to use different profiles for weekend lighting. I have created Weekday profiles and Weekend Profiles.

Below is how I have it setup but when it got to Monday the lights didn't come on.

Any advice would be appreciated.

-- Blue LED Outlet
Fallback OFF
Set OFF
If Temp > 82.0 Then OFF
If Time 07:30 to 10:30 Then RU-Blue
If Time 10:30 to 17:00 Then DayBlue
If Time 17:00 to 20:00 Then RD-Blue
If DoW S-----S Then OFF
If Time 09:30 to 11:30 Then WE-RU-B
If Time 11:30 to 15:00 Then WE-DAY-B
If Time 15:00 to 17:00 Then WE-RD-B

--White LED Outlet
Fallback OFF
Set OFF
If Temp > 82.0 Then OFF
If Time 10:00 to 12:00 Then RU-White
If Time 12:00 to 16:30 Then DayWhite
If Time 16:30 to 18:30 Then RD-White
If DoW S-----S Then OFF
If Time 11:00 to 12:00 Then WE-RU-W
If Time 12:00 to 15:00 Then WE-DAY-W
If Time 15:00 to 16:00 Then WE-RD-W

--Royal BLue LED Outlet
Fallback OFF
Set OFF
If Temp > 82.0 Then OFF
If Time 08:30 to 10:30 Then RU-RBlue
If Time 10:30 to 18:00 Then DayRBlue
If Time 18:00 to 20:00 Then RD-RBlue
If DoW S-----S Then OFF
If Time 10:30 to 11:30 Then WE-RU-Rb
If Time 11:30 to 16:00 Then WE-DAY-R
If Time 16:00 to 17:00 Then WE-RD-Rb

aquamanic
12/19/2011, 04:16 PM
It's because you can't do what you want the way you're doing it. Statements are evaluted top to bottom so by the time you get past your DOW statement, you're doing other things.

I'd create 6 virtual outlets, one each for your colors, weekday vs. weekend. Put your time statements in there.

Then in your physical outlet program you have your DOW statement and a check for each of your virtual outlets being ON or not (they will based on time). The DOW statement would be last and would turn them OFF if not the proper day.

Clear as mud?

RussM
12/19/2011, 04:43 PM
Look back about a week... The 11th I think. There was a thread on this topic with functional examples.

Fishcrazy06
12/19/2011, 06:24 PM
This is the one I think Russ is talking about:
http://www.reefcentral.com/forums/showthread.php?t=2105257

Also here is the one that Russ and another guy helped me with. Also explains what I did and why I couldn't originally get it to work:
http://reefcentral.com/forums/showthread.php?t=2107713

hobypatrick
12/19/2011, 07:13 PM
Is a vitual outlet setup in the profile or is this done in the Outlet tab editing an existing outlet that was came with the system. Like changing the Chiller or Heater etc and turning them into a advanced light outlet?

hobypatrick
12/19/2011, 07:27 PM
So something like this.

-- For weekday
Outlet WD-Blue
Fallback OFF
Set OFF
If Temp > 82.0 Then OFF
If Time 07:30 to 10:30 Then RU-Blue
If Time 10:30 to 17:00 Then DayBlue
If Time 17:00 to 20:00 Then RD-Blue
If DoW S-----S Then OFF

and then for weekend
Outlet WE-Blue

Fallback OFF
Set OFF
If Time 09:30 to 11:30 Then WE-RU-B
If Time 11:30 to 15:00 Then WE-DAY-B
If Time 15:00 to 17:00 Then WE-RD-B
If DoW -MTWTF- Then OFF