Extracting the C-bus serial number and the firmware version to display on home page

Discussion in 'Pascal Logic Code Examples' started by Trevor, Mar 13, 2024.

  1. Trevor

    Trevor

    Joined:
    Nov 22, 2018
    Messages:
    354
    Likes Received:
    26
    Location:
    Melbourne Victoria
    Hi All logic lovers,

    Just trying to make my test project a bit more visually friendly, is is possible to extract the C-Bus serial number... the 00100 one, it shows on the properties window as long as there is a cbus connection. And is it possible to extract the firmware version... as in - 4.13.1 also shows up in the properties window. I'm only guessing that you can as they are available to the Homegate interface properties window.

    Would just like to have them showing on my home page for reference, during testing.

    regards
    Trevor
     
    Trevor, Mar 13, 2024
    #1
  2. Trevor

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    1,541
    Likes Received:
    177
    Location:
    Adelaide, Australia
    I have never found anyway of extracting this information using logic or systemio variables. You can extract certain unit parameters like temperatures and voltage etc, but the supported list is very limited. You can get it directly from cgate which is what I use (and how toolkit and homegate will do it), but that's probably not much use to you.
     
    Ashley, Mar 14, 2024
    #2
  3. Trevor

    Trevor

    Joined:
    Nov 22, 2018
    Messages:
    354
    Likes Received:
    26
    Location:
    Melbourne Victoria
    Cheers, as always helpful.
     
    Trevor, Mar 17, 2024
    #3
  4. Trevor

    Trevor

    Joined:
    Nov 22, 2018
    Messages:
    354
    Likes Received:
    26
    Location:
    Melbourne Victoria
    P.S.
    Ashley,
    I tried to find the command in C-Gate to get these but had no luck finding it.
    Can you help with the C-Gate commands to get the serial number of x device and the Firmware version as well.
     
    Trevor, Mar 18, 2024
    #4
  5. Trevor

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    1,541
    Likes Received:
    177
    Location:
    Adelaide, Australia
    You use the GET command on a physical unit number.
    e.g.
    get /254/p/2 *
    will print a list of all available data for unit 2 on network 254.
    You can then get individual items like
    get /254/p/2 SerialNumber

    etc.
     
    Ashley, Mar 19, 2024
    #5
  6. Trevor

    Trevor

    Joined:
    Nov 22, 2018
    Messages:
    354
    Likes Received:
    26
    Location:
    Melbourne Victoria
    Thanks Ashley, much apriciated.
     
    Trevor, Mar 19, 2024
    #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.