Results 1 to 7 of 7

Thread: Using the Season Table for primary and moon lighting with Hydra/Vega/Radion LEDs, including Weather events

  1. #1
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463

    Using the Season Table for primary and moon lighting with Hydra/Vega/Radion LEDs, including Weather events

    This thread contains three sets of profiles and output programs which utilize the Season Table rather than hard-coded time-based scheduling. All three are based on the same concept as utilized in the older stickies here for AI Sols and Acan stickies. Apex firmware 4.31 or greater is required. This programming will NOT work with 4.30 or earlier firmware

    1. Lighting with sunrise, midday, sunset, and moonlighting based on the Season Table (without any weather events)
    2. Lighting with sunrise, midday, sunset, and moonlighting based on the Season Table, plus pseudo-random weather events (cloudy periods and stormy periods)
    3. Lighting with sunrise, midday, sunset, and moonlighting based on the Season Table, plus pseudo-random weather events (cloudy periods and stormy periods) and a fast but smooth transition in to and out of weather events

    Weather profiles are used for both cloudy and stormy (with lightning) periods. Periods of weather are only permitted during late morning & afternoon hours - in this code, weather events are allowed between 1100 and 1600 (easily modified as desired) . By using a combination of DoW statements and some pseudo-randomization, some days will have a cloudy period, some days will have a stormy period, and some days will have neither; the time of the weather events will vary within the allowed window too. I chose to keep weather events relatively short in duration (in my examples, 37 minutes), but this is easily adjusted to suit individual preferences.

    There are is also an override for use whenever desired simply by manually turning on a VO. The output for this is called LED_Demo. Use it to show off to friends, tailor the spectrum for photo-taking, or whatever you want. Using the concept illustrated, you can create as many manual overrides as you want, each with different spectrums.

    I used an AI Hydra and AWM for developing these programs & profiles, but it can all be readily adapted for use with AI Vegas or Eco-Tech Radions. For Vegas, the available color are different that the Hydra - use the appropriate color intensity settings in the profiles for your Vega fixture(s). For Radions, use the Radion profile type instead of the Hydra/Vega type, and adapt the listed profiles for the Radion's colors.

    A tip for less-experienced users: If you want to use this programming, do it in the following order:
    • Rename and configure the necessary profiles FIRST
    • Create and rename virtual outputs SECOND
    • Program all of the applicable virtual outputs THIRD
    • Rename and program AWM/WXM outputs LAST


    Although not required, I strongly recommend that anyone using the Season Table for lighting should customize the Season Table for their geographic location. See this sticky: http://forum.neptunesystems.com/show...e-Season-Table
    Last edited by RussM; 12-30-2013 at 15:00.

  2. #2
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463

    #1

    Lighting with sunrise, midday, sunset, and moonlighting based on the Season Table (without any weather events)


    PROFILES

    [ LED_SunUp ]
    Type: Vega/Hydra
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 0
    End overall intensity: 100
    Ramp Time: 60

    [ LED_Midday ]
    Type: Vega/Hydra
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 100
    End overall intensity: 100
    Ramp Time: 1

    [ LED_SunDn ]
    Type: Vega/Hydra
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 100
    End overall intensity: 0
    Ramp Time: 60

    [ LED_Moon ]
    Type: Vega/Hydra
    Cool White intensity: 1
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 0
    Violet intensity: 0
    Red intensity: 0
    Blue intensity: 0
    Deep Blue intensity: 2
    Royal Blue intensity: 3
    UV intensity: 0
    Start overall intensity: 100
    End overall intensity: 100
    Ramp Time: 1


    [ Demo ]
    Type: Vega/Hydra
    Cool White intensity: 60
    Warm White intensity: 0
    White intensity: 0
    Green intensity: 85
    Violet intensity: 85
    Red intensity: 75
    Blue intensity: 0
    Deep Blue intensity: 90
    Royal Blue intensity: 100
    UV intensity: 95
    Start overall intensity: 100
    End overall intensity: 100
    Ramp Time: 1


    PROGRAM

    [ Moonlight ] ( a virtual output )
    Set OFF
    If Moon 000/000 Then ON

    [ LED_Demo ] ( a virtual output )
    Set OFF

    [ LED ] ( AWM output for the Hydra/Vega fixture or WXM output for Radion/Radion Pro fixture )
    Set OFF
    If Outlet Moonlight = ON Then LED_Moon
    If Sun 000/-360 Then LED_SunUp
    If Sun 360/000 Then LED_SunDn
    If Sun 060/-060 Then LED_Midday
    If Outlet LED_Demo = ON Then Demo

    The order of the statements in the LED output is critical!
    Last edited by RussM; 03-02-2014 at 09:51.

  3. #3
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463

    #2

    Lighting with sunrise, midday, sunset, and moonlighting based on the Season Table, plus pseudo-random weather events (cloudy periods and stormy periods)


    PROFILES

    [ LED_SunUp ]
    Type: Vega/Hydra
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 0
    End overall intensity: 100
    Ramp Time: 60

    [ LED_Midday ]
    Type: Vega/Hydra
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 100
    End overall intensity: 100
    Ramp Time: 1

    [ LED_SunDn ]
    Type: Vega/Hydra
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 100
    End overall intensity: 0
    Ramp Time: 60

    [ LED_Moon ]
    Type: Vega/Hydra
    Cool White intensity: 1
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 0
    Violet intensity: 0
    Red intensity: 0
    Blue intensity: 0
    Deep Blue intensity: 2
    Royal Blue intensity: 3
    UV intensity: 0
    Start overall intensity: 100
    End overall intensity: 100
    Ramp Time: 1

    [ Demo ]
    Type: Vega/Hydra
    Cool White intensity: 60
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 85
    Violet intensity: 85
    Red intensity: 75
    Blue intensity: 0
    Deep Blue intensity: 90
    Royal Blue intensity: 100
    UV intensity: 95
    Start overall intensity: 100
    End overall intensity: 100
    Ramp Time: 1

    [ Stormy ]
    Type: Weather
    Light Maximum Intensity: 40
    Cloudy Light Intensity: 25
    Cloud Duration: 7
    Cloudy Time: 75
    Probability of Lightning: 65
    Lightning Intensity: 100

    [ Cloudy ]
    Type: Weather
    Light Maximum Intensity: 25
    Cloudy Light Intensity: 5
    Cloud Duration: 7
    Cloudy Time: 75
    Probability of Lightning: 0
    Lightning Intensity: 0


    PROGRAM

    [ Moonlight ] ( a virtual output )
    Set OFF
    If Moon 000/000 Then ON

    [ Storms ] ( a virtual output )
    OSC 000:00/037:00/636:00 Then ON
    If Time 16:00 to 10:59 Then OFF
    Min Time 037:00 Then ON
    If DoW S-T-T-S Then OFF

    [ Clouds ] ( a virtual output )
    OSC 000:00/037:00/636:00 Then ON
    If Time 19:30 to 13:59 Then OFF
    Min Time 037:00 Then ON
    If DoW -M-W-F- Then OFF

    [ LED_Demo ] ( a virtual output )
    Set OFF

    [ LED ] ( AWM output for the Hydra/Vega fixture or WXM output for Radion/Radion Pro fixture )
    Set OFF
    If Outlet Moonlight = ON Then LED_Moon
    If Sun 000/-360 Then LED_SunUp
    If Sun 360/000 Then LED_SunDn
    If Sun 060/-060 Then LED_Midday
    If Outlet Clouds = ON Then Cloudy
    If Outlet Storms = ON Then Stormy
    If Outlet LED_Demo = ON Then Demo

    The order of the statements in the LED output is critical!
    Last edited by RussM; 03-02-2014 at 09:50.

  4. #4
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463

    #3

    Lighting with sunrise, midday, sunset, and moonlighting based on the Season Table, plus pseudo-random weather events (cloudy periods and stormy periods) and a fast but smooth transition in to and out of weather events

    PROFILES

    [ LED_SunUp ]

    Type: Vega/Hydra
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 0
    End overall intensity: 100
    Ramp Time: 60

    [ LED_Midday ]
    Type: Vega/Hydra
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 100
    End overall intensity: 100
    Ramp Time: 1

    [ LED_SunDn ]
    Type: Vega/Hydra
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 100
    End overall intensity: 0
    Ramp Time: 60

    [ LED_Moon ]
    Type: Vega/Hydra
    Cool White intensity: 1
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 0
    Violet intensity: 0
    Red intensity: 0
    Blue intensity: 0
    Deep Blue intensity: 2
    Royal Blue intensity: 3
    UV intensity: 0
    Start overall intensity: 100
    End overall intensity: 100
    Ramp Time: 1

    [ Demo ]
    Type: Vega/Hydra
    Cool White intensity: 60
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 85
    Violet intensity: 85
    Red intensity: 75
    Blue intensity: 0
    Deep Blue intensity: 90
    Royal Blue intensity: 100
    UV intensity: 95
    Start overall intensity: 100
    End overall intensity: 100
    Ramp Time: 1

    [ PreWeather ]
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 100
    End overall intensity: 40
    Ramp Time: 5

    [ PostWeather ]
    Cool White intensity: 100
    Warm White intensity: 0
    Neutral White intensity: 0
    Green intensity: 100
    Violet intensity: 100
    Red intensity: 100
    Blue intensity: 0
    Deep Blue intensity: 100
    Royal Blue intensity: 100
    UV intensity: 100
    Start overall intensity: 40
    End overall intensity: 100
    Ramp Time: 5

    [ Stormy ]
    Type: Weather
    Light Maximum Intensity: 40
    Cloudy Light Intensity: 25
    Cloud Duration: 7
    Cloudy Time: 75
    Probability of Lightning: 65
    Lightning Intensity: 100

    [ Cloudy ]
    Type: Weather
    Light Maximum Intensity: 40
    Cloudy Light Intensity: 25
    Cloud Duration: 7
    Cloudy Time: 75
    Probability of Lightning: 0
    Lightning Intensity: 0


    PROGRAM


    [ Moonlight ] ( a virtual output )
    Set OFF
    If Moon 000/000 Then ON

    [ Pre_Weather ] ( a virtual output )
    OSC 000:00/005:10/637:00 Then ON
    If Time 16:00 to 12:59 Then OFF

    [ Storms ] ( a virtual output )
    Set OFF
    If Outlet Pre_Weather = ON Then ON
    If DoW S-T-T-S Then OFF
    Min Time 037:10 Then ON
    Defer 5:00 Then ON

    [ Clouds ] ( a virtual output )
    Set OFF
    If Outlet Pre_Weather = ON Then ON
    If DoW -M-W-F- Then OFF
    Min Time 037:10 Then ON
    Defer 5:00 Then ON

    [ Post_Weather ] ( a virtual output )
    Set OFF
    If Outlet Clouds = ON Then ON
    If Outlet Storms = ON Then ON
    Min Time 005:00 Then ON
    Defer 37:00 Then ON

    [ LED_Demo ] ( a virtual output )
    Set OFF

    [ LED ] ( AWM output for the Hydra/Vega fixture or WXM output for Radion/Radion Pro fixture )
    Set OFF
    If Outlet Moonlight = ON Then LED_Moon
    If Sun 000/-360 Then LED_SunUp
    If Sun 360/000 Then LED_SunDn
    If Sun 060/-060 Then 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

    The order of the statements in the LED outlet is critical!
    Last edited by RussM; 03-02-2014 at 09:49.

  5. #5
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    THIS STICKY HAS BEEN TOTALLY REVISED as of Dec 30 2013

    The programming examples in this sticky have been overhauled to capitalize on Apex firmware 4.31, which introduced changes in the behavior of If Moon and If Sun commands. The result is advanced lighting programming which is much simpler. Consequently, these examples will not work with Firmware Version 4.30 or earlier.
    Last edited by RussM; 01-19-2014 at 10:09.
    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.

  6. #6
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    Here's an example of how the code would change to make the lighting period occur two hours later - a common desire to make more viewing time in the evening. I also included the same offset for moonlighting.

    Note where I've highlighted the changes in red - each indicated offset value has had 120 added. The ramp up and ramp down times remain at 60 minutes

    Original code in the previous posts:

    [ LED ] ( AWM output for the Hydra/Vega fixture or WXM output for Radion/Radion Pro fixture )
    Set OFF
    If Outlet Moonlight = ON Then LED_Moon
    If Sun 000/-360 Then LED_SunUp
    If Sun 360/000 Then LED_SunDn
    If Sun 060/-060 Then LED_Midday

    Revised code with the 2-hour offset:

    [ LED ] ( AWM output for the Hydra/Vega fixture or WXM output 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/060 Then LED_Midday

    Do not change the 360 or -360 values.
    Last edited by RussM; 03-02-2014 at 09:52.
    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.

  7. #7
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    The programming illustrated here and in the other two similar stickies has proven to be quite popular. It's a framework, meant to be modified to suit personal preferences and such. Many people over the last year or so have asked for assistance in modifying it to use different offsets from the times in the Apex Season Table, use different ramp up and ramp down times, etc. To make that process easier, I've developed a web page to complement this sticky:

    http://www.reeftronics.net/support/if-sun-calc.php
    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.

Similar Threads

  1. Replies: 11
    Last Post: 12-21-2015, 06:37
  2. Replies: 23
    Last Post: 08-19-2014, 16:25
  3. Replies: 3
    Last Post: 07-16-2014, 06:08
  4. Replies: 3
    Last Post: 07-16-2014, 06:07
  5. Season table primary lighting AI Sol Standard without royalblue?
    By milkit in forum Apex Programming for Lighting
    Replies: 1
    Last Post: 02-01-2014, 22:28

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
  •