Wiser iPhone app in transparent mode

Discussion in 'C-Bus Wiser 1 Controller' started by Craggen, May 23, 2013.

  1. Craggen

    Craggen

    Joined:
    Dec 30, 2009
    Messages:
    26
    Likes Received:
    0
    Location:
    Scotland
    Is there any particular reason why I'm unable to use the Wiser apps on the iPhone/iPad while C-Gate is running somewhere on the network? I'd like to use both the iPhone apps and web browser throughout the house to control lighting.

    I can't find any mention of the "Transparent Mode" in any of the CGate documentation I have.
     
    Craggen, May 23, 2013
    #1
  2. Craggen

    Roosta

    Joined:
    Nov 22, 2011
    Messages:
    560
    Likes Received:
    1
    Location:
    Australia
    Hello,

    Unfortunately Wiser MK1 can only handle one connection to C-bus at any time.. If you are connecting to your C-bus network via Toolkit or Piced using the Wiser as the interface then if you try to access the Wiser GUI while the connection is still active you will get 'transparent mode' until the interface resets..

    Cheers..
     
    Roosta, May 23, 2013
    #2
  3. Craggen

    kjayakumar

    Joined:
    Oct 27, 2008
    Messages:
    448
    Likes Received:
    0
    When you connect from the various wiser apps, the Wiser uses the CNI for its connection to perform C-Bus. The Wiser can support multiple UI connections but if you use Toolkit/cgate to connect to the Wiser, this is not a UI connection, it is a transparent mode connection meaning the Wiser becomes transparent and all traffic from Toolkit/cgate is sent directly to C-Bus. As you can imagine, in this mode, the UIs can't do anything because it is not possible to mix such traffic together safely. If you want to have Toolkit/cgate running at the same time, all you have to do is use a separate CNI.
     
    kjayakumar, May 24, 2013
    #3
  4. Craggen

    Craggen

    Joined:
    Dec 30, 2009
    Messages:
    26
    Likes Received:
    0
    Location:
    Scotland
    It's not PICED or Toolkit that I'm trying to connect but a custom developed app that utilises CGate to obtain unit and group information as well as manipulate lighting settings. Having taken my development so far down this root to now find out the CGate approach removes my ability to also use the Wiser apps is somewhat frustrating.

    Is there any way around this if Toolkit / PICED are not required? Can CGate be used in a different mode?

    If not, are there any plans in the future to change this or build a more modern programming API into the CNIs or Wiser?
     
    Craggen, May 25, 2013
    #4
  5. Craggen

    kjayakumar

    Joined:
    Oct 27, 2008
    Messages:
    448
    Likes Received:
    0
    Not sure if I've understood your suggestion. The Wiser has a fairly modern programming API, if you wireshark the traffic between your mobiles (ipad/iphone/android) and the Wiser, you'll see that it is a relatively clean XML API. I believe the Wiser supports up to 6 simultaneous client connections.

    There is no alternative mode for CGate, if you use CGate to connect to your Wiser, then it automatically makes the Wiser a transparent mode CNI. If you want to run CGate at the same time without affecting the Wiser, then you need to add a CNI for it to use.
     
    kjayakumar, May 25, 2013
    #5
  6. Craggen

    Craggen

    Joined:
    Dec 30, 2009
    Messages:
    26
    Likes Received:
    0
    Location:
    Scotland
    I wasn't aware of the Wiser specific API as I couldn't find any documentation for it. Is there any?

    I'll grab a copy of wireshark and have a peak.

    Thanks for your help.
     
    Craggen, May 29, 2013
    #6
  7. Craggen

    kjayakumar

    Joined:
    Oct 27, 2008
    Messages:
    448
    Likes Received:
    0
    Nope, no documentation for that API as it is not yet formalized and new features are still being added. Clipsal/Schneider may decide to change it as convenient (most likely just subtle changes).
     
    kjayakumar, May 29, 2013
    #7
  8. Craggen

    daniel C-Busser Moderator

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

    Just to clarify - transparent mode isn't mentioned in C-Gate documentation because it is a feature of the actual Wiser device. The Wiser puts itself in transparent mode and turns into a regular plain CNI. In fact most of the PICED-commissioned devices (B&W & Colour C-Touch, PAC, etc) can do this. This feature is designed for commissioning and for temporary emergencies in cases where a CNI/PCI is not otherwise available, but is not meant for daily use because the other features of the device are unavailable.

    For your integration scenario you will need to add a CNI/PCI to the network to give you the control you need.
     
    daniel, May 30, 2013
    #8
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.