Using System IO in scenes

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by ICS-GS, Jan 5, 2010.

  1. ICS-GS

    ICS-GS

    Joined:
    Nov 1, 2004
    Messages:
    347
    Likes Received:
    0
    Location:
    SE Melbourne
    is it possible (or could it be added to the software) to be able to access the system IO from within a scene in PICED?

    What i am trying to achieve is something along the lines of:

    Scene = Heater On (zone1)

    • Set zone 1 mode to heat
    • set zone 1 temp setpoint to x degrees...

    Scene = Cooling On (zone1)

    • Set zone 1 mode to cooling
    • Set fan mode to auto
    • set zone 1 comfort level setpoint to xxx ...
    Cheers

    Grant
     
    ICS-GS, Jan 5, 2010
    #1
  2. ICS-GS

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,397
    Likes Received:
    26
    Location:
    Adelaide, South Australia
    You are probably better off writing some logic code to do this. Accept the incoming trigger commands and then do all the bits you want.

    Making all that stuff happen in scenes is a big bad complex nasty world to head into.
     
    ashleigh, Jan 5, 2010
    #2
  3. ICS-GS

    ICS-GS

    Joined:
    Nov 1, 2004
    Messages:
    347
    Likes Received:
    0
    Location:
    SE Melbourne
    in the words of brainiac pauline hanson... 'please explain'
     
    ICS-GS, Jan 5, 2010
    #3
  4. ICS-GS

    Mark

    Joined:
    Oct 28, 2004
    Messages:
    196
    Likes Received:
    1
    Location:
    Grenoble, France
    Once SceneIsSet

    Hi,

    If you create empty scenes in the project, making sure they have the same trigger group and different action selectors (this ensures they are mutually exclusive) you could do this in logic:

    Code:
    once SceneIsSet("Scene 1") then
    begin
    // Ferkle with HVAC here...  
    end;
    
    This is doing the same thing as Ashleigh was talking about, but abstracts away the handling of Trigger Group / Action Selectors for you.

    Cheers,
    M
     
    Mark, Jan 6, 2010
    #4
  5. ICS-GS

    ICS-GS

    Joined:
    Nov 1, 2004
    Messages:
    347
    Likes Received:
    0
    Location:
    SE Melbourne
    hmmm... ok thanks
     
    ICS-GS, Jan 6, 2010
    #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.