ecomdesign
New member
I have my apex on order and I want to have my code figured out ahead of time so I can add it right away when it arrives. My DIY LED fixture has 3 power cords. Plug 1 controls the fans, plug 2 controls the blues (3 meanwells onto 1 plug) and plug 3 controls the whites (2 meanwells onto one plug). Here are some features that I want to have in place:
-power all outlets off if contact between display and base is lost.
-ramp up
-ramp down
-blue and white outlets CANNOT be on without the fan outlet being on. This will safe guard the leds overheating in the event that the fans dont come on.
This is my code so far starting with the profiles: Please take a look and make suggestions!
RampUpLED Profile
Ramp Time 60
Start Intensity 0
End Intensity 90
RampDownLED Profile
Ramp Time 60
Start Intensity 90
End Intensity 0
Programming for VarSpd outlets:
BLUE LED OUTLET:
Set OFF
If Time 12:00 to 01:00 Then RampUpLED
If Time 01:00 to 20:00 Then ON
If Time 20:00 to 21:00 Then RampDownLED
WHITE LED OUTLET:
Set OFF
If Time 12:45 to 01:45 Then RampUpLED
If Time 01:45 to 19:15 Then ON
If Time 19:15 to 20:15 Then RampDownLED
OUTLETS ON EB8:
FAN OUTLET (TO BE NAMED LEDFANS):
FALLBACK OFF
Set OFF If OUTLET BLUELEDS = ON Then ON
BLUE MEANWELL OUTLET (TO BE NAMED BLUELEDS):
FALLBACK OFF
Set OFF
If Time 12:00 to 21:00 Then ON
If Time 21:00 to 12:00 Then OFF
WHITE MEANWELL OUTLET (TO BE NAMED WHITELEDS):
FALLBACK OFF
Set OFF
If Time 12:45 to 20:15 Then ON
If Time 20:15 to 12:45 Then OFF
With the above code, I think the blues and fans will come on at 12:00noon and the blue will ramp up to 90% over the hour. 45 minutes after they start to ramp up, the white will begin to ramp up to 90% over the next hour. At the end of the day, they will ramp down in the opposite manner. I have a failsafe on the fans so that anytime the blues are on, the fans must be one aswell. Is this the best way to do it?
How can I add something to failsafe that the whites will not turn on without the fans being on? I couldnt find a good way in the manual.
Is there anything else I can add to this code? I would like to add a alert to my phone if they dont come on at the proper time, but I will wait to try to add that until I have the alert function working!
thanks for your help, sorry for the long post!!!
-power all outlets off if contact between display and base is lost.
-ramp up
-ramp down
-blue and white outlets CANNOT be on without the fan outlet being on. This will safe guard the leds overheating in the event that the fans dont come on.
This is my code so far starting with the profiles: Please take a look and make suggestions!
RampUpLED Profile
Ramp Time 60
Start Intensity 0
End Intensity 90
RampDownLED Profile
Ramp Time 60
Start Intensity 90
End Intensity 0
Programming for VarSpd outlets:
BLUE LED OUTLET:
Set OFF
If Time 12:00 to 01:00 Then RampUpLED
If Time 01:00 to 20:00 Then ON
If Time 20:00 to 21:00 Then RampDownLED
WHITE LED OUTLET:
Set OFF
If Time 12:45 to 01:45 Then RampUpLED
If Time 01:45 to 19:15 Then ON
If Time 19:15 to 20:15 Then RampDownLED
OUTLETS ON EB8:
FAN OUTLET (TO BE NAMED LEDFANS):
FALLBACK OFF
Set OFF If OUTLET BLUELEDS = ON Then ON
BLUE MEANWELL OUTLET (TO BE NAMED BLUELEDS):
FALLBACK OFF
Set OFF
If Time 12:00 to 21:00 Then ON
If Time 21:00 to 12:00 Then OFF
WHITE MEANWELL OUTLET (TO BE NAMED WHITELEDS):
FALLBACK OFF
Set OFF
If Time 12:45 to 20:15 Then ON
If Time 20:15 to 12:45 Then OFF
With the above code, I think the blues and fans will come on at 12:00noon and the blue will ramp up to 90% over the hour. 45 minutes after they start to ramp up, the white will begin to ramp up to 90% over the next hour. At the end of the day, they will ramp down in the opposite manner. I have a failsafe on the fans so that anytime the blues are on, the fans must be one aswell. Is this the best way to do it?
How can I add something to failsafe that the whites will not turn on without the fans being on? I couldnt find a good way in the manual.
Is there anything else I can add to this code? I would like to add a alert to my phone if they dont come on at the proper time, but I will wait to try to add that until I have the alert function working!
thanks for your help, sorry for the long post!!!