Yeni: Yapay zekâ güvenlik duvarı her modülü izliyor ve her olayı sade bir dille açıklıyor. Nasıl çalıştığını görün

Telemetry and data

How Hermetry stores device readings – latest values, history, aggregates, retention, export, the history API and the monthly message count.

Telemetrie ist das, was Ihre Geräte über die Zeit messen und melden: Temperaturen, Füllstände, Zähler, Zustände.

The path of a reading

  1. A device sends a message (MQTT, HTTP, LoRaWAN, a gateway or a poller). The message is counted toward your monthly message allowance.
  2. The message enters your root flow, split into records (one per timestamp), with keys and values checked against the key rules.
  3. The Alarm rules block evaluates the device profile’s alarm rules.
  4. The Save telemetry block writes the record. Only this block stores telemetry: a branch without it stores nothing.
  5. The store keeps the message, updates the device’s latest value per key, and the minute job folds the numbers into 1-minute aggregates; hour and day rollups follow.
  6. Dashboards, the device’s Telemetry tab, flows and the API read from the latest values, the raw rows or the rollups, depending on the time window.

See How readings are stored and Hosts, the root flow and profile root flows.

Key facts

TopicFact
KeysUp to 64 characters from A-Z a-z 0-9 _ . -, case-sensitive. Prefixes _, fw_, current_fw_ and cfg. are reserved.
ValuesNumbers, true/false, text up to 1,024 characters, JSON objects or arrays up to 4 KiB. Only numbers are charted and aggregated.
TimestampsMilliseconds since the epoch, UTC. More than 10 minutes in the future is dropped (adjustable).
DuplicatesThe same values at the same time for the same device are stored once.
Latest valueMoves only to a strictly newer timestamp.
Aggregates1-minute sum, count, min, max and last per numeric key, then hour and day rollups.
RetentionA class of 7, 30, 90, 365 or 1,095 days from your plan. Raw rows are kept at most 90 days.
Message allowanceCounted per month. Going over it never stops your devices.

In this section

PageWhat it covers
How readings are storedMessage rows, the key dictionary, latest values, rollups
Telemetry keysKey rules, reserved prefixes, raw, the key cap, profile key settings
Timestamps, late and duplicate readingsDevice time and receive time, future and old readings, duplicates, outages
Numbers, text and true/false valuesWhat charts read and how to store states
Aggregates and rollupsBuckets, the seven aggregate functions, increase for counters
How long data is keptRetention classes and what each level of detail keeps
The device’s Telemetry tabLatest values and the trend chart on the device page
Exporting dataCSV and Excel downloads, the API, the organisation export
The history APIGET /api/telemetry/series and latest, with examples
Derived valuesComputing and storing new keys in a flow
Message quota and usageWhat counts as a message, plan allowances, warnings