Since yesterday, I installed the P1 smart meter Wifi Gateway. However, after 1 day, I see inexplicable differences between the values the Gateway software reports and those in Domoticz.
The P1 Wifi gateway reports:
Total usage tariff 1: (nothing)
Total usage tariff 2: 10.196*kWh
Delivered tariff 1: 40.010*kWh
Delivered tariff 2: 29.243*kWh
Total gas usage : 3.897*m3
Domoticz reports:
Today: 3.130kWh, 26.786
Return: Today: 19.265kWh, 69.253
Current usage: 358 kWh
Total gas usage: 0,384
The values are so far apart that they are totally unusable to get an idea of the real usage and delivery. Also, the gas usage values show a small, but strange difference. Which values should I believe???
Different values from P1 Wifi Gateway and Domoticz
Moderator: leecollings
- pgielen
- Posts: 91
- Joined: Monday 18 February 2019 14:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Boxmeer
- Contact:
Different values from P1 Wifi Gateway and Domoticz
https://robothuis.nl, RPi4B, RFXCOM XL, Aeotec Z-Stick, ESP Easy, Weatherstation, several switches and sensors, Ikea Trädfri, Philips Hue, Foscam, Reolink, Lyric T6, Ring
- pgielen
- Posts: 91
- Joined: Monday 18 February 2019 14:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Boxmeer
- Contact:
Double tariff P1 smart meter not handled correctly by Domoticz
The problem is becoming more clear now: Domoticz does not handle double tariff meters like my Sagemcom X210 correctly. It should not only create L1 and T1 devices, but also L2 and T2 and the totals should be handled accordingly.
I checked the new firmware version of the P1 Wifi gateway that was published today. It sends the data of my smart meter (a Sagemcom X210) correctly to Domoticz. Data format of the ‘Electricity’ device as shown in the log is:
These values are:
Where:
T1 = Total Delivery during the day (high tariff)
T2 = Total Delivery during the night (low tariff)
L1 = Total Use during the day (high tariff)
L2 = Total Use during the night (low tariff)
U1 = Current power usage
D1= Current power delivered by the solar panels
T2 and L2 are totally ignored by Domoticz. I also installed the new update to 4.10618 today, but that did not solve the issue…
I checked the new firmware version of the P1 Wifi gateway that was published today. It sends the data of my smart meter (a Sagemcom X210) correctly to Domoticz. Data format of the ‘Electricity’ device as shown in the log is:
Code: Select all
29406;13650;59498;46127;240;0Code: Select all
T1, T2, L1, L2,U1,D1Where:
T1 = Total Delivery during the day (high tariff)
T2 = Total Delivery during the night (low tariff)
L1 = Total Use during the day (high tariff)
L2 = Total Use during the night (low tariff)
U1 = Current power usage
D1= Current power delivered by the solar panels
T2 and L2 are totally ignored by Domoticz. I also installed the new update to 4.10618 today, but that did not solve the issue…
https://robothuis.nl, RPi4B, RFXCOM XL, Aeotec Z-Stick, ESP Easy, Weatherstation, several switches and sensors, Ikea Trädfri, Philips Hue, Foscam, Reolink, Lyric T6, Ring
- pgielen
- Posts: 91
- Joined: Monday 18 February 2019 14:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Boxmeer
- Contact:
Re: Different values from P1 Wifi Gateway and Domoticz
I think a simple hack would be to add L1=L1+L2 and T1=T1+T2 somewhere in the Domoticz code, since tariffs do not really differ (at least not in my case). My C is a little rusty though...
https://robothuis.nl, RPi4B, RFXCOM XL, Aeotec Z-Stick, ESP Easy, Weatherstation, several switches and sensors, Ikea Trädfri, Philips Hue, Foscam, Reolink, Lyric T6, Ring
- gizmocuz
- Posts: 2712
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Different values from P1 Wifi Gateway and Domoticz
Sure we handle L2 and T2, how does your chart/report look ?
(Also wait at least a day)
Here some samples:
(Also wait at least a day)
Here some samples:
Quality outlives Quantity!
- pgielen
- Posts: 91
- Joined: Monday 18 February 2019 14:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Boxmeer
- Contact:
Re: Different values from P1 Wifi Gateway and Domoticz
I am just starting to understand how it works. The Domoticz Device Electricity shows the totals correctly: Usage 1 Usage 2, Return 1 and Return 2. This is also the case in my setup, so I consider this topic as solved.
However, Domoticz creates only one Usage Device and only one Delivery Device, both showing only one tariff. That was the source of my confusion. Now I guess that these Devices the values for current delivery and current usage provided by the smart meter, which are not split up in two tariffs. There is something strange about them however, for which I will open a new topic.
However, Domoticz creates only one Usage Device and only one Delivery Device, both showing only one tariff. That was the source of my confusion. Now I guess that these Devices the values for current delivery and current usage provided by the smart meter, which are not split up in two tariffs. There is something strange about them however, for which I will open a new topic.
https://robothuis.nl, RPi4B, RFXCOM XL, Aeotec Z-Stick, ESP Easy, Weatherstation, several switches and sensors, Ikea Trädfri, Philips Hue, Foscam, Reolink, Lyric T6, Ring
Who is online
Users browsing this forum: Google [Bot] and 1 guest