Read Data from Json object and push to an array

Need to read data from json object which is server data at an interval of 1 sec...and then need to push 1min data(60 samples) into an array...is it possible using node red.

Yes it is.

There’s a great page in the docs that will explain how to use the debug panel to find the right path to any data item.

As for pushing to an array, you will likely need to store the array in context & retrieve it for adding new data. Read up on node-red context.

Or possibly the join node set to manually crest an array of 60 items.

1 Like