Xirrus XPS
Overview
The Kloudspot Analytics Engine can receive events from many types of WiFi network.
One or more of event sources can be configured in the ‘Configuration - > Event Processing - > Wi-Fi’ screen.
Validate the Receiver URLs
Most of the receivers below ‘push’ to a specific URL. The protocol (HTTP/HTTPS) used varies depending on the source. We support both HTTP and HTTPS protocols using port 48082 and 48083. Refer to the specific data source below to determine the correct one to use.
If you have set a SSL certificate for the UI, that will be used instead of the self signed one.
You can check access to both the HTTP and HTTPS urls with a ‘ping’:
$ curl http://{server}:48082/ping
hi from http receiver
$ curl -k https://{server}:48083/ping
hi from https receiver
Xirrus XPS
The Kloudspot Analytics Engine can receive location update events from the Xirrus Positioning System (XPS) as follows:
- Enable the Xirrus Event source in the Kloudspot Analytics Engine.
- Next login to XPS, click on API Docs
-
Then add a new forwarding job with the following URL:
http://{server}:48082/xirrus
You should immediately start receiving
events from the XPS.
The feed sent from the XPS doesn’t include information about APs. In order to deal with this, some special configuration (including setting an External Reference ID) is needed when setting up the location configuration in the Analytics Engine. Please ask your Klouspot contact with help setting this up.
Check Event Reception
Login to the Analytics Engine via SSH and run the kafka-listen command:
$ kafka-listen
{"vendor": "Kloudspot", "eventType": "PRESENCE", "location": null,..
{"vendor": "Kloudspot", "eventType": "PRESENCE", "location": null,..
{"vendor": "Kloudspot", "eventType": "PRESENCE", "location": null,..
{"vendor": "Kloudspot", "eventType": "PRESENCE", "location": null,..
You will be able to see the ‘raw’ event feed going into the stream processing.