Architecture
...
Architecture
Our server provides the opportunity to integrate event information from Kaba online door locks. The following figure shows how the integration has to be done.
Kaba door locks are using a wireless communication protocol which is based on ZigBee. In order to retrieve information like door events, ZigBee/IP hubs are required. These hubs are provided by Kaba and have the aim to translate ZigBee packets into IP packets for the local area network (LAN). Depending on the project multiple ZigBee hubs are needed.
...
The events are centrally collected by the Kaba server software. This software package provides an interface called Messenger LENS web service interface. This interface provides the opportunity to send events via push notifications to third-party software. In detail, the Kaba software acts as a web service client that sends web service requests to our NETx BMS Core Server server which in turn acts as web service server. The communication protocol itself is based on SOAP web services.
...
driver is implement as a plugin for the NETx BMS Core Server. Therefore, it has to be installed via the Extension Manager. To do so, stop the NETx BMS Core Server, Extension Manager in "Extensions" tab. Select the "Kaba" interface and press install as shown in the following screenshot:
...
After having installed the interface, restart the NETx BMS Core Serverserver.
Integration steps
First, the Messenger LENS web service interface has to be configured. Open a web browser and open the login screen of the Messenger LENS web interface. Within the http URL, use the IP address of the PC where the Kaba software is running.
...
Afterwards, select the "Configuration" tab, select "Group Permissions" and add a new group permission. Within the wizard, go through step 1 - 3 and select the events and locks that you want to receive within the NETx BMS Core Server. Within step 4, select "Allow User's Web Service" and enter the following URL (replace <IP BMS NETx Server> with the IP address of the PC where the NETx BMS Core Server is running and choose a free port (e.g. 6005):
...
The following screenshot shows an example.
Finish the configuration by going through the remaining steps 5 - 7.
Afterwards, change to the tab "Operations", select "Subscription" and add a new subscription. Select the events, the user and the locks. Within the last step (step 4) of the wizard, "Notify me on my Web server" should be selected and the web service URL should be shown.
As next, open the BMS Core Studiostudio. First, configure the communication port that you have enter within the web service URL. This can be done by selecting "Driver Configuration" within the menu "Modules" -> "Kaba".
SC
Then, the used devices have to be created. This is done within the "Device definitions" within the menu "Modules" -> "Kaba". Each definition line corresponds to one device. The first column defines the device name. The device name must be unique and is shown within the item tree the NETx BMS Core Server. The next column "Device ID" is optional. "Device Name" and "Device ID" are used to assign a web service notification to the corresponding item within the item tree. This means that either "Device Name" or "Device ID" must be the same as the Kaba software uses within the web service request. The 3rd column "Path" is used to define an optional structure within the item tree. "Description" is used to provide additional information which is stored within the item property "Description". The remaining field "Persistent", "Historical" (NETx BMS Server 2.0 only) and "Synchronize" have the same functionality as for all other interfaces within the NETx Server.
Filed | Description |
---|---|
Device Name | Must be the same as the Kaba software uses within the web service request |
Device ID | Must be the same as the Kaba software uses within the web service request |
Path | Define an optional structure within the item tree |
Description | Provide additional information which is stored within the item property |
The following figure shows an example where 1 door lock is defined. In addition, the ZigBee/IP called "Hub Floor1" is also defined in order to receive events dedicated to the ZigBee/IP hub.
SC
After having defined all devices, the NETx BMS Core Server server has to be restarted. Afterwards, the configured devices are shown within the item tree under the sub tree "NETx\XIO\Kaba".
SC
The retrieved information from Kaba is stored as Server Items. Each retrieved field from the web service request is stored as one server item. Regardless which fields are selected within the Messenger LENS interface, all fields are always shown within the NETx BMS Core Serverserver. However, only 5 Server Items are counted to the license for each defined device. All other items are not counted to the license and are thus for free.
The most important information is the "Event ID" and "Event Name" which indicate the event type. This information can be linked to an XLogic command or LUA task in order to trigger some actions like changing a data point (e.g. trigger a lighting scene). The following table gives an overview of all events:
Event ID | Event Name |
---|---|
Event ID | Event Name |
Date time Error |
Date time OK | |
42 | Deadbolt reset (retracted) |
26 | Deadbolt / Privacy |
4 | Door ajar clear or Door Secure |
Door ajar Generic | |
41 | Door Ajar Guest Long |
Door Ajar Guest Short |
Door Ajar Staff Long |
Door Ajar Staff Short |
Door Latched |
Door Unlatched | |
17 | Generic Egress |
Guest Key Used | |
8195 | Hub status OFFLINE |
8194 | Hub status ONLINE |
Key Error - Canceled Key Used | |
66 | Key error - Expired |
Key Error - Other |
Key error - Wrong Room | |
55 | Lock status OFFLINE |
54 | Lock status ONLINE |
Low battery |
Low Battery Clear or Battery Normal |
Mechanical Key Override |
New Guest Key Used |
Paging Keys |
Staff Key Used |
Standing Intruder |
Transaction Failed |
Wandering Intruder |