Webhooks
Sensor data
Receive a SENSOR_DATA event when a fixture uploads a new reading.
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
| Field | Description |
|---|---|
| fixture | The source asset as a FixtureWithParent object. |
| metric.index | Metric identifier scoped to the device type. The same index may represent different metrics on different device types. |
| metric.name | Human-readable metric name. |
| metric.description | User-generated description; an empty string by default. |
| metric.valueFormat | Format used to interpret the numeric reading. |
| metric.unit | Display unit, such as °C. |
| timestamp | Time the reading was generated. |
| value | A 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.
| Format | Interpretation | Example |
|---|---|---|
| BOOL | 1 means true; 0 means false. | 1 → true |
| INT | Signed integer. | -37 → -37 |
| UINT | Unsigned integer. | -37 → 65499 |
| FLOAT1 | Signed value in increments of 0.1. | -37 → -3.7 |
| FLOAT2 | Signed value in increments of 0.01. | -37 → -0.37 |
| UFLOAT1 | Unsigned value in increments of 0.1. | -37 → 6549.9 |
| UFLOAT2 | Unsigned value in increments of 0.01. | -37 → 654.99 |
Example sensor data
{
"fixture": {},
"metric": {
"index": 0,
"name": "Temperature",
"description": "",
"valueFormat": "FLOAT2",
"unit": "°C"
},
"timestamp": "2025-09-17T13:21:00Z",
"value": 0
}View the fixture schema in the API reference (opens in a new tab)
Need help with your integration? Contact the Plexus team.