Websockets are initiated by making a request to the REST API (with optional filters) to generate a secure URL.
Events received on the websocket conform to the EnrichedPosition schema
{
"position": {
"x": 12.3,
"y": 45.6,
"z": 1.0,
"accuracyRadius": 0.5,
"stationaryConfidence": 98,
"locatedAt": "2023-10-27T11:00:00Z",
"beaconMac": "11:22:33:44:55:66",
"networkId": "network-abc"
},
"asset": {
"id": "asset-xyz",
"name": "Robot Arm 1"
},
"inZones": [{
"enteredAt": "2023-10-27T10:45:00Z",
"zone": {
"id": "zone-123",
"externalId": "ext-zone-456",
"name": "Assembly Line A",
"levelName": "Floor 1"
}
},{
"enteredAt": "2023-10-27T10:55:00Z",
"zone": {
"id": "zone-789",
"externalId": "ext-zone-abc",
"name": "Quality Control Area",
"levelName": "Floor 1"
}
}]
}