Unusable values of P1 Devices Usage and Return
Posted: Friday 26 April 2019 12:22
When connecting P1 hardware to Domoticz, it creates (among others) a Usage Device and a Delivery Device. My guess is that they use the values for current delivery and current usage provided by the smart meter. However, there is something strange in the way these values are calculated, which makes the information of these devices useless.
I'll try to explain why. On the smart meter, the current power is shown as a positive value if more power is used than generated, and a negative value if more power is generated than used. This is also the case in the Domoticz Electricity Device. It doesn't show you exactly how much power is used or generated, but at least it's possible to calculate how much it will cost.
The Usage and Return Devices in Domoticz work differently. The Usage Device shows the current power used minus the power generated ONLY if more power is used than generated. In this case, the other Device (Delivery) is 0, as if the pv-panels are not delivering power.
If more power is generated than used, the value of the Delivery Device shows the generated amount minus the power used, but the Usage Device show 0, as if no power is consumed.
This is confusing. If, for example, the oven in my kitchen is on and uses 2kW and the pv-panels are delivering 2kW at the same time, the devices will show:
If the oven is on and the pv-panels are delivering 1kW, the Devices will show:
If the oven is on and the panels are delivering 3kW, the result will be:
But if the oven is off and the panels are delivering 1kW, the Devices will also show:
This of course makes the data in both devices of little use, because you can't tell how much is actually being used or generated. Could be that the smart meter is not even capable of sending these values, since it only measures the amount of energy flowing by and its direction. Wouldn't it be better to make a new Device that calculates real power usage by reading data from both the smart meter and the solar power inverter?
I'll try to explain why. On the smart meter, the current power is shown as a positive value if more power is used than generated, and a negative value if more power is generated than used. This is also the case in the Domoticz Electricity Device. It doesn't show you exactly how much power is used or generated, but at least it's possible to calculate how much it will cost.
The Usage and Return Devices in Domoticz work differently. The Usage Device shows the current power used minus the power generated ONLY if more power is used than generated. In this case, the other Device (Delivery) is 0, as if the pv-panels are not delivering power.
If more power is generated than used, the value of the Delivery Device shows the generated amount minus the power used, but the Usage Device show 0, as if no power is consumed.
This is confusing. If, for example, the oven in my kitchen is on and uses 2kW and the pv-panels are delivering 2kW at the same time, the devices will show:
Code: Select all
Current consumption: 0 kW
Current return: 0 kWCode: Select all
Current consumption: 1 kW
Current return: 0 kWCode: Select all
Current consumption: 0.000 kW
Current return: 1 kWCode: Select all
Current consumption: 0.000 kW
Current return: 1 kW