C-Gate question

Discussion in 'C-Bus Toolkit and C-Gate Software' started by jack0, Mar 27, 2009.

  1. jack0

    jack0

    Joined:
    Mar 27, 2009
    Messages:
    1
    Likes Received:
    0
    Hi,

    I am trying to use C-Gate to control the lights in my house. The documentation shows that I can "control" the C-Bus network, but when I try commands such as "on 254/56/14" or "off 254/56/14", it doesn't seem to turn the lights on/off.

    All the commands I use get 200 OKs or 202 Done's. The commands I issue are as follows:

    project load HOME
    project use HOME
    net open 254
    do 254 sync
    tree 254
    (I see that the room I am currently in has status 254/56/14 ($e) level=255 state=ok units=43,101
    do 254/56/14 off
    202: Done: //HOME/254/56/14
    (nothing happens)
    do 254 sync
    202: Done //HOME/254
    (nothing happens)

    Am I doing something wrong here? Is there something else I need to configure before I can turn the lights on/off using CGate?

    Thanks
    Jack
     
    jack0, Mar 27, 2009
    #1
  2. jack0

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    Before trying to control the loads, send this command:

    get 254 state

    If it doesn't reply that the state is "OK", then you will not be able to send commands.
     
    Darren, Mar 31, 2009
    #2
  3. jack0

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    770
    Likes Received:
    21
    Location:
    Adelaide
    That is strange.

    Can you try these forms of the commands instead:

    ON 254/56/1
    OFF 254/56/14

    If that fails, you can "force" commands onto the bus using:

    ON 254/56/1 FORCE
    OFF 254/56/14 FORCE

    That parameter removes the need for the Network to be in an "OK" state. However, it's not really recommended unless as a last resort. I suggest it only so that it might help to diagnose why the normal commands not working.

    Let me know how you go and whether either of these works for you.
     
    daniel, Apr 2, 2009
    #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.