THINGSBOARD Connect "Custom WIDGET" TO IOT DEVICE DATA

Job ID: 34593741

Budget: $30 – $250 USD

i got a thingsboard.io dashboard and created a widget and i need to connect DRAGINO IOT data to the widget to create a GRAPH.

There is already a custom WIDGET imported on my thingsboard tenant, but i need you to modify the typescript code to get dragino data on it. The data comes in this format:

[{"locationKey" : "0-0-0","deviceName" : "Dragino-1711"},
{"locationKey" : "0-0-1","deviceName" : "Dragino-1712"},
{"locationKey" : "0-0-2","deviceName" : "Dragino-1713"},
{"locationKey" : "0-0-3","deviceName" : "Dragino-1714"},
{"locationKey" : "0-1-0","deviceName" : "Dragino-1715"}]

the data need to be ploted using the "locationKey" var, X-Y-Z , and take label from the var "deviceName"
Related categories: Typescript Internet of Things (IoT)