Step 3: Track your assets indoor using your BLE beacons. - actility/abeemap GitHub Wiki

BLE Beacons are used to mark certain indoor locations so that Abeeway trackers can detect and report their presence to the AbeeMap application. In order to let AbeeMap estimate the location of trackers based on a list of reported BLE bssid, you need to go through the following steps.

Switch on your BLE Beacons.

In order to Switch on your Minew E7 BLE Beacon, open it - unscrew the cap - and follow the instruction provided here

Create a Floorplan in Abeemap

A floorpan is a geofence that define your area. Defining a floorpan will allow you to conveniently associate BLE Beacons to your indoor locations. To create a floorpan:

  1. Define your geofence in GeoJSON format at https://geojson.io.

  2. Copy the generated JSON text in the geojson field in the floorpan section of Abeemap.

  3. Save your floorplan. It now appears on your map.

Add your BLE Beacons

  1. Select the “BLE Beacons” tab on the AbeeMap application and click on the “+” icon to place a new BLE Beacon device on the map.

  1. Fill in the form with the bssid and name of the BLE Beacon. You can also fill in the latitude and longitude fields or just drag the emerging BLE icon to the right position on the map.

BSSID should be entered in lowercase using the ':' between each byte - e.g. ac:23:3f:61:e3:00

  1. Click on the Save icon and repeat this procedure until all your beacons are provisioned.

Activate BLE positioning on your Abeeway Trackers.

In order to have your Abeeway Trackers reporting BLE Beacons BSSID & RSSI to Abeemap Application, you need to change their geolocation technology configuration.

To do so, set it to BLE/GPS by sending the following payload to the desired trackers :0b0a050000000b0600000006

Route traffic to AWS IoT Core.

BLE based indoor Positioning features requires that the packets are directly routed from ThingPark to AWS IoT Core. To do so, you need to modify your trackers routing profile in ThingPark :

  1. Open your tracker's view :** Devices > List > "Your Tracker"**
  2. Click on "Add an application" and select AWS IoT Connector from the list.

At this stage, your tracker will report Position Message including BLE BSSIDs, as shown below:

{
  "temperatureMeasure": 23.3,
  "bleBssids": [
    {
      "rssi": -59,
      "bssid": "ac:23:3f:61:e3:00"
    }
  ],
  "appState": 1,
  "batteryVoltage": 3.24,
  "periodicPosition": false,
  "trackingMode": "MOTION_TRACKING",
  "deviceConfiguration": {
    "mode": "MOTION_TRACKING"
  },
  "sosFlag": 0,
  "onDemand": false,
  "rawPositionType": "BLE_BEACON_SCAN",
  "messageType": "POSITION_MESSAGE",
  "ackToken": 1,
  "payload": "032c50851702ac233f61e300c5",
  "dynamicMotionState": "MOVING",
  "age": 16
}

Visualize it on Abeemap

you are now ready experience continuous indoor/outdoor positioning using BLE & GPS 👍