SHAC5500 and PIR programming

Discussion in 'C-Bus Automation Controllers' started by Michael Auckland, Oct 17, 2024.

  1. Michael Auckland

    Michael Auckland

    Joined:
    Dec 31, 2017
    Messages:
    7
    Likes Received:
    0
    Location:
    Australia
    I have a domestic C-bus setup with 2 5753L PIR sensors. The sensors are set to activate a series of night lights through the C-Bus toolkit. I have not been able to find a way to dictate that they only operate at specific times of night and not all the time.
    Any advice on how to set a schedule for them in either the SHAC or in the Toolkit would be much appreciated as they have me completely defeated right now. Thanks
     
    Michael Auckland, Oct 17, 2024
    #1
  2. Michael Auckland

    MadMal

    Joined:
    Dec 16, 2009
    Messages:
    84
    Likes Received:
    2
    Location:
    Perth, WA
    There are a couple of ways of doing this in my expereince - depending on exactly what you want to do and achieve.

    The most basic way is to use the day move/night move functionality so their do/dont operate in that part of the day.

    The next most basic is to set a Group Address into the PIRs Occupancy Enable/Disable function - then put a schedule on the group address. Obviously extend out if you want different schedules for different sensors - eg WIR sensors different to hallway different from entrance, etc .. the schedule is set up in the SHAC using the standard schedule functions.

    The most complex is to create Group Addresses for the PIRs only - ie the group addresses are programmed into the PIRs and nothing else. Then in the SHAC set up some code, using many ways, but tags are probably the most flexible, when the PIRs trigger on/off you then decide in the code what you want to do .. it could be nothing during the day, full brightness evenings, 20% (or nothing) otherwise .. or set scenes and far more complex things.
     
    MadMal, Oct 17, 2024
    #2
  3. Michael Auckland

    paddyb

    Joined:
    Aug 9, 2020
    Messages:
    10
    Likes Received:
    2
    Location:
    Ireland
    Hi, this should be relatively easy, I can share a simple way I have done this exact thing (and its also mentioned in the response above). I have no access to my cbus at the moment, so the terms/descriptions I use here are from memory.. Hopefully you can trace them all to reality..

    In the PIR settings, I think on the occupancy tab, there is configuration box where you can set a group address to enable/disable the motion detection. Create a group address for this purpose and select/enter it into this box. You can then export a CGL file from toolkit and import it into the SHAC, so that it now knows about this new GA (or just manually create it within the SHAC object editor, all you have to do is manually give it the same address as the one you created in toolkit). Once you have this object in the SHAC, you can use the time scheduler feature to turn it on and off as desired, hence enabling and disabling the PIR at your chosen times.
     
    paddyb, Oct 17, 2024
    #3
  4. Michael Auckland

    Michael Auckland

    Joined:
    Dec 31, 2017
    Messages:
    7
    Likes Received:
    0
    Location:
    Australia
    Thanks for the response. I’ll have a go tomorrow.
     
    Michael Auckland, Oct 17, 2024
    #4
  5. Michael Auckland

    Michael Auckland

    Joined:
    Dec 31, 2017
    Messages:
    7
    Likes Received:
    0
    Location:
    Australia
    Thanks for that. I’ll get into it tomorrow.
     
    Michael Auckland, Oct 17, 2024
    #5
  6. Michael Auckland

    Michael Auckland

    Joined:
    Dec 31, 2017
    Messages:
    7
    Likes Received:
    0
    Location:
    Australia
    Thanks for your response. I am still stuck. Here's where I am at, any help appreciated. I have night lights (Group 11.2) which are triggered by two PIR's at separate ends of a hallway (bend in hallway so thats why I need two). The PIR units are configured in Toolkit as follows. Virtual Key 1 - 11.2 Night Lights - Function Night Move - Virtual Key 2 - 11.2 Night Lights - Function Day Move. I have the potentiaometer in Global set to unused. Bank Switch has Bank 2 listed as 11.2 Night Lights. All other Banks are unused. Occupancy Has Enable/Disable set to PIR Control (a group I created for the 2 PIR's). and set to Disable? Key 1 shows - Nightlights Motion in Darrkness and Key 2 shows Nightlights Motion in Light. All others are Unused. Key Functions Shows Key 1 - Short Press / On Key Key 2 shows short press retrigger. Blocks shows 1 Unised with a tick in Key 3 2 Nightlights with ticks in Blocks 1 and 2 all others unused. There are no scenes.
    In the Shac5500 configurator I have configured a schedule that controls the PIR Group and has 2 events, 1 to turn PIR ON and 1 to turn PIR Off. These are not seeming to do the job as the PIR continues to function even when I have passed the Turn Off time line.
     
    Michael Auckland, Oct 18, 2024
    #6
  7. Michael Auckland

    Michael Auckland

    Joined:
    Dec 31, 2017
    Messages:
    7
    Likes Received:
    0
    Location:
    Australia
    UPDATE - By selecting Disable in the Occupancy Enable/Disable section, I have managed to make the PIRs' turn off at a specific time as per the SHAC schedule. They will not however turn back on using a second event in that schedule.
     
    Michael Auckland, Oct 18, 2024
    #7
  8. Michael Auckland

    paddyb

    Joined:
    Aug 9, 2020
    Messages:
    10
    Likes Received:
    2
    Location:
    Ireland
    In your scheduler events, double-check that you are setting the level of the disable group to 0 or 255, as appropriate.
    If you maybe 'duplicated' the first event you created, you have to edit the level value to be the opposite of the original one...
    Here is how mine is configured, for reference
    upload_2024-10-18_9-41-44.png
     
    paddyb, Oct 18, 2024
    #8
  9. Michael Auckland

    Michael Auckland

    Joined:
    Dec 31, 2017
    Messages:
    7
    Likes Received:
    0
    Location:
    Australia
    Thanks for the suggestion Paddy. No luck. I obviously have something askew in my set up. In Your Occupancy tab, do you have the Group set to Enable or Disable?
     
    Michael Auckland, Oct 18, 2024
    #9
  10. Michael Auckland

    ssaunders

    Joined:
    Dec 17, 2008
    Messages:
    246
    Likes Received:
    36
    Location:
    Melbourne
    Because SHAC, here's how I do PIRs next level @Michael Auckland. Might be of use.

    https://github.com/autoSteve/dPIR

    Hallway keywords example: DPIR, grp=Hall Mid Pendants, en=Hall PIR_1 Enable, run=90, lv=127/89/31, hr=22/0, ramp=4/12, dd=15,

    I set varying light levels for the targets at various times of day. e.g. late night the hall light comes on very dim.

    For your simple need, an example of a schedule for the hallway to stop it triggering during the bulk of the day. This just flips the enable group on/off. The PIR uses the GA to enable, not disable.

    upload_2024-12-15_17-12-28.png

    upload_2024-12-15_17-13-10.png

    Cheers.
    autoSteve.
     
    ssaunders, Dec 15, 2024
    #10
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.