PDA

View Full Version : Cloud/storm help


[WDT]TardFarmer
06/28/2011, 08:45 AM
If someone would take a look at my config and let me know what I am doing wrong as far as configuring my could cover I would appreciate it. Currently as soon as the 1/2 hour set for cloud cover ends the lights (AI-sol) all shut off and then begin their ramp up again. I am sure I am missing something stupid and just need another pair of eyes.

The outlet Storm is my virtual outlet for the weather stuff.

Thanks in advance!

PROGRAM:

VarSpd1_I1 [0]
Program Type: Advanced
Display Icon: Light A
Program:
Set PF7

VarSpd2_I2 [1]
Program Type: Advanced
Display Icon: Left/Right Arrows
Program:
Set PF9

VarSpd3_I3 [2]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Set AI_RB_UP

VarSpd4_I4 [3]
Program Type: Advanced
Display Icon: Left/Right Arrows
Program:
Set MoonLt

SndAlm_I6 [4]
Program Type: Advanced
Display Icon: Sound B
Program:
Set OFF

SndWrn_I7 [5]
Program Type: Advanced
Display Icon: Sound A
Program:
Set OFF

EmailAlm_I5 [6]
Program Type: Advanced
Display Icon: Email
Program:
Set OFF
If Temp > 82.0 Then ON
If Temp < 74.0 Then ON
If Time 10:00 to 10:01 Then ON
If Time 15:00 to 15:01 Then ON
If Time 20:00 to 20:01 Then ON
If Power EB8_4 Off 000 Then ON
If pH < 07.70 Then ON
If Temp > 08.43 Then ON

VarSpd1_3_1 [7]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Set AI_W_UP

VarSpd2_3_2 [8]
Program Type: Advanced
Display Icon: Left/Right Arrows
Program:
Set AI_B_UP

VarSpd3_3_3 [9]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Set AI_RB_UP

VarSpd4_3_4 [10]
Program Type: Advanced
Display Icon: Left/Right Arrows
Program:
Set MoonLt

AI_Blue [11]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Outlet V_Lunar = ON Then MoonLt
If Sun 180/180 Then AI_B_UP
If Outlet Storm = ON Then Weather

AI_White [12]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
If Sun 240/120 Then AI_W_UP
If Outlet Storm = ON Then Weather

AI_Royal [13]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
If Sun 180/180 Then AI_RB_UP
If Outlet Storm = ON Then Weather

V_Lunar [14]
Program Type: Advanced
Display Icon: Moon
Program:
If Moon 180/180 Then ON

AI-LEDs [15]
Program Type: Advanced
Display Icon: Light A
Program:
Fallback ON
Set ON

Korallia_K3_ [16]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Fallback ON
Set ON
If FeedA 000 Then OFF

ACT_A3 [17]
Program Type: Pump
Display Icon: Up/Down Arrows
Program:
Fallback ON
OSC 000:00/005:00/005:00 Then ON
If FeedA 000 Then OFF

Lunar_A4 [18]
Program Type: Light
Display Icon: Sun
Program:
Fallback ON
Set OFF
If Time 08:00 to 20:00 Then ON
If Temp > 82.0 Then OFF
Min Time 030:00 Then OFF

Vortech_R_A5 [19]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Fallback ON
Set ON
If FeedA 000 Then OFF

Korallia_K1 [20]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Fallback ON
Set ON
If FeedA 000 Then OFF

Vortech_L_A7 [21]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Fallback ON
Set ON
If FeedA 000 Then OFF

Korallia_K1_ [22]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Fallback ON
Set ON
If FeedA 000 Then OFF

Light2_E2 [23]
Program Type: Light
Display Icon: Light B
Program:
Fallback OFF
Set OFF
If Time 08:30 to 19:30 Then ON
If Temp > 82.0 Then OFF
Min Time 030:00 Then OFF

Pump1_E3 [24]
Program Type: Pump
Display Icon: Up/Down Arrows
Program:
Fallback ON
OSC 000:00/005:00/005:00 Then ON
If FeedA 000 Then OFF

Storm [25]
Program Type: Advanced
Display Icon: Light B
Program:
Set OFF
If Time 13:00 to 13:30 Then ON
If Time 18:00 to 18:30 Then ON

Pump2_E4 [26]
Program Type: Pump
Display Icon: Up/Down Arrows
Program:
Fallback ON
OSC 005:00/005:00/000:00 Then ON
If FeedA 000 Then OFF

