JSON1
This simple, but flexible format uses a single fixed topic for all signals belonging to an integration. It allows you to send either a single measurement, or variations of multiple measurements for either one or more signals. To see the format in use, check out our SIA Connect guide
Example
Topic
json1/data
Payload
{
"data":
[{
"inputId": "<id>",
"tag": "<name>",
"time": "<timestamp>",
"value": <value>
}]
}
Payload fields
Name | Type | Required | Description |
---|---|---|---|
inputId | string(prefix.name ) | Yes | The prefix will be stripped away, while the name will be used on the signal. |
tag | string(length: 128) | Yes | A tag identifying the signal in the source system. |
time | Timestamp | Yes | The timestamp to insert. |
value | number | Yes | The value to insert. |