oldtag: null newtag: null

Discussion in 'C-Bus Toolkit and C-Gate Software' started by countach, Jun 24, 2007.

  1. countach

    countach

    Joined:
    Dec 22, 2005
    Messages:
    49
    Likes Received:
    0
    I'm trying to turn off a light via cgate:
    project load BITMEAD
    project use BITMEAD
    net open 254
    off bed1
    408 Operation failed: //BITMEAD/254/56/31

    and the cgate server is printing this error:
    20070625-010551 751 //BITMEAD - Tag information changed at tag address: //BITMEAD/Installation oldtag: null newtag: null
    20070625-010552 804 cmd27 - Host:/0:0:0:0:0:0:0:1%0 closed command interface from port: 49507

    Strangely, if I go into cbus toolkit, turn the light on and off using the gui, and then do the above telnet session again, it now works, although the server still prints the error. Even after I shut down the toolkit it still works.

    However, if I then restart the cgate server, and do it again, it fails again.
     
    countach, Jun 24, 2007
    #1
  2. countach

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    If the network hasn't synced yet you will need to force the write of the command

    Code:
    lighting 254/56/31 off force
    you can check the network sync state with the command

    Code:
    get 254 state
    and look for a state of sync.
     
    Richo, Jun 25, 2007
    #2
  3. countach

    Phil.H

    Joined:
    Jul 29, 2004
    Messages:
    466
    Likes Received:
    0
    Location:
    Sydney
    Going off your detail above you have not started the project properly. Your initialise code should be;
    Code:
    project load BITMEAD
    project use BITMEAD
    project start BITMEAD
    This shoud get things singing ;)

    PS. Depending on the number and size fo the C-Bus networks it may take minutes for C-Gate to build its model.

    Open a telnet session on IP address of C-Gate (localhost if same machine)<space> 20024 and watch the network build.
    I have my global event level set to "9"
     
    Last edited by a moderator: Jun 25, 2007
    Phil.H, Jun 25, 2007
    #3
  4. countach

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    Issuing a project start is not necessary for issuing lighting commands. As long as the network is in the "OK" state all should be fine. I recall that the start command only has an effect on some inbuilt scene features in C-Gate, and maybe some other uncomon stuff. All of which are largely not recommend for use and somewhat obscure. I doubt many (if any) CIS created client applications even issue a project start.
    </space>
     
    Richo, Jun 25, 2007
    #4
  5. countach

    Phil.H

    Joined:
    Jul 29, 2004
    Messages:
    466
    Likes Received:
    0
    Location:
    Sydney
    I know better than to disagree with you Richo, however, just last week spent two days playing with C-Gate is support of writing an engineering brief for one of our guys. C-Gate did not start modeling the project until I called project start (situation where Toolkit or SP had not previously opened networks). I was sending commands to a bridged network (253) and it definately would not play until I called project start (n).

    If I set the project via the C-GateConfig.txt file then there is no need to call project start.

    Am I doing something wrong :confused:
     
    Phil.H, Jun 25, 2007
    #5
  6. countach

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    Hmmm, Interesting. I will have to follow this up with Daniel. I have been known to be wrong in the past. ;)

    Certainly there would be no detrimental effect to calling project start.
     
    Richo, Jun 25, 2007
    #6
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.