Getstatistic.jsp not returning consumption or $ figures


#1

Trying to look at my data for a selected period, to compared with my powerbill, using the Get Statistic Service. Fronius+Smart Meter with rates setup, system here: https://pvoutput.org/list.jsp?userid=59863. Datat seems to be all there.

Using curl, my command line is:

curl -o stats.csv -v -H "X-Pvoutput-Apikey: xxxxxxxxxxxxxxxxx" -H "X-Pvoutput-SystemId: 12345" "https://pvoutput.org/service/r2/getstatistic.jsp?sid1=12345&df=20180604&dt=20180723&c=1&crdr=1"

What I get back is:

632370,470387,12647,0,17070,1.952,50,20180604,20180723,2.634,20180721,56.92,0.00

Energy exported looks correct, but consumption is orders of magnitude to small, and I have no credit/debit figures at all.

Any ideas? Thanks.


#2

Consumption figures will only be provided for you own systems.

Remove the sid1=12345 from the request.


#3

Thanks, sid1 was actually my own system but I did remove it, still got the same results.


#4

The results looks shorter than usual.

Using curl with your API details the following is returned -

632370,470387,12647,0,17070,1.952,50,20180604,20180723,2.634,20180721,612648,450665,0,0,0,12503,1908,18919,56.92,167.38

Debit/Credit are the last two fields.