Page 1 of 1

JSON API for P1 Smart Meter (Energy) doesn't work anymore

Posted: Saturday 05 June 2021 10:21
by Joep123
Since last beta update the JSON API for P1 Smart Meter (Energy) doesn't work fine anymore.

When I enter https://192.168.2.62:444/json.htm?type= ... range=week in the browser I get as result:
Spoiler: show
{
ValueQuantity: "",
ValueUnits: "",
result: [
{
d: "2021-05-29",
r1: "0.000",
r2: "0.000",
v: "9.898",
v2: "0.000"
},
{
d: "2021-05-30",
r1: "0.000",
r2: "0.000",
v: "10.292",
v2: "0.000"
},
{
d: "2021-05-31",
r1: "0.000",
r2: "0.000",
v: "2.913",
v2: "7.079"
},
{
d: "2021-06-01",
r1: "0.000",
r2: "0.000",
v: "2.468",
v2: "5.620"
},
{
d: "2021-06-02",
r1: "0.000",
r2: "0.000",
v: "2.588",
v2: "6.285"
},
{
d: "2021-06-03",
r1: "0.000",
r2: "0.000",
v: "2.773",
v2: "3.753"
},
{
d: "2021-06-04",
r1: "0.000",
r2: "0.000",
v: "2.706",
v2: "8.233"
},
{
d: "2021-06-05",
r1: "0.000",
r2: "0.000",
v: "2.505",
v2: "0.000"
}
],
status: "OK",
title: "Graph counter week"
}
That's good!

But when I enter https://192.168.2.62:444/json.htm?type= ... range=year then I get:

Code: Select all

{
ValueQuantity: "",
ValueUnits: "",
status: "OK",
title: "Graph counter year"
}
This problem only occurs with the P1 Smart Meter (Energy), it works fine with P1 Smart Meter (Gas)

Re: JSON API for P1 Smart Meter (Energy) doesn't work anymore

Posted: Saturday 05 June 2021 10:33
by Joep123

Re: JSON API for P1 Smart Meter (Energy) doesn't work anymore

Posted: Saturday 05 June 2021 23:02
by FireWizard
Hi @Joep123

After upgrade to version 13314 this problem is solved

Regards