Arduino Ethernet: Using timestamp i/o millis()

I modified the Plotly plotly_streaming_ethernet library a bit to accept a yyyy-mm-dd HH:MM:SS.ssssss string i/o a millis() long.

Although the output seems to be accepted, the graph remains blank. What’s wrong?

… Initializing stream
POST / HTTP/1.1
Host: arduino.plot.ly
User-Agent: Arduino
Transfer-Encoding: chunked
Connection: close
plotly-convertTimestamp: “Europe/Brussels”

… Done initializing, ready to stream!
49
{“x”: 2016-01-31 15:07:18.000000, “y”: 484, “streamtoken”: “f53fqsp31l”}

49
{“x”: 2016-01-31 15:07:18.000000, “y”: 413, “streamtoken”: “g5a3jd7i1w”}

Adding the "'s to the timestamp, solved the problem.
{“x”: “2016-01-31 15:07:18.000000”, “y”: 484, “streamtoken”: “f53fqsp31l”}

Hi,

Could you share your code for the plotly upload. The arduino library does’t work out of the box at the moment but apparently you have it working.

The issue I have is documented in this post: plotly community post

I am not a expert, but I don’t think your issue is related to my timestamp issue.
Anyway, my first post on GitHub. Probably did it completely wrong ;-).

https://github.com/PVanhevel/plotly_streaming_ethernet_with_timestamp/tree/master