JSON Splitter
Your gateway sends many values in one JSON message? Keep the payload as it is. One field receives the whole JSON and the splitter writes each value to its own field. No code.
How it works
One message in, many fields out.
topic gateway/telemetry
payload {"ts":"2026-12-03T10:00:00Z","room":{"temperature":21.5,"humidity":48},"pumps":[{"state":1},{"state":0}]}
| Path in the JSON | Field | Value |
|---|---|---|
room/temperature | gateway/temperature | 21.5 |
room/humidity | gateway/humidity | 48 |
pumps[0]/state | gateway/pump1 | 1 |
Each value is stored as if the board had sent it by itself: it updates the dashboards and it runs scripts, rules and alerts.
The only change on the gateway is the topic: send the JSON to the name of one field. The payload stays untouched.
Set it up
On a dashboard: unlock → Tools → JSON Splitter.

The source field
Create a field for the whole JSON, for example gateway/telemetry. Leave it non-historical: a historical field keeps values up to 512 characters.
The value fields
Create one field for each value you want. Make them historical if you want charts.
The rows
In the splitter choose the source, then add one row per value: the field and the path of the value inside the JSON.
Preview
Paste a real payload and click preview to check every path before you save.
Paths
How to point at a value.
| Path | Meaning |
|---|---|
room/temperature | Nested keys, separated by / |
list[0] | The first item of a list. Indexes start at 0 |
list[last] or list[-1] | The last item |
sensor[3]/temp | An index in the middle of a path |
- Past the end
- An index past the end of a list returns the last item.
- No match
- A path that matches nothing is skipped. That field is left as it was.
- Time path
- The path of a timestamp inside the JSON, for example
ts. The values are stored with that time. Empty = the time of arrival. - Enabled
- Switch a splitter off without deleting it.
Good to know
- From any source
- The JSON can arrive over MQTT or HTTP, or be the response of an HTTP Request.
- In the Debug Monitor
- The split values appear with the source JSON. See the Debug Monitor.
- Calculations
- To change a value on the way, for example a unit, use a Script with the field as its input.