Graph a payload with several timestamp


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.




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.
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!

1 Like