Webhooks

Sensor data

Receive a SENSOR_DATA event when a fixture uploads a new reading.

On this page

When this event is sent

The SENSOR_DATA webhook triggers when any fixture on the site uploads sensor data. One device can have multiple metrics, such as temperature and humidity on a Kelvin Dot.

Data fields

Fields in the SENSOR_DATA data object
FieldDescription
fixtureThe source asset as a FixtureWithParent object.
metric.indexMetric identifier scoped to the device type. The same index may represent different metrics on different device types.
metric.nameHuman-readable metric name.
metric.descriptionUser-generated description; an empty string by default.
metric.valueFormatFormat used to interpret the numeric reading.
metric.unitDisplay unit, such as °C.
timestampTime the reading was generated.
valueA signed 16-bit integer to interpret using metric.valueFormat.

Interpret the reading

Use valueFormat to decode the raw value. For unsigned formats, interpret the signed value as an unsigned 16-bit integer before applying the scale.

Sensor value formats and examples
FormatInterpretationExample
BOOL1 means true; 0 means false.1 → true
INTSigned integer.-37 → -37
UINTUnsigned integer.-37 → 65499
FLOAT1Signed value in increments of 0.1.-37 → -3.7
FLOAT2Signed value in increments of 0.01.-37 → -0.37
UFLOAT1Unsigned value in increments of 0.1.-37 → 6549.9
UFLOAT2Unsigned value in increments of 0.01.-37 → 654.99

Example sensor data

SENSOR_DATA data — fixture abbreviated JSON
{
  "fixture": {},
  "metric": {
    "index": 0,
    "name": "Temperature",
    "description": "",
    "valueFormat": "FLOAT2",
    "unit": "°C"
  },
  "timestamp": "2025-09-17T13:21:00Z",
  "value": 0
}

Need help with your integration? Contact the Plexus team.