Hi,
I’ve just tried uploading yesterday’s data via the API, the output is below. I’ve interleaved the data string and the response from the API. I can see each reading has a “1” in the response, so it looks like it’s being accepted. The readings are batched into groups of 30 as per the API spec.
The data hasn’t appeared in my outputs as of 10 mins after upload.
thanks,
Martin
"20180626,06:52,0.00;20180626,06:55,0.00;20180626,07:00,0.00;20180626,07:05,0.00;20180626,07:10,0.00;20180626,07:15,0.00;20180626,07:20,0.02;20180626,07:25,0.04;20180626,07:30,0.07;20180626,07:35,0.10;20180626,07:40,0.14;20180626,07:45,0.18;20180626,07:50,0.23;20180626,07:55,0.29;20180626,08:00,0.35;20180626,08:05,0.42;20180626,08:10,0.49;20180626,08:15,0.56;20180626,08:20,0.63;20180626,08:25,0.71;20180626,08:30,0.79;20180626,08:35,0.87;20180626,08:40,0.96;20180626,08:45,1.06;20180626,08:50,1.13;20180626,08:55,1.17;20180626,09:00,1.21;20180626,09:05,1.26;20180626,09:10,1.31;20180626,09:15,1.36;"
{:ok,
%HTTPoison.Response{
body: "20180626,06:52,1;20180626,06:55,1;20180626,07:00,1;20180626,07:05,1;20180626,07:10,1;20180626,07:15,1;20180626,07:20,1;20180626,07:25,1;20180626,07:30,1;20180626,07:35,1;20180626,07:40,1;20180626,07:45,1;20180626,07:50,1;20180626,07:55,1;20180626,08:00,1;20180626,08:05,1;20180626,08:10,1;20180626,08:15,1;20180626,08:20,1;20180626,08:25,1;20180626,08:30,1;20180626,08:35,1;20180626,08:40,1;20180626,08:45,1;20180626,08:50,1;20180626,08:55,1;20180626,09:00,1;20180626,09:05,1;20180626,09:10,1;20180626,09:15,1",
headers: [
{"Date", "Tue, 26 Jun 2018 22:21:14 GMT"},
{"Set-Cookie", "JSESSIONID=mnn4lki9nkqv1dtp129uard4c;Path=/"},
{"Expires", "Thu, 01 Jan 1970 00:00:00 GMT"},
{"Content-Length", "509"},
{"Content-Type", "text/plain;charset=ISO-8859-1"},
{"Server", "Jetty(7.6.17.v20150415)"},
{"Strict-Transport-Security", "max-age=15768000"}
],
request_url: "https://pvoutput.org/service/r2/addbatchstatus.jsp",
status_code: 200
}}
"20180626,09:20,1.42;20180626,09:25,1.48;20180626,09:30,1.53;20180626,09:35,1.59;20180626,09:40,1.66;20180626,09:45,1.74;20180626,09:50,1.84;20180626,09:55,1.98;20180626,10:00,2.20;20180626,10:05,2.36;20180626,10:10,2.56;20180626,10:15,2.69;20180626,10:20,2.81;20180626,10:25,2.92;20180626,10:30,3.02;20180626,10:35,3.15;20180626,10:40,3.30;20180626,10:45,3.44;20180626,10:50,3.58;20180626,10:55,3.70;20180626,11:00,3.83;20180626,11:05,3.96;20180626,11:10,4.08;20180626,11:15,4.20;20180626,11:20,4.35;20180626,11:25,4.61;20180626,11:30,4.78;20180626,11:35,4.95;20180626,11:40,5.10;20180626,11:45,5.26;"
{:ok,
%HTTPoison.Response{
body: "20180626,09:20,1;20180626,09:25,1;20180626,09:30,1;20180626,09:35,1;20180626,09:40,1;20180626,09:45,1;20180626,09:50,1;20180626,09:55,1;20180626,10:00,1;20180626,10:05,1;20180626,10:10,1;20180626,10:15,1;20180626,10:20,1;20180626,10:25,1;20180626,10:30,1;20180626,10:35,1;20180626,10:40,1;20180626,10:45,1;20180626,10:50,1;20180626,10:55,1;20180626,11:00,1;20180626,11:05,1;20180626,11:10,1;20180626,11:15,1;20180626,11:20,1;20180626,11:25,1;20180626,11:30,1;20180626,11:35,1;20180626,11:40,1;20180626,11:45,1",
headers: [
{"Date", "Tue, 26 Jun 2018 22:21:14 GMT"},
{"Set-Cookie", "JSESSIONID=1vxt6vyahayd2spdf0blirw8d;Path=/"},
{"Expires", "Thu, 01 Jan 1970 00:00:00 GMT"},
{"Content-Length", "509"},
{"Content-Type", "text/plain;charset=ISO-8859-1"},
{"Server", "Jetty(7.6.17.v20150415)"},
{"Strict-Transport-Security", "max-age=15768000"}
],
request_url: "https://pvoutput.org/service/r2/addbatchstatus.jsp",
status_code: 200
}}
"20180626,11:50,5.39;20180626,11:55,5.55;20180626,12:00,5.70;20180626,12:05,5.84;20180626,12:10,5.98;20180626,12:15,6.11;20180626,12:20,6.24;20180626,12:25,6.37;20180626,12:30,6.50;20180626,12:35,6.64;20180626,12:40,6.78;20180626,12:45,6.94;20180626,12:50,7.09;20180626,12:55,7.23;20180626,13:00,7.44;20180626,13:05,7.66;20180626,13:10,7.89;20180626,13:15,8.13;20180626,13:20,8.37;20180626,13:25,8.63;20180626,13:30,8.88;20180626,13:35,9.04;20180626,13:40,9.22;20180626,13:45,9.37;20180626,13:50,9.53;20180626,13:55,9.64;20180626,14:00,9.80;20180626,14:05,9.99;20180626,14:10,10.17;20180626,14:15,10.37;"
{:ok,
%HTTPoison.Response{
body: "20180626,11:50,1;20180626,11:55,1;20180626,12:00,1;20180626,12:05,1;20180626,12:10,1;20180626,12:15,1;20180626,12:20,1;20180626,12:25,1;20180626,12:30,1;20180626,12:35,1;20180626,12:40,1;20180626,12:45,1;20180626,12:50,1;20180626,12:55,1;20180626,13:00,1;20180626,13:05,1;20180626,13:10,1;20180626,13:15,1;20180626,13:20,1;20180626,13:25,1;20180626,13:30,1;20180626,13:35,1;20180626,13:40,1;20180626,13:45,1;20180626,13:50,1;20180626,13:55,1;20180626,14:00,1;20180626,14:05,1;20180626,14:10,1;20180626,14:15,1",
headers: [
{"Date", "Tue, 26 Jun 2018 22:21:15 GMT"},
{"Set-Cookie", "JSESSIONID=crgqonyzcwcw1537hiigz7mny;Path=/"},
{"Expires", "Thu, 01 Jan 1970 00:00:00 GMT"},
{"Content-Length", "509"},
{"Content-Type", "text/plain;charset=ISO-8859-1"},
{"Server", "Jetty(7.6.17.v20150415)"},
{"Strict-Transport-Security", "max-age=15768000"}
],
request_url: "https://pvoutput.org/service/r2/addbatchstatus.jsp",
status_code: 200
}}
"20180626,14:20,10.56;20180626,14:25,10.74;20180626,14:30,10.92;20180626,14:35,11.11;20180626,14:40,11.30;20180626,14:45,11.49;20180626,14:50,11.67;20180626,14:55,11.83;20180626,15:00,11.99;20180626,15:05,12.14;20180626,15:10,12.26;20180626,15:15,12.35;20180626,15:20,12.43;20180626,15:25,12.48;20180626,15:30,12.53;20180626,15:35,12.56;20180626,15:40,12.57;20180626,15:45,12.59;20180626,15:50,12.60;20180626,15:55,12.62;20180626,16:00,12.63;20180626,16:05,12.65;20180626,16:10,12.66;20180626,16:15,12.67;20180626,16:20,12.68;20180626,16:25,12.69;20180626,16:30,12.70;20180626,16:35,12.71;20180626,16:40,12.71;20180626,16:45,12.71;"
{:ok,
%HTTPoison.Response{
body: "20180626,14:20,1;20180626,14:25,1;20180626,14:30,1;20180626,14:35,1;20180626,14:40,1;20180626,14:45,1;20180626,14:50,1;20180626,14:55,1;20180626,15:00,1;20180626,15:05,1;20180626,15:10,1;20180626,15:15,1;20180626,15:20,1;20180626,15:25,1;20180626,15:30,1;20180626,15:35,1;20180626,15:40,1;20180626,15:45,1;20180626,15:50,1;20180626,15:55,1;20180626,16:00,1;20180626,16:05,1;20180626,16:10,1;20180626,16:15,1;20180626,16:20,1;20180626,16:25,1;20180626,16:30,1;20180626,16:35,1;20180626,16:40,1;20180626,16:45,1",
headers: [
{"Date", "Tue, 26 Jun 2018 22:21:15 GMT"},
{"Set-Cookie", "JSESSIONID=1wvvi5atsyxuuevj8s1vzox6l;Path=/"},
{"Expires", "Thu, 01 Jan 1970 00:00:00 GMT"},
{"Content-Length", "509"},
{"Content-Type", "text/plain;charset=ISO-8859-1"},
{"Server", "Jetty(7.6.17.v20150415)"},
{"Strict-Transport-Security", "max-age=15768000"}
],
request_url: "https://pvoutput.org/service/r2/addbatchstatus.jsp",
status_code: 200
}}
"20180626,16:50,12.72;20180626,16:55,12.72;20180626,17:00,12.72;20180626,17:05,12.72;20180626,17:09,12.72;"
{:ok,
%HTTPoison.Response{
body: "20180626,16:50,1;20180626,16:55,1;20180626,17:00,1;20180626,17:05,1;20180626,17:09,1",
headers: [
{"Date", "Tue, 26 Jun 2018 22:21:15 GMT"},
{"Set-Cookie", "JSESSIONID=yvt6pscr1pj8mrki7q3clto;Path=/"},
{"Expires", "Thu, 01 Jan 1970 00:00:00 GMT"},
{"Content-Length", "84"},
{"Content-Type", "text/plain;charset=ISO-8859-1"},
{"Server", "Jetty(7.6.17.v20150415)"},
{"Strict-Transport-Security", "max-age=15768000"}
],
request_url: "https://pvoutput.org/service/r2/addbatchstatus.jsp",
status_code: 200
}}
"2018-06-26"