Sensor to toggle lights prior to turning off

Discussion in 'C-Bus Wired Hardware' started by PD_Automation, Jan 4, 2020.

  1. PD_Automation

    PD_Automation

    Joined:
    Dec 30, 2019
    Messages:
    1
    Likes Received:
    0
    Location:
    Sydney
    Hey everyone.

    I am currently programming a project and need to get the following to happen.

    Motion sensor to trigger lights and run for 30 minutes, the lights to flash once at 29 minutes of inactivity prior to turning off at 30 mins.

    I am going around in circles with it, I have conceded to using logic for this, I have a NAC installed on site.

    I am pulling blanks with how to successfully pull this one off.

    Has anyone done something similar before, if so, would you mind sharing with me how you did it?

    Many thanks.
    Phil.
     
    PD_Automation, Jan 4, 2020
    #1
    1. Advertisements

  2. PD_Automation

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    999
    Likes Received:
    75
    Location:
    Adelaide, Australia
    Have different ga's for the sensor and the light. Set the sensor timeout to 29min
    Create an event based script for the sensor ga.
    In the script, when the sensor goes on, turn on the light.
    When the sensor goes of, turn off the light, sleep for 1 second, then pulse the light on for 1 minute.
     
    Ashley, Jan 4, 2020
    #2
    1. Advertisements

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.