fan control

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by Richc, Jul 30, 2008.

  1. Richc

    Richc

    Joined:
    Jul 3, 2008
    Messages:
    16
    Likes Received:
    0
    Location:
    dural
    i am running into some red lights with a one button control of
    a sweep fan .

    messrs lucky 555 and froop have some concise logic code....

    once GetLightingState("Fan 1 Button")=ON then
    begin
    CounterFan1:=CounterFan + 1
    SetLightingState ("Fan 1 Button") , OFF;
    case CounterFan1 of
    0: ;
    1 :SetScene ("Fan 1 hi");
    2 :SetScene ("Fan 1 med")

    etc


    questions...
    1) there are 4 scenes, how are they triggered ?, trigger control
    with action selector per fan button in scene editor in piced ?
    2)what is Fan 1 Button? a group in lighting on the key? with on/off as function or scene as a function??
    3) are we using controlled item and scene group in Component properties?
    4) we have 11 fans (i work for a fan company) so does that
    mean i need 11 modules with similar code or all code in 1 module,
    will there be enough memory?





    carpe diem
     
    Last edited by a moderator: Jul 30, 2008
    Richc, Jul 30, 2008
    #1
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.