Understanding lots, assets, probes and zones - OnSight Knowledgebase

Understanding lots, assets, probes and zones

Back to API & integrations — Data reference Browse product

Command connects business records with the physical hardware collecting measurements.

Concept Meaning and relationship
Batch or lot In the Jobs workflow, the job run's batchNumber. This is business context, not a sensor identifier.
Job run Records batch/lot context, timing and participating assets. Each participating asset references its hardware association.
Asset The thing being monitored or tracked. Command presents readings and alerts against assets.
Hardware/device Physical measuring or tracking hardware. A Command hardware record maps to a Core device; these identifiers are distinct.
Probe/sensor A measuring component of hardware. The event contracts identify sensor and measurement types but do not expose a separate probeId.
Gateway Collects or relays device data. Sensor updates may identify an associated gateway.
Zone An area associated with the asset's reported state. Zones belong to sites.

Relating a reading to a lot

Resolve the job run's batchNumber, participating asset and relevant hardware association. Job-run asset records include assetId, assetName and assetHardwareAssociationId.

The live sensor payload does not contain a lotId or batchNumber. Use the job-run ID to identify the business record; do not assume a batch number is globally unique.

Assignment changes

Hardware can be associated with an asset for a period of time. Preserve the association when interpreting historical readings and jobs, rather than assuming the current assignment applies to every historical event.

The current general history endpoint selects active associations. It must not be described as automatically reconstructing all previous probe assignments.

Identifier boundaries

A Command asset ID, Command hardware ID, Core device ID, gateway ID and zone ID identify different objects. Names and labels are presentation fields; retain identifiers when storing integration records.

In the inspected history implementation, the response field hardwareId contains the Core device ID. In HardwareSensorUpdate, it contains the Command hardware ID. Map these explicitly.

Review before publication

Confirm the deployed history identifier behaviour and how customer-specific probe labels map to hardware and sensor channels. This article does not introduce a separate lot or probe API entity.

More in this category

Related guides for this topic.

Need a hand?

Tell us which product you use, what you’re trying to do, and what happened.

Contact support