Skip to main content

Losant IoT

Overview

The Losant IoT blueprint crawls device recipes and deployed devices from the Losant IoT platform. It represents the field operations layer of the digital thread, connecting deployed physical devices back through Azure IoT Central templates to Aligni BOM parts via the PartNumber tag.

Resources Collected

  • Device Recipes: Recipe templates for IoT device provisioning, including ID, name, description, device class, and PartNumber tag (used for cross-system correlation)
  • Devices: Deployed field devices including ID, name, description, device class, and DeviceRecipe tag (linking to the recipe used for provisioning)

Prerequisites

  • Losant account with an application
  • Application ID (found in application settings)
  • API Bearer token

Setup Instructions

1. Find Your Application ID

  1. Log in to Losant
  2. Open your application
  3. The Application ID is shown in the URL: app.losant.com/applications/{applicationId}

2. Generate API Token

  1. Navigate to Security > Access Keys or use the Losant API to generate a bearer token
  2. Copy the token (JWT format)

3. Configure Crawler

FieldDescriptionRequired
losantApplicationIdLosant application IDYes
losantApiTokenAPI bearer tokenYes

4. Set Up PartNumber Tags on Device Recipes

For the digital thread to work, each Losant device recipe must have a tag with key PartNumber whose value matches the capabilityModel.description field of the corresponding Azure IoT Central device template.

Data Points

Data PointSourceDetails
Device RecipesLosant REST APIRecipe ID, name, PartNumber tag value
DevicesLosant REST APIDevice ID, name, DeviceRecipe tag value

Cross-System Correlation

  • losant.iot.DeviceRecipe.PartNumberTag (the value of the PartNumber tag on each device recipe) correlates with azureiot.iot.DeviceTemplate.PartNumber to link Losant device recipes to Azure IoT Central templates
  • losant.iot.Device.DeviceRecipeTag (the value of the DeviceRecipe tag on each device) correlates with losant.iot.DeviceRecipe.Name to link deployed devices to their recipe
  • See Azure IoT Central blueprint and AlignI blueprint for the full digital thread setup