Telemetry
Publishing sensor readings from a device, and viewing or querying them back out.
1. Publishing a reading
Section titled “1. Publishing a reading”Readings are sent against a sensor’s key (see Find your keys). With the Node.js SDK, publish one sensor at a time:
device.publish('tempe', 21.5)Or batch multiple sensors into a single publish:
device.publish({ tempe: 21.5, humid: 40 })What happens to a reading taken while the device is offline depends on the SDK:
- Node.js SDK:
publishreturnsfalseand the reading is dropped, not queued. Publishing is fire-and-forget, with no confirmation that a reading arrived. - Embedded C SDK: readings go into a queue with the time they were taken, and are delivered in order, with confirmation, once the device is back. A reading whose confirmation was lost may be delivered twice, with the same time, so a raw query can occasionally show a repeat.
Readings taken while offline
Section titled “Readings taken while offline”The Embedded C SDK sends each reading with the time it was measured. Readings sent without a measurement time, as the Node.js SDK does, are stamped when they arrive.
A reading with a measurement time:
- is stored and charted at the time it was measured, not when it arrived;
- is accepted if measured within the last 7 days, and no more than 1 minute ahead of the platform’s clock. Readings outside that window are discarded;
- triggers automations only if it was measured within the last 5 minutes. Older readings are kept in history, but automations react to current conditions, not to readings that were delayed while a device was offline.
Binary and State sensors report differently; see Sensor State.
2. Viewing a sensor’s readings
Section titled “2. Viewing a sensor’s readings”A telemetry sensor’s page shows its latest reading — the most recent value, updating automatically — separate from a historical chart you can switch between 1 hour, 6 hours, 24 hours, and 7 days. The chart keeps moving forward while you watch the shorter ranges. A sensor that hasn’t reported yet shows “No data yet.”
3. Querying across sensors
Section titled “3. Querying across sensors”For anything beyond a single sensor, a project’s Analytics page lets you build ad-hoc queries:
- Pick one or more devices and sensors — an entire device’s sensors at once, or specific ones.
- Choose a time range, from 1 hour up to 30 days.
- Choose how to aggregate: Raw readings, Average, Minimum, Maximum, Sum, or Count.
- Optionally group results by Device, Sensor, and/or Time bucket (Minute/Hour/Day).
- View results as a Chart (Line/Area/Bar) or a Table, and export to CSV.
You always need to pick at least one device or sensor before running a query — there’s no “everything in this project” default.
Query limits: up to 100 device/sensor pairs per query. Raw-reading queries return at most 1,000 rows; grouped/aggregated queries return at most 5,000 rows. If your query’s true result set is larger, you’ll get back a capped set of rows rather than an error — narrow your time range or add grouping if you need to see the full picture.
Next steps
Section titled “Next steps”- Automations — reacting to the telemetry you publish.
- Device Provisioning — sensor types and the MQTT identity a device uses to publish.

