<< ts2vec Trity IOT Module ubidots_getdata >>

Trity IOT Module >> Trity IOT Module > ubidots_get

ubidots_get

Get data to Ubidots sensor's variable

Calling Sequence

[timestamp, sen_val, data] = ubidots_get(tokenID,sensorID,num_data)

Parameters

tokenID :

Token ID

sensorID :

Sensor ID

num_data :

Numbers of data to get from the sensor's variable, maximum 300

timestamp :

Time stamp in unix time milliseconds

sen_val :

Sensor data

data :

Structure of full details, always not required

Description

Get data to Ubidots sensor's variable. As this function will return all the details for each sensors data, the maximum data could be retrived by this function is 300. To get all data with only timestamp and value, use ubidots_getdata instead.

See also

Authors


Report an issue
<< ts2vec Trity IOT Module ubidots_getdata >>