Device Locator

How is the device locator working

Whereabouts Location service

1NCE OS provides the ability to manage and view device positions using both the API and the frontend. An interactive map showing all customer devices is available on the Device Locator page, and the location history of individual devices over the last 7 days can be accessed on the Device Inspector page.

1NCE OS utilizes and processes multiple sources of device location data:

  • GPS data via the Energy Saver template.
  • GPS data via LwM2M using the /6/0/0 object.
  • Cell tower location data using SIM network tower connections.

Cell Tower Location

The Device Locator provides an approximate position of IoT devices by analyzing data from network events when creating a new PDP Context/Session used for data transmission.
This feature has to be activated in the portal. To view latest particular device cellTower location resolution attempts Activity endpoint can be used.

Enabling the Cell Tower location feature

Enabling the Cell Tower location feature

Basic solver mode

By default, the basic solver mode is enabled, which delivers device positioning when connected via 2G technology. Resolved position is based on the location of the cell tower device is connected to. Positioning for 3G, 4G, LTE-M, and NB-IoT connections is not guaranteed and may not be resolved.
Creative Commons License OpenCelliD Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
OpenCelliD Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Plus solver mode

When Plus solver mode is enabled, it improves the Cell Tower Location accuracy and coverage particularly for 3G, 4G and LTE-M. However, NB-IoT resolutions will not be performed in Plus solver mode.

Up to 95% of all cell tower locations are successfully resolved using the Plus solver mode.
New metadata field is also added with accuracy data. In the following example, the circle around the point on the map indicates that there is a 68% probability that the device is within a 270-meter radius of the provided location.

Device Location Credits

Each cell tower resolution consumes 1 credit from the Device Locator credit balance. The credit balance is refreshed periodically throughout the day. If all credits are depleted or the current date reaches the credit expiry date, the plus solver mode automatically switches to basic mode.

You can request access to this feature via the 1NCE OS portal. Credits can be purchased via the Orders tab in the 1NCE Portal by choosing the required quantity of “Whereabouts – Device Location” credits.

Enabled Advanced solver mode with credits available

Enabled Plus solver mode with credits available

Advanced solver mode

Plus solver mode


Cell Tower Events

The Cell tower events tab displays the history of cell tower-based location resolution attempts for the selected device. Location data is stored for up to 7 days. The tab displays the following data:

  • Event creation time
  • Network access type used for each event
  • Status indicating whether the cell tower event was successfully resolved by the Basic or Plus Resolver
  • Resolver mode indicating how the location was derived
Cell Tower Events

Cell Tower Events

Disclaimer

I acknowledge that activating the location feature involves processing nearby Cell Tower data by 1NCE. 1NCE processing of data is done anonymously. I understand that if the use of the service by me makes it linkable to individuals, additional data related responsibilities may apply. As per 1NCE General Terms and Conditions (GTC), I am solely responsible for complying with Data Protection laws and regulations and obtaining necessary consents.

Via Energy Saver

If the Energy Saver with custom_type in the JSON-Template is used, the location from the device can be obtained over the Energy Saver output. Visit Energy Saver for more details.

{
  "sense": [
    {
      "asset": "longitude",
      "custom_type": "location_long",
      "value": {
        "byte": 0,
        "bytelength": 8,
        "type": "float",
        "byteorder": "little"
      }
    },
    {
      "asset": "latitude",
      "custom_type": "location_lat",
      "value": {
        "byte": 8,
        "bytelength": 8,
        "type": "float",
        "byteorder": "little"
      }
    }
  ]
}

Via LwM2M

If LwM2M is used, the following Resource Addresses can be used to provide the device location: /6/0/0 (latitude, Float), /6/0/1 (longitude, Float) and /6/0/5 (timestamp, Time). Visit our LwM2M Service Documentation for more details on integrating LwM2M with the device locator.

Geofencing

The Geofencing Service allows setting virtual boundaries for devices. If a device is crossing a geofence (entering or exiting, configurable), a geofence event will be generated and sent to the customer's Cloud Integrator Webhook integration or the AWS Integration.

To start using Geofencing you need to purchase "Whereabouts - Geofencing" credits first. You can use following Get customer settings API endpoint to check if credits are already assigned to you. Once the credits are available, you can create your first geofence using the Create Geofence API endpoint. For additional info about Geofence creation use following page.

Main use cases for geofencing are:

  • Notify user in case if a device or an object this device is attached to exits specific area.
  • Notify user in case if a device or an object this device is attached to enters specific area.

Geofence Credits

Each location event sourced from cell towers or GPS is evaluated against associated geofences in the 1NCE OS. If at least one geofence is evaluated for a potential breach, then one Geofencing credit is consumed. The Geofencing credit balance is refreshed periodically throughout the day.

Additional credits can be purchased via the Orders tab in the 1NCE Portal by selecting the required quantity of “Whereabouts – Geofencing” credits.

If all credits are depleted or expired then the Geofencing feature is automatically turned off, which means the following:

  • you will no longer receive exit or enter geofence events via your Cloud Integration if the device breaches any existing geofence.
  • you will not be able to create any new Geofences, only update or delete existing ones.
  • existing Geofences and associated latest device enter or exit events will continue to exist in passive mode until extra credits are purchased.