C-Gate open a virtual network?

Discussion in 'C-Bus Toolkit and C-Gate Software' started by jboer, Mar 1, 2014.

  1. jboer

    jboer

    Joined:
    Apr 27, 2012
    Messages:
    458
    Likes Received:
    35
    Location:
    Sydney
    Hey Guys,

    Another weird one, but does anyone know if it is possible to create a phantom or virtual network within C-Gate that you can open and send commands from S+ ect but you don't need a physical interface device?

    My scenario is that I have S+ acting as a GUI then some third party custom software that we control via C-Bus. The Software uses C-Gate and so basically there is no actual physical C-Bus network with relays and bla bla. So at the moment we have to have a CNI per machine with this setup and a C-Bus Power Supply, which can be quite a cost when it adds up.

    Any suggestions would be appreciated!
     
    jboer, Mar 1, 2014
    #1
  2. jboer

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    770
    Likes Received:
    21
    Location:
    Adelaide
    Intriguing concept, never been asked for this before!

    In theory, and assuming you need the C-Bus messages to drive the third-party software, then you are probably looking to make some sort of CNI emulator software that listens on a port and fakes the initial handshaking long enough (*) for C-Gate's InterfaceState to get to "running". After this point you should be able to use a database model and execute all the C-Gate application commands with the FORCE modifier, eg "ON 254/56/1 force" and C-Gate will emit the C-Bus commands regardless of the network state.

    * Actual implementation could get messy.
     
    daniel, Mar 3, 2014
    #2
  3. jboer

    jboer

    Joined:
    Apr 27, 2012
    Messages:
    458
    Likes Received:
    35
    Location:
    Sydney
    OK, that doesn't sound fun but not impossible.

    So if you needed to add the force command would S+ work? Or would we need it to add that command to it's strings as well?

    Thanks!
     
    jboer, Mar 3, 2014
    #3
  4. jboer

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    770
    Likes Received:
    21
    Location:
    Adelaide
    Last time I checked a couple of years ago, S+ was using the force parameter for outgoing commands (at least in some situations), but you'd have to take a peek at the logs to confirm this.
     
    Last edited by a moderator: Mar 3, 2014
    daniel, Mar 3, 2014
    #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.