Problem connecting to remote cgate

Discussion in 'C-Bus Toolkit and C-Gate Software' started by zx9, Jan 21, 2018.

  1. zx9

    zx9

    Joined:
    Jun 8, 2009
    Messages:
    49
    Likes Received:
    0
    Location:
    Melbourne
    Hi,

    I'm attempting to connect to a remote instance of cgate (on the same LAN) that's running on a raspberry pi but I am running into the following problem. After configuring access.txt with the correct IP 192.168.1.100 and restarting cgate I can see by calling access list that the IP is included by when I try to connect bit I still get the Access control refused connection from /192.168.1.100. I've also tried using the access load command first but it makes no difference.

    Any ideas?


    C-Gate logs as follows


    20180116-223203 761 cmd1 - Command: access list
    20180116-223203 766 cmd1 - Response: 135-line=1 entry=interface 0:0:0:0:0:0:0:1 Program
    20180116-223203 766 cmd1 - Response: 135-line=2 entry=interface 127.0.0.1 Program
    20180116-223203 766 cmd1 - Response: 135-line=3 entry=interface 192.168.1.100 Program
    20180116-223203 766 cmd1 - Response: 135-line=4 entry=interface 192.168.1.5 Program
    20180116-223203 766 cmd1 - Response: 135 line=5 entry=interface localhost Program
    20180116-223219 734 //YARRA/254 7ad62610-dcde-1035-bb11-9dcdc98c0dd9 response: 051173000208006D processed by network.
    20180116-223219 730 //YARRA/254/115/8 7ad89710-dcde-1035-bb99-9dcdc98c0dd9 new level=0 sourceunit=17 ramptime=0
    20180116-223220 734 //YARRA/254 7ad62610-dcde-1035-bb11-9dcdc98c0dd9 response: 0511AC0005010108080027 processed by network.
    20180116-223220 702 //YARRA/254/172 7ad7fad0-dcde-1035-bb95-9dcdc98c0dd9 [aircon] zone_hvac_plant_status ward=1 zones=0 type=8 status=8 error=0 sourceUnit=17
    20180116-223225 734 //YARRA/254 7ad62610-dcde-1035-bb11-9dcdc98c0dd9 response: 0511AC0001012F010140FF000000CC processed by network.
    20180116-223225 702 //YARRA/254/172 7ad7fad0-dcde-1035-bb95-9dcdc98c0dd9 [aircon] set_ward_off ward=1 sourceUnit=17
    20180116-223225 702 //YARRA/254/172 7ad7fad0-dcde-1035-bb95-9dcdc98c0dd9 [aircon] set_zone_hvac_mode ward=1 zones=0 mode=0 rawlevel=0 setbackenabled=0 guardenabled=0 useauxlevel=1 type=255 level=0 auxlevel=0 sourceUnit=17
    20180116-223234 766 cmd3 - Response: 421 Connection refused.
    20180116-223234 805 cmd3 - Access control refused connection from /192.168.1.100
    20180116-223235 734 //YARRA/254 7ad62610-dcde-1035-bb11-9dcdc98c0dd9 response: 0511AC001501011880008F processed by network.
    20180116-223235 702 //YARRA/254/172 7ad7fad0-dcde-1035-bb95-9dcdc98c0dd9 [aircon] zone_temperature ward=1 zones=0 level=6272 sensorstatus=0 sourceUnit=17
    20180116-223239 805 null - Access control refused load change connection from /192.168.1.100
    20180116-223241 766 cmd5 - Response: 421 Connection refused.
    20180116-223241 805 cmd5 - Access control refused connection from /192.168.1.100
    20180116-223243 805 null - Access control refused load change connection from /192.168.1.100
     
    zx9, Jan 21, 2018
    #1
    1. Advertisements

  2. zx9

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    762
    Likes Received:
    15
    Location:
    Adelaide
    Hi zx9, can you try using "remote" instead of "interface" as the initial keyword?

    Code:
    remote 192.168.1.100 Program
     
    daniel, Jan 22, 2018
    #2
    zx9 likes this.
    1. Advertisements

  3. zx9

    zx9

    Joined:
    Jun 8, 2009
    Messages:
    49
    Likes Received:
    0
    Location:
    Melbourne
    Perfect - now working - thank you :)
     
    zx9, Jan 22, 2018
    #3
    1. Advertisements

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.