Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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_Integration.pngImage RemovedImage Added

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 examplesubscription.pngImage Removed.

Image Added

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.

Image Added

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".

(plus) SCImage Added

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. 

FiledDescription
Device NameMust be the same as the Kaba software uses within the web service request
Device IDMust be the same as the Kaba software uses within the web service request
PathDefine an optional structure within the item tree
DescriptionProvide 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.

(plus) SCImage Added

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".

(plus) SCImage Added

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
42Deadbolt reset (retracted)
26Deadbolt / Privacy
4

Door ajar clear or Door Secure

 

Door ajar Generic
41Door Ajar Guest Long
 

Door Ajar Guest Short
 

Door Ajar Staff Long

 

Door Ajar Staff Short
 

Door Latched
 

Door Unlatched
17Generic Egress
 

Guest Key Used
8195Hub status OFFLINE
8194Hub status ONLINE
 

Key Error - Canceled Key Used
66Key error - Expired
 

Key Error - Other
 

Key error - Wrong Room
55Lock status OFFLINE
54Lock 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