Curly coding question

Discussion in 'C-Bus Toolkit and C-Gate Software' started by tobex, Nov 7, 2006.

  1. tobex

    tobex

    Joined:
    Nov 3, 2006
    Messages:
    728
    Likes Received:
    0
    Location:
    Sydney, Australia
    This is the setup in two rooms;

    1 fan, two inlet ports.
    1 bathroom (wet area)
    1 WC

    WC: PIR controls light (2min) and fan motor (4min) both on LI function (no wall switch)

    Bathroom: Two gang switch. top button bath light, bottom fan motor (on/off)


    Problem
    ----------------------
    WC PIR switches off fan motor even when shower is still in use causing shower fogging.

    Question
    ----------------------
    Is there are better setup of the WC PIR and Bathroom switch so that if the shower is being used (day or night) then the fan motor will not be controlled by the WC PIR.
     
    tobex, Nov 7, 2006
    #1
  2. tobex

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,427
    Likes Received:
    64
    Location:
    Adelaide
    The problem is your PIR is getting triggered and the expiry function is turning the fan off.

    There are a couple of approaches you could take..

    1) The PIR has an enable/disable function, which is controlled by a group address. You could use the bathroom light group to disable the PIR, so when the bathroom light is on, the PIR is disabled.

    2) You could use (max/or) logic in the output unit controlling the fan, and have separate groups controlled by the PIR and the switch in the bathroom, so that the fan will be on whenever either of these is on.

    Have a play with these and see how you go.

    Nick
     
    NickD, Nov 7, 2006
    #2
  3. tobex

    tobex

    Joined:
    Nov 3, 2006
    Messages:
    728
    Likes Received:
    0
    Location:
    Sydney, Australia
    Excellent advice. I never thought to use a "phantom" group in the relay unit joined by logic.

    I chickened out and bought another PIR. So now I have a dummy trigger for PIR activity in the bathroom. The Bathroom PIR now resets the fan function concurrently to the WC and they are on different time delays.
     
    tobex, Nov 9, 2006
    #3
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.