arduino-api icon indicating copy to clipboard operation
arduino-api copied to clipboard

Timestamps are being mapped in the future

Open mbdroid opened this issue 10 years ago • 0 comments

Hello,

I am using a fork of this library with my Spark Core. The problem is that the timestamps sent from my Core to plotly are being mapped into the future. For example:

Time millis Plotly time millis diff(s) plotly diff(s) comments
Jul 24 15:33:15 171313 15:36:15 - - first data point
Jul 24 15:34:45 262044 15:39:16 90.731 181 second data point
Jul 24 15:56:10 1547074 16:22:06 - - -
Jul 24 15:57:42 1638964 16:25:10 91.890 184 -
Jul 24 15:59:15 1731419 16:28:15 92.455 185 -

The first data point si already mapped 3 minutes (180s) in the future. The second data point is 90.7s later in real time, but is mapped 181s later in plotly. Data points 3-5 are taken at a later time, but present the same behaviour.

Let me know if I can provide additional information.

mbdroid avatar Jul 24 '15 13:07 mbdroid