C-Touch talking to local CGate

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by TDB, Jun 5, 2007.

  1. TDB

    TDB

    Joined:
    Jun 5, 2007
    Messages:
    7
    Likes Received:
    0
    Hi all,

    I have just completed my C-Bus installation and amnow trying to do the really tricky stuff.

    In PICED when I created my project I added a couple of CGate Procudures to allow me to dynamically change DLT labels via Logic. This all works well in PICED, but when I upload the project to C-Touch the CGate commands don't work anymore.

    Is this a local Firewall thing on the C-Touch?

    Here is an example of my code:

    {Connecto to CGate}
    SetProject : boolean;
    if SetProject = false then
    begin
    OpenClientSocket('127.0.0.1',20023);
    WriteClientSocket('PROJECT USE HOME_PROJECT'#13#10);
    SetProject := true;
    end;

    {Change DLT label}
    WriteClientSocket('lighting label 254/60 1 6 - text Fan LOW'#13#10);
     
    TDB, Jun 5, 2007
    #1
  2. TDB

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,397
    Likes Received:
    26
    Location:
    Adelaide, South Australia
    There is a utility in the CTC (setup page I think) that is used to open firewall ports.

    You need to find that and use it, on the CTC, its not part of PICED.
     
    ashleigh, Jun 5, 2007
    #2
  3. TDB

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    The colour c-touch doesn't have c-gate on it so you would need to run another PC on your network with cgate on it and connect to that PC from the C-Touch. This other PC would also need a C-Bus connection.
     
    Richo, Jun 5, 2007
    #3
  4. TDB

    TDB

    Joined:
    Jun 5, 2007
    Messages:
    7
    Likes Received:
    0

    Thanks for info, I always assumed the C-Touch was running c-gate :confused: .

    I'll set it up to talk to a PC.

    Regards,
    TDB
     
    TDB, Jun 7, 2007
    #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.