CBus Logic Question

Discussion in 'General Discussion' started by connectedsmart, Mar 7, 2013.

  1. connectedsmart

    connectedsmart

    Joined:
    Oct 10, 2012
    Messages:
    29
    Likes Received:
    1
    Location:
    Queensland
    I was wondering if any one could provide me with a logic example for the following scenario:

    I have two groups that control somfy blinds (One Group Up and Other Down). Both groups are a bell press for 3 seconds each. I would like to program them as one button on the PACA that can remember their last state and flip the commands.
     
    connectedsmart, Mar 7, 2013
    #1
  2. connectedsmart

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    1,554
    Likes Received:
    180
    Location:
    Adelaide, Australia
    Create a group address called say "Blind Toggle" and set it in your switch as a toggle function. Then you just need simple logic like

    ONCE "Blind Toggle" = ON then PulseCBusLevel("Local Network", "Lighting", "Blind Up", 100%, 0s, "0:00:03", 0);
    ONCE "Blind Toggle" = OFF then PulseCBusLevel("Local Network", "Lighting", "Blind Down", 100%, 0s, "0:00:03", 0);
     
    Ashley, Mar 7, 2013
    #2
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.