Return_4_1 [31]
Program Type: Advanced
Display Icon: Spiget
Program:
Fallback ON
Set ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF

Skimmer_4_2 [32]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Fallback ON
Set ON
If FeedB 015 Then OFF

Heater_1 [33]
Program Type: Advanced
Display Icon: Spiget
Program:
Fallback OFF
If Temp < 77.5 Then ON
If Temp > 78.0 Then OFF
If FeedB 000 Then OFF

Kalk [34]
Program Type: Advanced
Display Icon: Spiget
Program:
Fallback OFF
OSC 000:00/004:00/026:00 Then ON
If Time 15:00 to 00:30 Then OFF
If Temp > 82.0 Then OFF

Fraglight_4_ [35]
Program Type: Light
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 15:00 to 23:00 Then ON
If Temp > 82.0 Then OFF
Min Time 030:00 Then OFF

Heater2_4_6 [36]
Program Type: Advanced
Display Icon: Thermometer
Program:
Fallback OFF
If Temp < 77.5 Then ON
If Temp > 78.0 Then OFF
If FeedB 000 Then OFF

Heater3_4_7 [37]
Program Type: Advanced
Display Icon: Thermometer
Program:
Fallback OFF
If Temp < 77.5 Then ON
If Temp > 78.0 Then OFF
If FeedB 000 Then OFF

CO2_4_8 [38]
Program Type: pH Control
Display Icon: Left/Right Arrows
Program:
Fallback OFF
If pH2 > 06.70 Then ON
If pH2 < 06.50 Then OFF

PROFILES

AI_W_UP [PF1]
Type: Ramp
RampTime: 60
StartIntensity: 0
EndIntensity: 35

AI_B_UP [PF2]
Type: Ramp
RampTime: 90
StartIntensity: 0
EndIntensity: 55

AI_RB_UP [PF3]
Type: Ramp
RampTime: 100
StartIntensity: 0
EndIntensity: 55

MoonLt [PF4]
Type: Ramp
RampTime: 30
StartIntensity: 0
EndIntensity: 4

Weather [PF5]
Type: Weather
MinIntensity: 20
MaxIntensity: 40
Cloud Light Intensity: 30
Cloudy Percent: 85
Probability of Lightning (%): 0
Lighting Intensity (%): 90

PF6 [PF6]
Type: Pump
MinIntensity: 40
MaxIntensity: 0
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 100
OffTime: 1

PF7 [PF7]
Type: Pump
MinIntensity: 0
MaxIntensity: 55
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 100
OffTime: 1

PF8 [PF8]
Type: Pump
MinIntensity: 45
MaxIntensity: 45
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF9 [PF9]
Type: Pump
MinIntensity: 45
MaxIntensity: 0
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 100
OffTime: 1

PF10 [PF10]
Type: Pump
MinIntensity: 0
MaxIntensity: 4
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 30
OffTime: 1

PF11 [PF11]
Type: Pump
MinIntensity: 20
MaxIntensity: 40
Sync: Disable
DivideBy10: Disable
IntOffTime: 0
OnTime: 90
OffTime: 85

PF12 [PF12]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF13 [PF13]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF14 [PF14]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF15 [PF15]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF16 [PF16]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF17 [PF17]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF18 [PF18]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF19 [PF19]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF20 [PF20]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF21 [PF21]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF22 [PF22]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF23 [PF23]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF24 [PF24]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF25 [PF25]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF26 [PF26]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF27 [PF27]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF28 [PF28]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF29 [PF29]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF30 [PF30]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF31 [PF31]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

PF32 [PF32]
Type: Pump
MinIntensity: 0
MaxIntensity: 100
Sync: Disable
DivideBy10: Disable
IntOffTime: 1
OnTime: 1
OffTime: 1

zoolan70
06/28/2011, 11:42 AM
TardFarmer;18956880']If someone would take a look at my config and let me know what I am doing wrong as far as configuring my could cover I would appreciate it. Currently as soon as the 1/2 hour set for cloud cover ends the lights (AI-sol) all shut off and then begin their ramp up again. I am sure I am missing something stupid and just need another pair of eyes.

The outlet Storm is my virtual outlet for the weather stuff.


