ML-x17 DATA LOGGER MANUAL
Manufacturers of low power instruments
page 119
4.46.2 Payload example
Please find below an example containing multiple snippets.
Note that the comment // is include for informative purpose only and should not be included in real JSON.
{
"gs":
// Global Settings
{
"dn":"Station 1",
//New device name
"ni":60,
//New normal data log interval in seconds
"ai":30,
//New alarm data log interval in seconds
"tz":3,
//New time zone
in hours
“
abc
”:”
xyz
”
//Unknown members will be ignored
},
"ds":
// Driver Settings
[
{
"id":"MODBUS",
//Current name of the addressed driver
"ni":0,
//Set sample interval equal to data log interval
"wu":10,
//New warm-up time of connected sensor
"dn":"Probe 1
”
//New driver name
},
{
"id":"MQTT",
//name of the addressed driver
"ni":1800
//New send interval
}
],
"ps":
// Parameter/channel Settings
[
{
"id":"P3",
//Current code of addressed parameter
"pu":"F",
//New unit text
"vf":1.85,
//New value factor
"vo":-31,
//New value offset
"pc":"TMP",
//New parameter code
"pn":"Temperature"
//New parameter name
},
{
"id":"P4",
//Current code of addressed parameter
"pu":"NTU",
//New unit text
"vf":1.85,
//New value factor
"vo":-31,
//New value offset
"pc":"TURB",
//New parameter code
"pn":"Turbidity"
//New parameter name
}
],
“abc”:
//Unknown objects will be ignored
{
“xyz”:”qpr”
}
}