2 functions one button Is it Possible?

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by jako, May 4, 2013.

  1. jako

    jako

    Joined:
    Jan 31, 2005
    Messages:
    32
    Likes Received:
    0
    HI Guru's
    Is it possible for one button to open/close blinds during the day but from 8pm to 8am to work as a light switch?

    If this is possible can anyone help me right Logic?

    Thanks in advance
     
    jako, May 4, 2013
    #1
  2. jako

    Don

    Joined:
    Aug 4, 2004
    Messages:
    429
    Likes Received:
    0
    Location:
    Townsville, Australia
    It depends on the key unit you have as to how difficult it would be, but it is possible.
    If you use a key unit with Join capability (environment tab in Toolkit), you can freely define keys to have completely different functions depending on the state of another group. If the state of the controlling group is in turn controlled from a timer or a light sensor, then the key functionality you descrobe can be achieved without using logic (no C-Touch or PAC required)

    If on the other hand the key unit doesn't support Join, then you would need to use a C-Touch or PAC together with logic to define a translation of key functions, and the translation can depend upon the state of another group, or it can depend on a time range.
     
    Don, May 5, 2013
    #2
  3. jako

    jako

    Joined:
    Jan 31, 2005
    Messages:
    32
    Likes Received:
    0
    The switches are NEO
     
    jako, May 6, 2013
    #3
  4. jako

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    I haven't tested this logic code, but something like this might work:

    Code:
    if (Time > "8:00PM") or (Time < "8:00AM") then
      TrackGroup("Local Network", "Lighting", 'Wall Switch", "Light")
    else
      TrackGroup("Local Network", "Lighting", 'Wall Switch", "Curtain");
     
    Darren, May 11, 2013
    #4
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.