You have the same problem I did. The Apex works a little different than the AI controller. With the AI controller, you told it what time to change profiles, what the new intensity should be, and how long it should take. With the Apex, you are also telling it where to start each time the profile is called.

AI_B_UP [PF2]
Type: Ramp
RampTime: 90
StartIntensity: 0
EndIntensity: 55

So, whenever the AI_B_UP is called, the lights will go to 0, and ramp up to 55 over 90 minutes, even if that is returning from another profile like 'clouds'. It doesn't have the logic to say "I was at 55 before, just go back there if time = the middle of the sun 180/180 period". What I did was make three profiles...ramp up, daytime, ramp down:

BlueUp
Type: Ramp
RampTime: 30
StartIntensity: 0
EndIntensity: 55

BlueDay
Type: Ramp
RampTime: 1
StartIntensity: 55
EndIntensity: 55

BlueDn
Type: Ramp
RampTime: 30
StartIntensity: 55
EndIntensity: 0

I'm not using the sun xxx/xxx at this time, but I'm sure you can modify the code to make that happen:

Ramps:

AI_B_UP
Type: Ramp
RampTime: 90
StartIntensity: 0
EndIntensity: 55

AI_B_DAY
Type: Ramp
RampTime: 1
StartIntensity: 55
EndIntensity: 55

AI_B_EVE
Type: Ramp
RampTime: 90
StartIntensity: 55
EndIntensity: 0

And the outlet:

AI_Blue [11]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Outlet V_Lunar = ON Then MoonLt
If Sun 180/0 Then AI_B_UP
If Sun 30/30 Then AI_B_DAY
If Sun 0/180 Then AI_B_EVE
If Outlet Storm = ON Then Weather

I'm not at all sure about that outlet code, as I've never played with the 'sun xxx/xxx' command, but it makes sense in my head. Someone else will correct it, I'm sure.

kayl
06/28/2011, 11:46 AM
The issue lies in this code:

AI_White [12]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
If Sun 240/120 Then AI_W_UP
If Outlet Storm = ON Then Weather

AI_Royal [13]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
If Sun 180/180 Then AI_RB_UP
If Outlet Storm = ON Then Weather

If you read through it how the Apex processes the code, this is what happens -if the current profile is AI_RB_UP, and outlet storm is not on, the light remains where it is in the AI_RB_UP or _W_UP profile, be it somewhere along the ramp or at 100%.

If the current profile is Weather and the outlet storm has just turned off, the light would be put into the AI_RB_UP or AI_W_UP profile, which would start ramping again since it was not previously set to this profile.

To fix it, make a profile AI_DAY or something like that and set it to:

AI_DAY [PF3]
Type: Ramp
RampTime: 0
StartIntensity: 55
EndIntensity: 55

Then change your AI outlets so that 100 minutes after you have the lights turn on, they are set to the AI_DAY profile.

Example:
BLUES:
If Sun 80/80 Then AI_DAY

WHITES:

If Sun 140/20 Then AI_DAY

DISCLAIMER: I do not use the "If Sun" syntax and don't know much about it; the above code might be wrong. The gist is you need to set it to AI_DAY 100 minutes after the lights come on.

[WDT]TardFarmer
06/30/2011, 06:34 PM
Thanks so much!

I got it working, I figured out that the order of the "day" profile made a difference also. Now I need to set it to slowly ramp back up the max intensity after the cloud cover.


Thanks again!


Here is what I have ended up with:



AI_Blue
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Outlet V_Lunar = ON Then MoonLt
If Sun 180/180 Then AI_B_UP
If Sun 080/080 Then AI_DAY_B
If Outlet Storm = ON Then Weather

AI_White
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Sun 240/120 Then AI_W_UP
If Sun 140/080 Then AI_DAY_W
If Outlet Storm = ON Then Weather

AI_Royal
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Sun 180/180 Then AI_RB_UP
If Sun 080/080 Then AI_DAY_R
If Outlet Storm = ON Then Weather

V_Lunar
Program Type: Advanced
Display Icon: Moon
Program:
If Moon 180/180 Then On






Storm
Program Type: Advanced
Display Icon: Light B
Program:
Set OFF
If Time 13:00 to 13:30 Then ON
If Time 18:00 to 18:30 Then ON




PROFILES

AI_W_UP
Type: Ramp
RampTime: 60
StartIntensity: 0
EndIntensity: 35

