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
User-Agent: Arduino
Transfer-Encoding: chunked
Connection: close
plotly-convertTimestamp: “Europe/Brussels”

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

{“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”}


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 ;-).