Results 1 to 7 of 7

Thread: Adding2nd "Demo" to the Season Lighting

  1. #1
    Frequent Visitor
    Join Date
    May 2017
    Location
    Colorado Springs, CO
    Posts
    152

    Adding2nd "Demo" to the Season Lighting

    I setup (I believe successfully) the Seasonal lighting that @RussM laid out in the Stickies. I tweaked his "Demo" profile to make a "Maintenance Light" and that is working as well.

    I just tried to create another light mode by first creating a Profile for it and then a Virtual Outlet for it and finally, adding the following code to my WMX program:

    Code:
    If Output LC_LPS = ON Then LC_LPS
    And I get this error:

    Code:
    Send Failed
    
    
          //Error: line 11 - Expected ON or OFF OR PFx  // If Output LC_LPS = ON Then LC_LPS
    I know Russ has this note in his stickie thread:

    The order of the statements in the LED outlet is critical!
    And I am guessing that is where my issue lies, but I don't know what order my new code would need to be in.

    Any thoughts?

  2. #2
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,464
    The statement order will not cause an error like that. "Expected ON or OFF OR PFx" means that you have not specified ON, OFF, or a valid profile name. It appears that you do not have a profile named LC_LPS. Did you mistype the name of profile you defined for this?
    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.

  3. #3
    Frequent Visitor
    Join Date
    May 2017
    Location
    Colorado Springs, CO
    Posts
    152
    Yes it was a simple typo, even though I doubled checked for those. Lol. Thanks for the help as always.

    On another note, I expected the moon lights to come on at 2208 tonight and they did not. I did confirm the new moon date is correct and updated the rise/set times in the Season Table (least I think I did it for the moon, I know I did it for the sun).

    Sent from my LG-H871 using Tapatalk

  4. #4
    Frequent Visitor
    Join Date
    Mar 2017
    Location
    US, Central
    Posts
    355
    Quote Originally Posted by Etoimos View Post
    I expected the moon lights to come on at 2208 tonight and they did not.
    These are the kind of issues that result from statement order

  5. #5
    Frequent Visitor
    Join Date
    May 2017
    Location
    Colorado Springs, CO
    Posts
    152
    Quote Originally Posted by clsanchez77 View Post
    These are the kind of issues that result from statement order
    Thanks. The moonlights did come on at some point last night as they were on when I woke up this morning at 0400. I'm guessing that the ramp up time for them had them on but not visible a few minutes after official moon rise.

  6. #6
    Frequent Visitor
    Join Date
    Mar 2017
    Location
    US, Central
    Posts
    355
    Quote Originally Posted by Etoimos View Post
    Thanks. The moonlights did come on at some point last night as they were on when I woke up this morning at 0400. I'm guessing that the ramp up time for them had them on but not visible a few minutes after official moon rise.
    What are you using for moonlights and what statement are you using to set them? If the moonlights are dimmable and the statement is "If Moon XXX Then On", Apex will dim the moonlights based on the phase of the moon. Since I only run my LEDs at 1% for the moonlight, they only turn on when the moon phase is at 50% or brighter. I had to use a virtual outlet to work around this until I purchase dedicated moonlights.

  7. #7
    Frequent Visitor
    Join Date
    May 2017
    Location
    Colorado Springs, CO
    Posts
    152
    Quote Originally Posted by clsanchez77 View Post
    What are you using for moonlights and what statement are you using to set them? If the moonlights are dimmable and the statement is "If Moon XXX Then On", Apex will dim the moonlights based on the phase of the moon. Since I only run my LEDs at 1% for the moonlight, they only turn on when the moon phase is at 50% or brighter. I had to use a virtual outlet to work around this until I purchase dedicated moonlights.
    I'm using the Radion G4 Pro (rx30w) as both my day and moon lights. I'm using the Seasonal Table to control both.

Similar Threads

  1. Question: Quick Q - can we rename optical sensor output from "open/closed" to "wet/dry"?
    By BTBarney in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 3
    Last Post: 07-07-2020, 16:49
  2. Help! Fusion not showing "Create Note" or "Log Measurement" tile
    By miahpage in forum APEX Fusion
    Replies: 3
    Last Post: 10-16-2018, 20:57
  3. Question: help with time table lighting and "storm/cloud" cover
    By betterinthehills in forum Apex Programming for Lighting
    Replies: 12
    Last Post: 10-20-2013, 07:12
  4. Replies: 5
    Last Post: 03-16-2013, 20:15

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
  •