Retrieves data from Thingsboard
data = thingsboard_getData(url,token,deviceID,key,n) data = thingsboard_getData(url,token,deviceID,key,n,day_limit)
The ThingsBoard platform url
ThingsBoard token
Device ID
The device's variable where the data will be extracted
The maximum number of data to be pulled
The limit on the earliest data to be pulled
Retrieves the data from a variable of a device in ThingsBoard.