You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to send data to plot.ly using an Arduino Leonard + an Ethernet shield. Everything seems to be working nicely (great stuff @ plot.ly -- thanks!), but I'm having trouble sending the "layout" JSON info such that the server likes what it's getting.
Did you ever get it working? I haven't seen it in any of the "official" examples (all of which seem to be insignificant variations of what is really just one example).
Hi Folks!
I'm trying to send data to plot.ly using an Arduino Leonard + an Ethernet shield. Everything seems to be working nicely (great stuff @ plot.ly -- thanks!), but I'm having trouble sending the "layout" JSON info such that the server likes what it's getting.
The code I'm using is here: https://gist.github.com/dwblair/9236591
Here's the full response I'm getting:
Attempting to connect to plotly's servers...
Connected to plotly's servers
== Sending HTTP Post to plotly ==
POST /clientresp HTTP/1.1
Host: 107.21.214.199
User-Agent: Arduino/2.0
Content-Length: 523
version=0.2&origin=plot&platform=arduino&un=donblair&key=6f3ad11nnb&args=[[1296409, 18.90000, 1296563, 21.00000]]&kwargs={"filename": "olmTest_1", "fileopt": "extend", "transpose": true, "layout": {}, "convertTimestamp": true, "timezone": "America/Montreal", "sentTime": 1296573}
== Sent message, waiting for plotly's response ==
HTTP/1.1 200 OK
Date: Wed, 26 Feb 2014 19:29:12 GMT
Server: Apache/2.2.22 (Ubuntu)
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
70
{"url": "http://107.21.214.199/~donblair/2", "message": "", "warning": "", "filename": "olmTest_1", "error": ""}
0
The text was updated successfully, but these errors were encountered: