Upload of API data return 400 bad request


#1

Hi, I’m using smatool to get data from my SMA5000TL inverter and send it ot pvoutput.

It worked like a charm for years, but end of last year, I’ve upgraded my linux box and till then I had library issue.

The issue is solved now, but seems that the software is trying to send the data not sent till I’ve upgraded my box (30/12/2018)

here is the tcpdump output:
16:46:48.778450 IP dobermannssd.home.45134 > li916-169.members.linode.com.http: Flags [P.], seq 1:871, ack 1, win 229, options [nop,nop,TS val 4206284684 ecr 1171278725], length 870: HTTP: GET /service/r2/addbatchstatus.jsp?data=20181230,11:00,1036,384;20181230,11:05,1067,384;20181230,11:10,1094,336;20181230,11:15,1129,432;20181230,11:20,1192,720;20181230,11:25,1246,672;20181230,11:30,1329,1008;20181230,11:35,1418,1056;20181230,11:40,1528,1296;20181230,11:45,1668,1728;20181230,11:50,1868,2352;20181230,11:55,1989,1488;20181230,12:00,2079,1056;20181230,12:05,2188,1296;20181230,12:10,2282,1152;20181230,12:15,2356,864;20181230,12:20,2422,816;20181230,12:25,2504,1008;20181230,12:30,2594,1056;20181230,12:35,2672,960;20181230,12:40,2735,720;20181230,12:45,2797,768;20181230,12:50,2860,720;20181230,12:55,2907,576;20181230,13:00,2954,576;20181230,13:05,3004,624;20181230,13:10,3063,672;20181230,13:15,3094,384;20181230,13:20,3125,384;20181230,13:25,3153,336&key=a3477b56e429a3d1cc230d4d7b5ef0de8177dd36&sid=3542 HTTP/1.1
16:46:48.916189 IP li916-169.members.linode.com.http > dobermannssd.home.45134: Flags [F.], seq 1:315, ack 871, win 2245, options [nop,nop,TS val 1171278864 ecr 4206284684], length 314: HTTP: HTTP/1.1 400 Bad Request

Is PVoutput refusing data older than x days ?

Thanks in advance for any clue


#2

The limit is 14 days for standard accounts and 90 days for donation enabled accounts.

See Restrictions and Limitations section in https://pvoutput.org/help.html#api-addbatchstatus