Data Output
Overview
Thingsee COUNT produces directional people counting data that you access through the Haltian IoT Platform — receive JSON measurements via MQTT Stream API or query via GraphQL Service API.
COUNT transmits using Thingsee message profile tsmId 13103. The platform maps the raw in/out fields to the Haltian IoT entries/exits fields automatically. See Measurement Mapping for the full mapping reference.
Haltian IoT Measurements
| Measurement Type | Description |
|---|---|
entries | People who entered since last report |
exits | People who exited since last report |
COUNT is USB-powered and does not report batteryPercentage.
Entries & Exits
Reports directional people counts accumulated since the last report interval.
MQTT Topic:
haltian-iot/events/{integration-id}/{api-key-id}/measurements/directionalMovement/{device-uuid}
JSON Payload:
{
"measured_at": "2026-01-20T14:30:00Z",
"entries": 5,
"exits": 3
}
Fields:
| Field | Type | Description |
|---|---|---|
measured_at | ISO 8601 string | Timestamp of measurement |
entries | Integer (0+) | People who entered since last report |
exits | Integer (0+) | People who exited since last report |
Reporting behavior:
- Reports at configurable intervals (default typically 30 seconds to 5 minutes)
- Entry and exit direction determined by Toolbox app configuration (IN/OUT) — see Configuration
COUNT requires continuous USB power. If power is interrupted, the internal counter resets to zero and any counts since the last transmission are lost. Use a reliable power source or UPS for critical applications.
GraphQL query example:
query {
measurementLastDirectionalMovement(
where: {deviceId: {_eq: "YOUR-DEVICE-UUID"}}
) {
deviceId
measuredAt
entries
exits
}
}
Thingsee Raw Message Format
The raw Thingsee message (tsmId 13103) before platform mapping:
{
"tsmId": 13103,
"tsmTs": 1706183400,
"tsmTuid": "TSAP01ABC",
"in": 5,
"out": 3,
"totalIn": 142,
"totalOut": 138,
"historicalIn": 4520,
"historicalOut": 4516,
"amountIn": 4
}
| Raw Field | HIoT Field | HIoT Status |
|---|---|---|
in | entries | ✅ Mapped |
out | exits | ✅ Mapped |
totalIn | — | Not mapped |
totalOut | — | Not mapped |
historicalIn | — | Not mapped |
historicalOut | — | Not mapped |
amountIn | — | Not mapped |
Related
- Measurement Mapping — Complete Thingsee → Haltian IoT field mapping
- Operation — How the ToF detection works
- Configuration — Entry direction and reporting settings