Data Output

Measurement data produced by Thingsee COUNT — MQTT streams and GraphQL queries

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.


Haltian IoT Measurements

Measurement TypeDescription
entriesPeople who entered since last report
exitsPeople who exited since last report

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:

FieldTypeDescription
measured_atISO 8601 stringTimestamp of measurement
entriesInteger (0+)People who entered since last report
exitsInteger (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

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 FieldHIoT FieldHIoT Status
inentries✅ Mapped
outexits✅ Mapped
totalIn—Not mapped
totalOut—Not mapped
historicalIn—Not mapped
historicalOut—Not mapped
amountIn—Not mapped