Vehicle Pairing

The VEHICLE_PAIRING event is used to notify when a beacon is detected within the vehicle's vicinity, indicating a pairing between the beacon and the vehicle. It also supports unpairing detection when the beacon moves out of range.

Event Type: VEHICLE_PAIRING

Trigger Condition

Subscription to the VEHICLE_PAIRING event is mandatory. This event is triggered instantly when a beacon is detected within the vehicle’s range (pairing) or when it is no longer detected (unpairing).

Example Payload

{
  "eventInfo": {
    "driverId": "8a94aa04-1111-3333-0197-eb08f9916b51",
    "actionBy": "8a9388a8-2222-4444-018c-19735e2e2d05",
    "name": null,
    "eventTime": 1751994924519
  },
  "messageType": "VEHICLE_PAIRING",
  "entityName": "GMC 1111",
  "customerId": 12345,
  "action": "Pair",
  "entityId": "3d3120cd-1111-2222-b54a-198d1339ead5",
  "time": 1751994923960
}

Reference

Field

Description

eventInfo
JSONObject
"driverId": "8a94aa04-1111-3333-0197-eb08f9916b51",
"actionBy": "8a9388a8-2222-4444-018c-19735e2e2d05",
"name": null,
"eventTime": 1751994924519}

Contains detailed pairing event data.

driverId
String,UUID

Unique identifier of the driver involved in pairing. Example: "8a94aa04-1111-3333-0197-eb08f9916b51"

actionBy
String,UUID

ID of the user who performed the pairing action. Example: "8a9388a8-2222-4444-018c-19735e2e2d05"

eventTime
TimeStamp

Timestamp of the event occurrence in milliseconds. Example: 1751994924519

messageType
String

Type of message
Example: "VEHICLE_PAIRING"

entityName
String

Name of the Vehicle
Example:GMC 111

customerId
Long

The unique Azuga ID of the Customer
Example:12345

action
String

Action Performed
Example:Pair

entityId
String,UUID

The unique Azuga ID of the Vehicle. This is automatically generated when the Vehicle object is created and cannot be altered.
Example: 3d3120cd-1111-2222-b54a-198d1339ead5

time
Time Stamp

Time when event is created in milliseconds
Example:1751994923960