Skip to content

Sensors Uplink Data

The device reports environmental sensor data and motion information periodically or when polled. Accelerometer data is only sent when the corresponding devcfg.accel features are enabled.

Key paths: devdata.temp, devdata.accel

To request current values:

{ "devdata": { "temp": null, "accel": null } }

Temperature reading in degrees Celsius.

Configuration variables

  • Type: number
  • Sent on: Periodic, on request
{ "devdata": { "temp": { "degC": 20.0 } } }

Atmospheric pressure in Pascals.

Configuration variables

  • Type: number
  • Sent on: Periodic, on request
{ "devdata": { "temp": { "pressurePa": 1000 } } }

Array of raw acceleration values in g (X, Y, Z). Only included when devcfg.accel.wantXYZ is true.

Configuration variables

  • Type: array of numbers
  • Sent on: Periodic, on request
{ "devdata": { "accel": { "xyzG": [0.0, 0.0, 1.0] } } }

Orientation string reported by the accelerometer. The value is hardware‑dependent and not further defined.

Configuration variables

  • Type: string
  • Sent on: Periodic, on request
{ "devdata": { "accel": { "orient": "UK" } } }