Graph a payload with several timestamp

time-series
#1

Hello, I appreciate if someone can help me.

My physical object stores several measurements, each with its corresponding timestamp. Then periodically my object send only a one grouped payload.

Any idea how to distribute these measurements and plot them on a histogram as if each one had arrived from an independent payload?

The graphic explain what I want to do.

Tks!

0 Likes

#2

Good Afternoon @Hugo_Hernan_Ruiz!

I would recommend splitting the string after each temperature value, which would create an array of values with the corresponding timestamp and temperature together. Then I would use a loop node with a Device State Node and use the timestamp from the temperature readings within the “Time” configuration.
13%20PM
This will allow the state to be recorded in Losant at the same time reported by the device. You could then use the Custom Chart Block to create the histogram!

Let me know if I can help any further!
Julia

1 Like