Bosch Building Technologies

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    How to test WebSocket on DICENTIS wired: Conf Protocol & custom made platforms (Synoptic Webview)?

    Intro

     

    The Conference protocol is a platform-independent protocol which is based on Web-Socket technology to enable scalability of the DICENTIS system and it connects with the DICENTIS web server.

    This is a small introduction to test if the web socket is basically working and if the connection is right.

     

    Step-by-step guide:

     

    Conference Protocol Demonstrator

     

    Please note that a web based demonstrator is available to assist developing and debug fixing for your own interface.

    The documentation and how tow use it can be found at this link.

    Central_Support_0-1683706840466.png

     

    First test is to see if the port is available if not please check your IP settings.

     

    Enter the following in your browser.

    In this example the server has the IP of 169.254.212.209 (due to a test without DHCP, not recommended to use this Link Local address for your server!) If you see this page you can reach the web server.

    2 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    Second example to open the Demonstrator:

    Central_Support_0-1710772545599.pngCentral_Support_1-1710772586758.pngCentral_Support_2-1710772620434.pngCentral_Support_3-1710772649623.png

     

    As next step we will show you a simple method to test the web socket and command the DICENTIS some tasks. If this is working, then the Dicentis web socket is fine.

    First you have to install Weasel ADD-ONS in your browser.

    3 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    Secondly you have to settle the connection with in Weasel. Please enter the following.

    "URL:" wss://<dcnm_server_ipaddress>:31416/dicentis/api   (in this case = wss://169.254.212.209:31416/dicentis/api  )

    and open "Protocol" DICENTIS_1_0

    If you did everything right it will show you "CONNECTION READY"

    4 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

     Next let's log in the DICENTIS.  The user name is "admin" and we have no password set ""

    {

    "messageId": 2,

    "operation": "Login",

    "parameters":

    {"password":"", "user":"admin" }

    }

     

    5 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    You will get this response.

    6 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    Now let's try to get some seats.

    {

    "messageId": 3,

    "operation": "GetSeats",

    "parameters": {}

    }

     

    7 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    Oh I forgot to switch the DICENTIS on.

    {

    "messageId": 4,

    "operation": "GetSystemPowerMode",

    "parameters": {}

    }

     

    8 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    Than lets switch it on now.

    {

    "messageId": 5,

    "operation": "SetSystemPowerMode",

    "parameters":

    { "powerMode": "poweredOn" }

     

    9 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    With this short commands we were able to test the connection and control the DICENTIS.

    If you need additional information please have a look at "ConferenceProtocol.chm" under Docs which is provided within the DCNM Software. Please always use the same .chm protocol as you are running right now. If you update your system don't use the old one anymore since were are for example some changes implemented from time to time. If you use a Crestron system in between please do first a backup so that you can easily switch back if needed. You will probably have to change your programming depending on your version. Please check History before you go for a higher version.

    10 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

    11 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    With the Debugger you can look into the program code.

    12 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png13 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    Please note that every command is described in the Conference Protocol Reference!

    14 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

     

    And you can check it with the Conference Protocol Demonstrator.

    15 WebSocket test for DICENTIS wired refering to Conference Protocol and custome made platforms (Synoptic Webview).png

    Please check the History before you update your system because it is steadily improving and some commands were changed.

    Central_Support_1-1683707090674.png
     

    Partner Companies which are using our open control design like for example conference protocol to build custom made control platforms are for example MIV.

    Central_Support_0-1710772890426.png
    Version history
    Last update:
    yesterday
    Updated by:
    Contributors
    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist