ThingSpeak Data in Node-Red

Hi, I've created a flow to get data from my ThingSpeak channel but I'm not quite sure how to split the values. For example, I want to only get the field 1,2,3, and 4 values and display them on a line chart.
Does anyone have any idea how I can go about this?

This should get you started:

There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path to any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

BX00Cy7yHi

1 Like

Hi @zenofmud thanks for the input, I'll check it out :smiley:

1 Like

Solution: I've figured out that you can use the function node to extract specific data needed. (You can copy the right path in the debug panel and paste into the function node.)
cheers!! :smiley:

solution