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

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Joep123
Posts: 56
Joined: Monday 26 March 2018 18:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

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

Post 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)
Joep123
Posts: 56
Joined: Monday 26 March 2018 18:44
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

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

Post by Joep123 »

User avatar
FireWizard
Posts: 1887
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

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

Post by FireWizard »

Hi @Joep123

After upgrade to version 13314 this problem is solved

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest