Indoor Tracking with iBeacon: the complete guide

Follow
Preview

iBeacon positioning in SmartPTT, from the radio codeplug to positioning rules.

This guide covers Indoor Tracking with iBeacon beacons and MOTOTRBO radios in SmartPTT PLUS and SmartPTT Enterprise 26.01. Option-board technologies (BluFi Wireless, Kilchherr) are not covered.

On the radio side, it describes only the codeplug settings SmartPTT depends on. For anything else about MOTOTRBO radios and repeaters, contact your Motorola Solutions representative.

Names you see on screen are set in bold. Values you type are set in monospace.

Contents

  1. How Indoor Tracking works
  2. Before you start
  3. Radio configuration
  4. Radioserver configuration
  5. Radios in Dispatcher
  6. Building plan and beacons
  7. Indoor geofences and routes
  8. Positioning rules
  9. Verify and troubleshoot

1. How Indoor Tracking works

GPS does not reach inside buildings. Indoor Tracking uses Bluetooth beacons instead: each beacon marks a known spot, and SmartPTT shows radios on a building plan according to the beacons they hear.

Beacons, not signal strength

Each beacon broadcasts its identity. iBeacon identifies a beacon by a group number (Major) and a number within the group (Minor), so SmartPTT writes a beacon as Major.Minor: 1.5 is beacon 5 in group 1.

The radio listens for the beacons configured in its codeplug and reports the ones it hears. SmartPTT shows the radio at the geographic average of the beacons in the report.

Where SmartPTT shows a radio, depending on the beacons it reports.Where SmartPTT shows a radio, depending on the beacons it reports.

Important. SmartPTT does not estimate distance from signal strength. A radio is always shown at a beacon or between beacons, so beacon spacing sets how precise the plan can be.

What the radio reports

The radio decides which beacons go into each report. SmartPTT shows only what it receives.

  • The radio stores every beacon it scans, with the scan time, in a stack: the newest beacon is always on top.
  • Each location report carries the top five beacons. The radio then removes them from the stack.
  • SmartPTT shows the radio at the average of those five beacons. The order in which the radio passed them is lost: on a track they appear as one point.
  • Beacons that are not in a report never reach SmartPTT, so the movement between them never appears on the plan.
  • When the radio scans a beacon again, the beacon moves back to the top with the new scan time, and the earlier scan is deleted.

Ten beacons passed between two reports. Only the newest five move the radio.Ten beacons passed between two reports. Only the newest five move the radio.

A track therefore shows where the radio was at each report, not every beacon it passed. The update interval you set for each radio (see Enable one radio) decides how many beacons pile up between reports. For details of the radio’s indoor logic, see the MOTOTRBO documentation or contact Motorola Solutions support.

How reports reach the dispatcher

Beacon reports travel over the radio network like any other location data. Where they enter SmartPTT depends on how the radioserver connects to the radio system, and each radio’s codeplug must send its reports to that point.

The path of a beacon report. The address in the radio codeplug depends on the connection type.The path of a beacon report. The address in the radio codeplug depends on the connection type.

Setup at a glance

Work through the chapters in order. Each stage depends on the one before it.

Radios In MOTOTRBO CPS, turn on Bluetooth and indoor location, add the beacon list and set where reports go.
Radioserver In Radioserver Configurator, turn on the Indoor Tracking module with the Motorola source.
Radios in Dispatcher Enable Indoor tracking and set an update interval for each radio.
Building plan Load one image per floor and place each beacon where it is installed.
Geofences Group beacons into the areas you want to watch.
Positioning rules Raise alerts when radios enter or leave a geofence, stop moving or go silent.
Verify Watch the reports arrive in Radioserver Configurator, then watch the radio move on the plan.

2. Before you start

Check these before you configure anything. Most Indoor Tracking problems trace back to something on this page.

License The SmartPTT license must include Indoor Positioning (listed as Indoor Tracking in price lists). To check it, open Settings › Licenses in Radioserver Configurator.For licenses, contact your regional SmartPTT manager.
Radios –  MOTOTRBO radios with a built-in Bluetooth module that support indoor location.–  The Indoor Location Tracking feature available in the radio (see Codeplug settings).–  For supported models and firmware, check with your Motorola Solutions representative.
Beacons –  Beacons that support iBeacon, each with its UUID, Major and Minor set with the vendor’s tool.–  A list of every beacon: UUID, number, name, floor and exact position.
Building plans One image file per floor, for example PNG or JPG.
Radioserver –  A radioserver already connected to the radio system and receiving location data.–  With local or domain authentication, a Radioserver Configurator login in the System Administrators group.–  For radio tracks, the radioserver Event Log must be active.
Dispatcher rights The operator who sets up Indoor Tracking needs these rights:–  Manage radio location settings, for radio properties and the indoor map–  Edit radio lists, to change several radios at once–  Manage geofences and Manage routes–  Manage positioning rules–  Manage tracks, to show radio tracks–  Request radio location, which includes Find on Indoor Map

