Pir auto/manual

Discussion in 'C-Bus Wired Hardware' started by Pie Boy, May 1, 2023.

  1. Pie Boy

    Pie Boy

    Joined:
    Nov 21, 2012
    Messages:
    249
    Likes Received:
    31
    Location:
    New Zealand
    What's the simplest way just using toolkit to achieve programming for an auto manual switch - hardware is as follows,
    5750WPL External Pir
    Zen 2 key switch
    Relay controlled load

    Basically when the 2 key is on i want it to override the sensor and turn the light on, then when its off, turn the light on and enable the sensor.
    i was thinking creating 2 scenes (one for off and one for on) and putting both the disable GA for the sensor and the GA for the relay load on the same scene?

    how do others approach this function?
     
    Pie Boy, May 1, 2023
    #1
  2. Pie Boy

    Graham Lamb

    Joined:
    Aug 3, 2004
    Messages:
    96
    Likes Received:
    12
    Location:
    Sydney, Australia
    Hi
    A very simple way is to use the logic in the relay set as OR logic GA for PIR and GA for switch and leave the PIR enable not used.
     
    Graham Lamb, May 2, 2023
    #2
  3. Pie Boy

    Pie Boy

    Joined:
    Nov 21, 2012
    Messages:
    249
    Likes Received:
    31
    Location:
    New Zealand
    Nice one easy az thanks
     
    Pie Boy, May 4, 2023
    #3
  4. Pie Boy

    Pie Boy

    Joined:
    Nov 21, 2012
    Messages:
    249
    Likes Received:
    31
    Location:
    New Zealand
    Although on further testing there is no true off for the circuit using this way as if the 2 key sw ga is off the sensor logic or Ga still operates the light etc
    So there’s no way to have an off I wonder if I can use some blocks on the 2key to achieve this…
     
    Pie Boy, May 5, 2023
    #4
  5. Pie Boy

    Wonkey

    Joined:
    Aug 3, 2004
    Messages:
    415
    Likes Received:
    39
    Location:
    Adelaide
    Try this I know it worked in the past but there may have been changes in the firmware.
    What should happen is when the GA is turned on by something other than the PIR, the PIR is disabled and the relay channel is turned on.
    When the GA is turned OFF the PIR is enabled and the relay is also OFF.
    The PIR when it turns the GA ON cannot disable itself.
    As I mentioned earlier it used to work in earlier firmware, sorry if thats not the case anymore. please let me know ithe outcome for future reference.
    Ignore the warning on the PR GUI
    upload_2023-5-5_16-33-50.png
     

    Attached Files:

    Wonkey, May 5, 2023
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.