Results 1 to 8 of 8

Thread: Running multiple profiles to change lighting color throughout the day

  1. #1
    New User
    Join Date
    Mar 2018
    Location
    Surprise, AZ
    Posts
    4

    Running multiple profiles to change lighting color throughout the day

    Hello. I am using RussM's programming for the seasonal tables delayed by 120 minutes. I want to have 3 profiles that run for my daylight hours (after sunrise and before sunset). I've named them LED_LateMn, LED_MidDay, and LED_LateAf. I'd like LED_LateMn to run for 2 hours after sunrise, then LED_MidDay to run for 4 hours, then LED_LateAf to run for 2 hours, then sunset to run for 2 hours. What revisions should I make to the following progaming to accomplish this?

    [ LED ] ( AWM outlet for the Hydra/Vega fixture or WXM outlet for Radion/Radion Pro fixture )
    Set OFF
    If Outlet Moonlight = ON Then LED_Moon
    If Sun 120/-360 Then LED_SunUp
    If Sun 360/120 Then LED_SunDn
    If Sun 180/60Then LED_Midday
    If Outlet Pre_Weather = ON Then PreWeather
    If Outlet Clouds = ON Then Cloudy
    If Outlet Storms = ON Then Stormy
    If Outlet Post_Weather = ON Then PostWeather
    If Outlet LED_Demo = ON Then Demo

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Do you mean that you want to ramp from morning to mid morning for 2 hours, then ramp to mid day over 4 hours, hold until 4 hours before sunset at which you would ramp down from midday to late afternoon over 2 hours, then another 2 hour ramp from late afternoon to sunset? And you want all of this offset by 2 hours?

    Sent from my SM-G965U using Tapatalk

  3. #3
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,466
    Using more than 3 If Sun statements & profiles gets really tricky; it's hard to do 5 and get all the timing right. I recommend not doing it. Instead, if you want that much variance in the intensity and spectrum, forgo using If Sun statements & profiles, and just use the Fusion wizard instead.
    Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

  4. #4
    New User
    Join Date
    Mar 2018
    Location
    Surprise, AZ
    Posts
    4
    Quote Originally Posted by zombie View Post
    Do you mean that you want to ramp from morning to mid morning for 2 hours, then ramp to mid day over 4 hours, hold until 4 hours before sunset at which you would ramp down from midday to late afternoon over 2 hours, then another 2 hour ramp from late afternoon to sunset? And you want all of this offset by 2 hours?

    Sent from my SM-G965U using Tapatalk
    Yes except the 2nd ramp for mid morning would be 2 hours not 4 hours. Mid day would be the only 4 hour period.

  5. #5
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by sawcjack00 View Post
    Yes except the 2nd ramp for mid morning would be 2 hours not 4 hours. Mid day would be the only 4 hour period.
    If you use the season table, your middle period cannot be a defined time. It changes in duration to be longer in the summer and shorter in the winter. If you want a defined time, you need to use the graphical wizard not the season table and profiles.

    Sent from my SM-G965U using Tapatalk

  6. #6
    New User
    Join Date
    Mar 2018
    Location
    Surprise, AZ
    Posts
    4
    Quote Originally Posted by zombie View Post
    If you use the season table, your middle period cannot be a defined time. It changes in duration to be longer in the summer and shorter in the winter. If you want a defined time, you need to use the graphical wizard not the season table and profiles.

    Sent from my SM-G965U using Tapatalk
    I understand, so if I want the following, how should the programming read?

    1 hour sunrise - 2 hour offset
    2 hour morning ramp up - 2 hour offset
    variable mid day - 2 hour offset
    2 hour afternoon ramp down - 2 hour offset
    1 hour sunset - 2 hour offset

  7. #7
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by sawcjack00 View Post
    I understand, so if I want the following, how should the programming read?

    1 hour sunrise - 2 hour offset
    2 hour morning ramp up - 2 hour offset
    variable mid day - 2 hour offset
    2 hour afternoon ramp down - 2 hour offset
    1 hour sunset - 2 hour offset
    You would want this format

    If Sun 120/-240 Then sunrise
    If Sun 480/120 Then sunset
    If Sun 180/-240 Then morning
    If Sun 480/060 Then afternoon
    If Sun 300/-060 Then midday

    Sent from my SM-G965U using Tapatalk

  8. #8
    New User
    Join Date
    Mar 2018
    Location
    Surprise, AZ
    Posts
    4
    Quote Originally Posted by zombie View Post
    You would want this format

    If Sun 120/-240 Then sunrise
    If Sun 480/120 Then sunset
    If Sun 180/-240 Then morning
    If Sun 480/060 Then afternoon
    If Sun 300/-060 Then midday

    Sent from my SM-G965U using Tapatalk
    Thank you very much!

Similar Threads

  1. Color change
    By JDubYo in forum A2 Apex/ApexEL and A3 Apex Pro/Apex/Apex Jr
    Replies: 0
    Last Post: 11-11-2020, 08:07
  2. Multiple Gyres with same profiles?
    By Raul-7 in forum Apex Programming for Vortech, Tunze, & Other Controllable Pumps
    Replies: 3
    Last Post: 11-26-2018, 07:43
  3. I'm losing connection multiple times a day every day! What gives?
    By RussC in forum A2 Apex/ApexEL and A3 Apex Pro/Apex/Apex Jr
    Replies: 13
    Last Post: 09-30-2017, 14:27
  4. Hydra 52 - Can I run multiple profiles at once?
    By kurkis493 in forum Apex Programming for Lighting
    Replies: 6
    Last Post: 01-05-2014, 19:56
  5. Running multiple tanks
    By Cobergas in forum Pre-Sales Questions
    Replies: 1
    Last Post: 12-11-2013, 10:25

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •