Device Data API-V1
list device EUIs
GET
{host}/1.0/lists/devices/eui
this is a quick method to get all device EUIs belonging to the organization
Example request
get the latest data of the device
GET
{host}/1.0/devices/data/:node_eui/latest
Path Parameters
node_eui
string
Node EUI
Query Parameters
measure_id
string
sensor measurement ID, eg. measure_id=4097
channel
string
query data from this channel, if omitted, measurements of all channels will be returned
Example request
get the history data of the device
GET
{host}/1.0/devices/data/:node_eui/raw
Get the history data of a specified node.
Path Parameters
node_eui
string
Node EUI
Query Parameters
measure_id
string
the sensor measurement ID, eg. measure_id=4087
channel
string
query data from this channel, if omitted, data points of all channels will be returned
limit
number
the number of records you want to query, max is 400
time_start
number
timestamp, unit millisecond
time_end
number
timestamp, unit millisecond
Example request
get the segment data of the device
GET
{host}/1.0/devices/data/:node_eui/segment
Segment a huge data set into small ones, then output the average value of each small segment. The small segment is described with time length, e.g. 60 minutes.
Path Parameters
node_eui
string
Node EUI
Query Parameters
measure_id
string
sensor measurement ID, eg. measure_id=4098
channel
string
query data from this channel, if omitted, data points of all channels will be returned
segment
string
time length of segment, unit minute
time_start
string
timestamp, unit millisecond
time_end
string
timestamp, unit millisecond
Example request
Last updated