3. Radio configuration

Each radio needs Bluetooth, indoor location and the list of beacons to listen for, and must send its reports to the right address.

Important. This chapter lists only the codeplug settings SmartPTT depends on. For anything else about programming MOTOTRBO radios, contact your Motorola Solutions representative.

Codeplug settings

  1. In MOTOTRBO CPS, read the radio. In its Feature Sets, check that Indoor Location Tracking is Free or purchased. If it shows Available for Purchase, contact your Motorola Solutions representative.

    Indoor Location Tracking in the radio’s feature setsIndoor Location Tracking in the radio’s feature sets

  2. Open General › Indoor Location and select Indoor Location. Under Beacon List, add every beacon the radio should report, with a Beacon Alias and its Beacon UUID.

    Scan Interval and Scan Mode control how the radio scans. They are MOTOTRBO settings; see the Motorola documentation.

    Indoor Location turned on, with six beacons in the codeplug’s beacon listIndoor Location turned on, with six beacons in the codeplug’s beacon list

  3. In Menu, under Utilities, select Indoor Location, so that users can switch indoor location on from the radio menu.

  4. In Network:

    • Under Bluetooth, select Enable.
    • Set ARS Radio ID to the address that receives reports on the SmartPTT side (see How reports reach the dispatcher): the control station’s Radio ID, the radioserver Peer ID for IP Site Connect (legacy), or the MNIS Application ID for NAI systems and Capacity Max.
  5. Write the codeplug to the radio.

On the radio

  1. Go to Main Menu › Bluetooth › My Status and select On.

  2. Go to Main Menu › Bluetooth › Indoor Location and select Enabled.

Radios that also report GPS

A radio does not need GPS for Indoor Tracking. When a radio reports satellite and beacon locations at the same time, though, the channel can run out of capacity and lose reports, so the radio shows up in the wrong place. To prevent this:

  • In radio and repeater codeplugs, turn on Enhanced GNSS and set the window size to 10.
  • In radio codeplugs, turn on compressed UDP headers in the MSI format.
  • In SmartPTT Dispatcher, set the indoor update interval to 30 seconds (see Enable one radio).
  • In NAI systems, set GPS Transmission Mode to Data in the radioserver’s MNIS settings.

4. Radioserver configuration

Turn on the Indoor Tracking module so that the beacon reports your radios send reach SmartPTT Dispatcher.

Turn on Indoor Tracking

  1. In Radioserver Configurator, open the Settings tab.

  2. In the left pane, expand Add-on Modules and click Indoor Tracking.

    Indoor Tracking settings in Radioserver ConfiguratorIndoor Tracking settings in Radioserver Configurator

  3. Select Active, then set Indoor source to Motorola, the iBeacon source.

  4. In Minimum RSSI level, enter the lowest signal level you consider reliable. The radioserver ignores beacon signals below it.

    Note. Raising this level filters out weak signals. It does not make positions more precise.

  5. Leave Set list of allowed beacons cleared. The list is only a filter: it drops beacons from reports the radios have already sent. If you do need it, for example to ignore beacons that belong to another system, enter the beacon numbers with hyphens for ranges and commas between entries: 1.5, 1.6, 2.9-2.15.

    Recommended. Leave the allowed list off unless you have a specific reason to filter beacons.

  6. Click Save Configuration. To apply the change now, click Start or Restart.

Keep the Event Log on

Radio tracks on the building plan are built from the radioserver’s Event Log. If it is not active, or the radioserver is stopped, the radioserver does not appear as a track source in Dispatcher. Check that Active is selected in Settings › Add-on Modules › Event Log. To set up the database connection, see “Configuring Event Log Database Connection” in the SmartPTT Installation and Configuration Guide.

5. Radios in Dispatcher

Dispatcher only tracks radios you enable for Indoor Tracking. For iBeacon, each radio also needs an update interval.

Enable one radio

  1. In Radio Fleet, right-click the radio and open the Radio Properties window.

  2. Open the Location tab and select Indoor tracking.

  3. Select Update interval (sec) and enter the interval in seconds. Indoor Tracking with iBeacon does not work without it.

    Note. Use 30 seconds if the radio also reports GPS (see Radios that also report GPS).

  4. Click Save.

    Indoor tracking with a 60-second update intervalIndoor tracking with a 60-second update interval

Enable several radios at once

  1. On the menu bar, click Settings › Radios › List of Radios.

  2. In the Radios area, select the radios with Ctrl or Shift.

  3. In the Properties area, set the indoor settings as for one radio, then click Save.

    Where the selected radios had different values, the field starts empty. Whatever you enter applies to all of them.

How long a radio stays on the plan

If a radio sends no new beacon reports, Dispatcher removes its label from the building plan. Set how long it waits in Settings › Positioning Systems › Validity of beacon signals (min), then click Finish.

6. Building plan and beacons

The building plan is where Dispatcher shows radios. You build it from floor plans, then place every beacon where it is installed in the real building.

Create the building plan

  1. On the menu bar, click Map › Indoor Tracking › New Building Map.

    The Floor Plan window opens.

  2. In Building Name, type a name for the building.

    A three-floor building with one image per floorA three-floor building with one image per floor

  3. For each floor, click Add. To name the floor, click its name in the Floor column and type. To attach the floor image, click the browse button in the File Path column, select the file and click Open.

  4. Put the floors in order with Up and Down.

  5. Click Save, choose SPLAN or SPLANX (a zipped archive) and click Save.

    The building plan opens in a new indoor map panel.

To open a saved plan later, click Map › Indoor Tracking › Open Indoor Map. To watch several buildings at once, open several indoor map panels. To change floors later, click Edit Plan on the Floor Plan tab of the Control Panel.

Place the beacons

  1. On the indoor map, click Expand the Control Panel, then expand the Floor Plan tab.

  2. Click Add Beacon.

  3. In Beacon Number, type the beacon number as Major.Minor, for example 3.1. In Beacon Name, type a name such as electrical, then click OK.

    Without a name, the plan shows the beacon number.

  4. Click the spot on the plan where the beacon is installed.

    To cancel instead, click Add Beacon again.

  5. Repeat for every beacon on every floor, then click Save.

Important. Each number on the plan must match the real beacon. A wrong number places radios in the wrong spot, or nowhere.

To edit or delete a beacon, double-click its label and change its properties, or click Delete.

Show radios on the plan

On the Radios On Plan tab, select the radios to show. The tab lists only radios enabled for Indoor Tracking (see Enable one radio). On the Floor Plan tab, Label size sets the size of radio and beacon labels, and the Beacons and Radios palettes set their colours.

Floor 1 of the Warehouse plan with named beacons, and radio John selected on the Radios On Plan tabFloor 1 of the Warehouse plan with named beacons, and radio John selected on the Radios On Plan tab

7. Indoor geofences and routes

Geofences and routes give the building plan meaning: they are what positioning rules watch.

An indoor geofence is a set of beacons

Outdoors, you draw a geofence as an area on the map. Indoors there is nothing to draw: you pick beacons from a list, and that list is the geofence. Only beacons already placed on the building plan can be picked. A geofence can hold a single beacon or many.

Outdoor and indoor geofences. Beacon numbers are iBeacon Major.Minor values.Outdoor and indoor geofences. Beacon numbers are iBeacon Major.Minor values.

Create a geofence

  1. On the Floor Plan tab of the Control Panel, click Geofences, then Add.

  2. In Name, type a name. From Color, pick the colour that will mark its beacons.

    The Electrical geofence, which holds one beaconThe Electrical geofence, which holds one beacon

  3. Move beacons from All beacons to Geofence beacons: double-click them, drag them, or select them and click the arrow between the lists.

  4. Click OK, then Finish.

To highlight a geofence’s beacons on the plan, select its Show check box in the Geofences window.

Create a route

A route is also built from beacons, but their order matters, and a beacon can appear more than once. Use routes for patrols and rounds.

  1. On the Floor Plan tab, click Routes, then Add.

  2. Type a Name and pick the colour of the route line.

  3. Add beacons to Route beacons in the order the route passes them. Fix the order with Up and Down.

  4. Click OK, then Finish.

8. Positioning rules

A positioning rule watches beacon data and acts on its own: it alerts the dispatcher, acts on the radio or calls an outside service.

Rule types for indoor data

Zone/route entry A radio enters a geofence or route.
Zone/route exit A radio leaves a geofence or route.
Number of radios/mobile clients in geofences / on routes The number of radios in an area is less than, at most, more than or at least a set value.
No radio/mobile client movement A radio’s position does not change for a set time.
No location data No valid location from a radio for longer than a set time.
Location data received A radio reports again after a period without reports.

Speeding and Proximity Alerts work only with GPS data.

Create a rule

  1. On the menu bar, click Settings › Rules › Positioning Rules, then Add.

  2. Select Active, type a Name and select Indoor.

    The restricted-area rule in the Positioning Rule window, Dispatcher Alert tabThe restricted-area rule in the Positioning Rule window, Dispatcher Alert tab

  3. From the Type list, select the rule type.

  4. Under Conditions, choose the radios (all, selected radios, users or categories) and the geofences, routes, times or numbers the type needs.

  5. Under Actions, set what happens on each tab:

    • Initiator Alert: play a sound, send a message, block the radio, switch Lone Worker or Man Down
    • Dispatcher Alert: show an alert, play a sound, show the radio on the map, set its status
    • Radio Alert: send a message to chosen recipients
    • Other: HTTP request, e-mail or SMS
  6. Click OK, then Finish.

Examples

Each example reads as one sentence. The setting behind each part is shown on its left.

Restricted area

All radios When any radio
Zone/route entry enters
Geofences Electrical,
Dispatcher Alert › Alert alert the dispatcher
Dispatcher Alert › Play Sound and play a sound.

The alert appears on the Notifications panel with its caption and text, the radio and the time.

Muster point headcount

Number of radios…: less than 10 When fewer than 10 radios are in
Geofences Muster point,
Dispatcher Alert › Alert alert the dispatcher.

The rule type is Number of radios/mobile clients in geofences / on routes. Set the number to the size of the team expected at the muster point. Keep the rule inactive in daily work and select Active for a drill or an evacuation.

Leaving the work area

Select Categories When a Maintenance radio
Zone/route exit leaves
Geofences Workshop,
Initiator Alert › Block Radio block it
Radioserver rule › voice notification and warn the Maintenance talkgroup.

The positioning rule blocks the radio. The voice notification comes from the radioserver: in Radioserver Configurator, add a rule on the Block event that sends a voice notification to the Maintenance talkgroup. See “Rules” and “Voice Notifications” in the SmartPTT Installation and Configuration Guide. The Maintenance category must exist in Dispatcher first.

9. Verify and troubleshoot

Before you rely on the system, check that beacon reports actually reach the radioserver. The Activity tab of Radioserver Configurator shows them as they arrive.

Watch reports arrive

The Activity tab lists, in real time, what the radioserver exchanges with the radio network: registrations, messages, calls, telemetry and location reports. Filtered to one radio, it shows every beacon report that radio sends.

  1. In Radioserver Configurator, open the Activity tab.

  2. Under Filter, clear All Events and select Locations (Location).

    Beacon reports from radio 1001, filtered to location events.Beacon reports from radio 1001, filtered to location events.

  3. In Radio ID, type the ID of the test radio.

  4. Walk the radio past several beacons and watch the reports arrive.

    Auto Scroll keeps the newest report in view. Clear Activity Log empties the list.

Reading a report

Each line is one location report. In the Event column:

12.0.3.233 (1001) The radio’s IP address and Radio ID.
TriggeredLocationReport A report the radio sends on its update interval.
[id=3.4 rssi=-73] One beacon in the report: its number as Major.Minor, and the signal level the radio received, in dBm.

What to look for:

  • Reports arrive about once per update interval.
  • The beacon numbers match the beacons on the building plan.
  • The RSSI values are above the Minimum RSSI level. Weaker beacons are ignored.

See the radio on the plan

Open the building plan and select the test radio on the Radios On Plan tab. As you walk, its label moves from beacon to beacon. To see its history, use Add Track on the Radio Tracks tab.

When something is wrong

Radio is not in Radios On Plan Indoor tracking is not enabled in its Radio Properties (see Enable one radio).
No reports in the Activity tab –  The ARS Radio ID in the codeplug does not match the address on the SmartPTT side (see Codeplug settings).–  Bluetooth or indoor location is off in the radio menu (see On the radio).–  Indoor Location is off in the codeplug, or the beacons are not in its beacon list (see Codeplug settings).
Reports arrive, but the radio does not move –  The beacon numbers in the reports differ from the numbers on the plan (see Place the beacons).–  Their RSSI is below the Minimum RSSI level (see Turn on Indoor Tracking).–  The allowed-beacon list, if used, does not include them (see Turn on Indoor Tracking).–  Update interval (sec) is not set for the radio (see Enable one radio).
Radio disappears from the plan No new beacon reports within Validity of beacon signals (see How long a radio stays on the plan).
Track skips beacons the radio passed Expected: each report carries at most five beacons, and beacons outside a report never reach SmartPTT (see What the radio reports).
Radio jumps around while it also reports GPS The channel is overloaded. See Radios that also report GPS.

Contacting support

If the checks above do not help, write to support@smartptt.com and attach:

  • a debug log from the radioserver computer, covering the problem
  • the codeplugs of the affected radios
  • screenshots or a short video of the problem
  • a detailed description: what happens, when, and with which radios
Have more questions? Submit a request

Comments

Powered by Zendesk