Results 1 to 5 of 5

Thread: Macro IF, which can test Light overide mode state?

  1. #1
    Automated Home Ninja marcuslee's Avatar
    Join Date
    Dec 2009
    Posts
    279

    Default Macro IF, which can test Light overide mode state?

    Hi All,

    Aim:
    Porch light is automated with dark and PIR presence to turn on.
    Want to have a DFPH button 3 when pushed, overrides Porch light to ON and the button LED is set to flashing to remind. Push DFPH button 3 again, it puts override back to NONE, and LED flashing extinguishes.

    I think this is best done with a macro, though I can't seem to get past:
    - needing one button to set override on, and a separate button to override NONE (I was hoping to just build it into a macro with an IF, so I can just use the one DFPH button)
    - also I don't think I'm able to set button 3 LED to flashing enabled/disabled by following any sort of OVERRIDE state for the lights. Nor can i seem to find anywhere that this can be even accessed to set??

    Any advice/insight/suggestions appreciated!
    Last edited by marcuslee; 8th November 2023 at 11:46 PM.

  2. #2
    Automated Home Legend Karam's Avatar
    Join Date
    Mar 2005
    Posts
    863

    Default

    In this type of 'co-ordinate toggle set of functions' circumstance I tend towards using an intermediate flag. Generally use a dummy relay object set up as an on/off load object (not network enabled ) to act as such. You can create one starting with a legacy relay object for example. Possibly could also use a logic object but I like the floorplan visibility of state. Anyhow you can then toggle the state of the 'flag' using a single button and the on/off output connection outputs would then be used to to change the state of the LED flashing and light override values. Note that override and automation operating modes are controlled by parametric values, in other words you need to select a value setting connection. To get more details on what different values do probably best bet is go to a light object connections menu and click on help icon. Also, sometimes you have to check access to connections 'from the other end' if you can't find them from one side.

  3. #3
    Automated Home Ninja marcuslee's Avatar
    Join Date
    Dec 2009
    Posts
    279

    Default

    Thanks Karam as always. Have got most of the way there following your tuition, except:

    LRN (Legacy Relay Node) object, On/Off load, Set On/Off (Output), doesn't seem to allow any Value connections (so I can set Value, override mode = 4 and 1). It's greyed out?

  4. #4
    Automated Home Legend Karam's Avatar
    Join Date
    Mar 2005
    Posts
    863

    Default

    You should be able to access it from the light object's Override connections side. As a general comment: Connections are not always symmetrically accessible so always worth checking from the other end if can't be found from initial side.

  5. #5
    Automated Home Ninja marcuslee's Avatar
    Join Date
    Dec 2009
    Posts
    279

    Default

    Ah that's it, the last bit of your advice above about 'from the other end'.

    Thanks Karam. One of these days I'll be able to follow your (or Viv's) advice without needing to come back with a follow up question!!

Posting Permissions

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