i have this link that contains data
http://blynk-cloud.com/d6f128e07xxxxxxxxxxxxxxx3/get/V5
like this:
[“24.000”]
so i want to display this data in gauge and chart on node-red
how can i do this ??
That looks like a JSON string representing an array of one string “24.000” – wiring the output from your http request
node to a debug node will show you the data type and structure more clearly. Usually, when a service returns the data as stringified JSON, wire the output to a JSON
node to turn it into a real Javascript Object. Then you can use a change
node to move the array element into msg.payload
, which is where the chart and guage will look to find the value to be displayed…
This channel is for the development of Node-RED, this sort of question is better asked in #general
There’s a great page in the docs that will also be helpful:
Good catch, Mark – I don’t even notice the categories yet, it seems… but he will probably want to use #dashboard instead