"
serial
" : [string],
//
serial number of the sensor
"
response_handle
":[number],
// sensor ID in response (optional)
"
battery
" : [string],
// battery level: ok/low
"
signal
" : [number],
// RSSI
"
measured_at
" : [string],
// UTC date
"
measurement_interval
" : [number],
// measurement interval in seconds
"
next_measurement_at
" : [string],
// next connection date
"
params
" : [
{
"channel" : [number],
// sensor channel number: 1/2/3
"type" : [string],
// temperature / humidity / pressure / pressure_diff / open-close
"value" : [string]
}
]
}
]
}
Examples of the messages sent by Efento Gateway to the server:
{
"measurements" : [
{
"serial" : "282C024FFFB1",
"response_handle": 1,
"battery" : "ok",
"signal" : -70,
"measured_at" : "2018-10-12 15:28:21",
"measurement_interval" : 180,
"next_measurement_at" : "2018-10-12 18:28:21",
"params" : [
{ "channel" : 1, "type" : "temperature", "value" : 6 }
]
},
{
"serial" : "282C024FFFB2",
"response_handle": 2,
"battery" : "ok",
"signal" : -70,
"measured_at" : "2018-10-12 15:28:21",
"measurement_interval" : 180,
"next_measurement_at" : "2018-10-12 18:58:21",
"params" : [
{ "channel" : 1, "type" : "temperature", "value" : 12},
{ "channel" : 2, "type" : "humidity", "value" : 51}
]
},
{