Using Series Data

Dear Community,

I added a “getMetric” Sensor. My Goal is to get the sum of a metric for a specific time period. This part works. However, I’m struggeling to retrieve the numerical value (the sum) from the series to display in the debugDialoge. With “${nodes.getMetric_1.rawData.series}” it displays the whole series.
I’m missing the fallowing part: ${nodes.getMetric_1.rawData.series.???}. I tried filling in temperature, value… sadly nothing worked yet.

Greetings

1 Like

I solved it myself. My Java Script Skills are just very limited. It was just a multi dimensional array…

${nodes.getMetric_1.rawData.series[0][1]}

Hey Friedrich,

Great to see you solved it!