"p" address

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

  1. countach

    countach

    Joined:
    Dec 22, 2005
    Messages:
    49
    Likes Received:
    0
    I'm telnetting to the cgate server to turn on a light with group address 40:

    on rumpus
    200-OK: //BITMEAD/254/56/40
    402 Operation not supported by: //BITMEAD/254/p/27 (Method on not found)

    So the "40" address seems to work, judging by the "OK". But then there is this other wierd message about 254/p/27. I can't seem to see what this relates to.

    If I do a dbget on both these addresses:
    dbget 254/p/27
    342-254/p/27/OID=9b7a8dd0-057c-1028-a7ec-83ef0bcf7e39
    342-254/p/27/TagName=rumpus
    342-254/p/27/Address=27
    342-254/p/27/Description=null
    342-254/p/27/Display=null
    342-254/p/27/Location=null
    342-254/p/27/UnitType=KEYM8
    342-254/p/27/UnitName=RUMPUS
    342-254/p/27/SerialNumber=100169.1277
    342-254/p/27/FirmwareVersion=1.4.0
    342-254/p/27/LastModified=null
    342-254/p/27/FirmwareChecksum=null
    342-254/p/27/ParameterChecksum=null
    342-254/p/27/Input[0]={}
    342-254/p/27/Output[0]={}
    342-254/p/27/ProgramBlock[0]={}
    342-254/p/27/PP[51]={}
    342-254/p/27/CatalogNumber=5058NL
    342-254/p/27/BurdenEnabled=null
    342-254/p/27/Snapshot=null
    342 254/p/27/PatchVersion=null
    dbget 254/56/40
    342-254/56/40/OID=5677d510-02e0-1028-8bc6-8ca15f899630
    342-254/56/40/TagName=rumpus
    342-254/56/40/Address=40
    342-254/56/40/Description=null
    342-254/56/40/Display=null
    342-254/56/40/Location=null
    342-254/56/40/Area=null
    342-254/56/40/Phantom=null
    342-254/56/40/Snapshot=null
    342-254/56/40/Level[0]={}
    342 254/56/40/TagsDLT=null

    I don't understand what all this means.
     
    countach, Jun 13, 2007
    #1
  2. countach

    Phil.H

    Joined:
    Jul 29, 2004
    Messages:
    466
    Likes Received:
    0
    Location:
    Sydney
    You have called up the paramaters for an 8 gang key input unit in the "RUMPUS (unit address 27) out of the tag\.xml file. This has nothing to do with using C-Gate to control groups in the C-Bus network. Turing groups on/off/ramp etc is very easy. Try something like
    Code:
    on 254/56/40
    I am assuming you have managed to load and start the correct project.

    The best thing to do is jump onto the CIS website - downloads section then download and read the C-Gate documentation.
     
    Phil.H, Jun 14, 2007
    #2
  3. countach

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    770
    Likes Received:
    21
    Location:
    Adelaide
    Hi countach,

    In C-Gate's addressing model, /p refers to a (physical) unit. So BITMEAD/254/p/27 refers to unit 27 on network 254.

    When you send "on rumpus", C-Gate looks for all objects with the name "rumpus". It finds a Lighting group (/56/40) and a Unit (/p/27) with that name. So it tries to turn both of these ON.

    The Group turns ON just fine, so you get an OK as your first response. But the "on" command doesn't make sense for a Unit, and the second response tells you this.

    If the second response bothers you, you can either use direct addressing for the group (on 254/56/40) or rename the unit at 27 to something else.

    cheers,
    Daniel
     
    daniel, Jun 14, 2007
    #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.