AI_B_UP
Type: Ramp
RampTime: 90
StartIntensity: 0
EndIntensity: 55

AI_RB_UP
Type: Ramp
RampTime: 100
StartIntensity: 0
EndIntensity: 55

MoonLt
Type: Ramp
RampTime: 30
StartIntensity: 0
EndIntensity: 4

Weather
Type: Weather
MinIntensity: 20
MaxIntensity: 40
Cloud Light Intensity: 30
Cloudy Percent: 85
Probability of Lightning (%): 0
Lighting Intensity (%): 90

AI_DAY_R
Type: Ramp
RampTime: 0
StartIntensity: 55
EndIntensity: 55

AI_DAY_B
Type: Ramp
RampTime: 0
StartIntensity: 55
EndIntensity: 55

AI_DAY_W
Type: Ramp
RampTime: 0
StartIntensity: 35
EndIntensity: 35

bayoupr
07/01/2011, 08:48 AM
How's this working for you

DFWBill
07/01/2011, 09:27 AM
I got it working, I figured out that the order of the "day" profile made a difference also. Now I need to set it to slowly ramp back up the max intensity after the cloud cover.
I see them ramping up and holding for full sun, but I don't see them ramping down. Also, did you figure out the "after the cloud cover" logic?

Bill

DFWBill
07/01/2011, 09:47 AM
Nevermind... I recall that if using the Sun feature Apex will automatically ramp down, isn't this correct?

Bill

zoolan70
07/01/2011, 12:38 PM
Nevermind... I recall that if using the Sun feature Apex will automatically ramp down, isn't this correct?

Bill

That is what I've read. I haven't set it up yet to test it.

[WDT]TardFarmer
07/01/2011, 12:48 PM
It is working now, I woke up to my lights still on. Looking at the logic it made sense but I was still unsure how to make it do what I want. I contacted Neptune and Curt had me add a new Virtual outlet:

MidDay:

Set Off
If Sun 080/080 Then ON

Here is my lighting code as it stands now:

AI_Blue
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Outlet V_Lunar = ON Then MoonLt
If Sun 180/180 Then AI_B_UP
If Outlet MidDay = ON Then AI_DAY_B
If Outlet Storm = ON Then Weather

AI_White
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Sun 180/180 Then AI_W_UP
If Outlet MidDay = ON Then AI_DAY_W
If Outlet Storm = ON Then Weather

AI_Royal
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Sun 180/180 Then AI_RB_UP
If Outlet MidDay = ON Then AI_DAY_R
If Outlet Storm = ON Then Weather

V_Lunar
Program Type: Advanced
Display Icon: Moon
Program:
If Moon 180/180 Then ON






Storm
Program Type: Advanced
Display Icon: Light B
Program:
Set OFF
If Time 13:00 to 13:30 Then ON
If Time 18:00 to 18:30 Then ON

MidDay
Program Type: Advanced
Display Icon: Sun
Program:
Set OFF
If Sun 080/080 Then ON




PROFILES

AI_W_UP
Type: Ramp
RampTime: 60
StartIntensity: 0
EndIntensity: 35

AI_B_UP
Type: Ramp
RampTime: 90
StartIntensity: 0
EndIntensity: 55

AI_RB_UP
Type: Ramp
RampTime: 100
StartIntensity: 0
EndIntensity: 55

MoonLt
Type: Ramp
RampTime: 30
StartIntensity: 0
EndIntensity: 4

Weather
Type: Weather
MinIntensity: 20
MaxIntensity: 40
Cloud Light Intensity: 30
Cloudy Percent: 85
Probability of Lightning (%): 0
Lighting Intensity (%): 90

AI_DAY_R
Type: Ramp
RampTime: 0
StartIntensity: 55
EndIntensity: 55

AI_DAY_B
Type: Ramp
RampTime: 0
StartIntensity: 55
EndIntensity: 55

AI_DAY_W
Type: Ramp
RampTime: 0
StartIntensity: 35
EndIntensity: 35

DFWBill
07/01/2011, 01:09 PM
Sweet, I'll try it!
Tnx
Bill

[WDT]TardFarmer
07/16/2011, 08:32 AM
And I was wrong, sorry I was gone for a while on training. It is now shutting off at around 9:00 PM cst and then ramps back up before the lights actually shut down at 11ish. and the lightning still strobes randomly. Curt says he is not aware of an issue while AI says it is something with the apex/vdm.