Presence Profile (13000-13999)

Presence detection, occupancy monitoring, and PIR sensor configuration.

These messages are used by devices reporting presence, occupancy, and visitor counter data.

Sensor Data Messages

Movement Count (13100)

Reports detected movements since the last report.

{
    "moveCount": 123
}
FieldTypeDescription
moveCountInteger (min: 0)Count of detections since last report

The time interval between reports may be configurable. Your cloud system should track the configured interval to interpret the count correctly.

Occupancy Count (13102)

Reports how many times the area has been occupied.

{
    "count": 123,
    "duration": Number  // optional
}
FieldDescription
countNumber of occupancy events since last report
durationTotal time occupied in seconds (optional)

Configuration Messages

PIR Sensor Configuration (13200)

Configure how the PIR sensor detects and reports presence. Sent with tsmEv: 30.

{
    "transactionId": 123456,
    "threshold": 800,
    "enableLed": 0,
    "mode": 0,
    "passiveReportInterval": 3600
}
FieldRangeDefaultDescription
transactionId0–2,147,483,647-Request tracking ID
threshold60–1100150Detection sensitivity
enableLed0–10LED indication on detection
mode0–20Reporting mode (see below)
passiveReportInterval0–864003600Report interval when no movement (mode 2 only)

Mode values:

ModeNameDescription
0Movement countReport movement count at interval with message 13100
1OccupancyReport state changes with message 2100 (reduces network traffic)
2Event-basedReport at interval only when movement detected

Occupancy Light Configuration (13210)

Configure Occupancy Light sensors with visual indicators.

{
    "mode": 0,
    "index": 2,
    "staticFilter": 1,
    "threshold": 20,
    "duration": 10
}
FieldRangeDefaultDescription
mode0–200: Normal, 1: Force single light, 2: Outside installation
index0–2-Light to enable in forced mode (0=Red, 1=Green, 2=Blue)
staticFilter0–100: Disable filtering, 1: Enable filtering
threshold≥030Hot-region detection threshold (lower = more sensitive)
duration≥00Auto-reset time in seconds (0 = disabled)

Occupancy Light Single Light Configuration (13211)

Configure individual LED brightness.

{
    "index": 1,
    "max": 50
}
FieldRangeDefaultDescription
index0–2-Light to configure (0=Red, 1=Green, 2=Blue)
max0–100100Maximum brightness percentage