/getBeeDetails

Method description

End point /getBeeDetails
Description Returns detailed informations about a specific BEE
Request method POST
Bearer token Required

Request

RequestParam
Field name Description Type
id BEE identifier Long
RequestBody None

Response

A JSON representation of the selected BEE
Example
{
"id":44,
"label": "Living room",
"serial": "890023",
"gate_serial": "B1-XX-YY-JJ-PP",
"gate_id": 2,
"lastUpdate": 119087650,
"name": "Living room",
"active": true/false,
"productID": 7,
"rssi": 79,
"status_string": {
"Power": "123W"
}
"sensors": [{
"id":44,
"name": "Power meter",
"lastUpdate": 119087650,
"deviceID": 3,
"prototypeID": 15,
"prototypeName": "Power Meter"
}, {
....
}],
"actuators": [{
"id":44,
"name": "Power Switch",
"prototypeID": 19,
"prototypeName": "Power Switch"
}, {
....
}]
}
Fields
Field name Description Type
id BEE identifier Long
label BEE label String
serial BEE serial number String
gate_serial Serial number of the Gate to which this BEE is linked String
gate_id Identifier of the Gate to which this BEE is linked Long
lastUpdate Time of the last update message received from this BEE Long
name Name of this BEE String
active Active status of the BEE Boolean
productID Identifier of the BEE product type (1 for WireBEE, 9 for SenseBEE) Long
rssi Radio link signal strength indicator Long
sensors A JSONArray representation of the BEE sensors JSONArray
actuators A JSONArray representation of the BEE actuators JSONArray