/getMyRawEnergyData
by Marco Lettieri | Statistic method detail
Method description
|
End point |
/getMyRawEnergyData |
Description |
Returns a JSON representation of the raw stored energy data of a particular sensor |
Request method |
POST |
Bearer token |
Required |
Request
|
RequestParam |
None |
RequestBody |
Field name |
Description |
Type |
minutesBack |
Number of minutes in the past from the current date |
Long |
sensor_id |
Sensor identifier |
Long |
Example
Array |
Response
|
A JSON representation of the stored energy data of a particular sensor |
Example |
Array |
Fields |
Field name |
Description |
Type |
smartbee_names |
A JSONArray representation of the names of the sensors |
JAONArray |
grand_total |
Grand total of the the values contained in all streams fetched |
Double |
sensor_name |
Name of the sensor |
String |
sensor_id |
Sensor identifier |
Long |
sensor_prototype |
Sensor prototype identifier |
Long |
current_value |
Current value of the Sensor |
String |
unit |
Unit data representation |
String |
channel_id |
Data channel identifier |
Long |
|