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
}
| Field | Type | Description |
|---|---|---|
moveCount | Integer (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
}
| Field | Description |
|---|---|
count | Number of occupancy events since last report |
duration | Total 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
}
| Field | Range | Default | Description |
|---|---|---|---|
transactionId | 0–2,147,483,647 | - | Request tracking ID |
threshold | 60–1100 | 150 | Detection sensitivity |
enableLed | 0–1 | 0 | LED indication on detection |
mode | 0–2 | 0 | Reporting mode (see below) |
passiveReportInterval | 0–86400 | 3600 | Report interval when no movement (mode 2 only) |
Mode values:
| Mode | Name | Description |
|---|---|---|
0 | Movement count | Report movement count at interval with message 13100 |
1 | Occupancy | Report state changes with message 2100 (reduces network traffic) |
2 | Event-based | Report at interval only when movement detected |
Note
For Mode 2, passiveReportInterval must be longer than the base reportInterval set in message 1500.
Occupancy Light Configuration (13210)
Configure Occupancy Light sensors with visual indicators.
{
"mode": 0,
"index": 2,
"staticFilter": 1,
"threshold": 20,
"duration": 10
}
| Field | Range | Default | Description |
|---|---|---|---|
mode | 0–2 | 0 | 0: Normal, 1: Force single light, 2: Outside installation |
index | 0–2 | - | Light to enable in forced mode (0=Red, 1=Green, 2=Blue) |
staticFilter | 0–1 | 0 | 0: Disable filtering, 1: Enable filtering |
threshold | ≥0 | 30 | Hot-region detection threshold (lower = more sensitive) |
duration | ≥0 | 0 | Auto-reset time in seconds (0 = disabled) |
Occupancy Light Single Light Configuration (13211)
Configure individual LED brightness.
{
"index": 1,
"max": 50
}
| Field | Range | Default | Description |
|---|---|---|---|
index | 0–2 | - | Light to configure (0=Red, 1=Green, 2=Blue) |
max | 0–100 | 100 | Maximum brightness percentage |