Hi,
Knibor wrote:
I have a Smart Meter P1 that measures the actual usage of Fase1, Fase2 and Fase3 in watts
How can I convert it to Daily total KW used of each Fase?
I assume that you mean daily kWh instead of kW of each phase.
It is possible, but I wonder what to goal is, that you want to know these values.
If the goal is, that you want to charge other persons for the power consumption on a specific phase, I recommend to use a separate kWh meter, as these are more accurate and are calibrated.
If it is just for fun or curiosity you can create a virtual "Electricity" sensor for each phase. (Electric (Instant + Counter)).
Keep in mind the following:
krizzz wrote:
Do you have the Smart Meter connected with the P1-Cable? If so I have the same, one device per Phase/Fase and they display the usage in watts.
But check your (unused) devices, you should also have three devices displaying the volts and one device showing the combiner usage in kWh. Trust me, its there.
Smart meters with the protocol DSMR 4. 2 (See:
https://www.netbeheernederland.nl/_uplo ... e3cc38.pdf) and
ESMR 5.0 (See:
https://www.netbeheernederland.nl/_uplo ... fce1f1.pdf) do provide the following sensors in Domoticz:
- Total Electricity Usage (Current usage (W), Daily usage (kWh) and Total usage (kWh), idem Return values)
- Gas usage (Daily usage and Total usage (m3)).
- Line Voltages for L1, L2 and L3, if you have a 3-phase kWh meter; in case you have a 1-phase kWh meter, you have only L1)
- Power Consumption for L1, L2 and L3, if you have a 3-phase kWh meter. (In case you have a 1-phase kWh meter, you have only L1)
- If you have solar panels, then also Power Delivery for L1, L2 and L3, if you have a 3-phase kWh meter.
(In case you have a 1-phase kWh meter, you have only L1)
If you have a Smart meter, with the protocol DSMR 4.0 or earlier (See:
http://files.domoticaforum.eu/uploads/S ... l%20P1.pdf), you do not have any information about each phase (L1,L2 and L3).
As gordonb3 said:
You can't. The data is simply not there.
The only per phase data that the P1 telegram will show you is current/instantaneous use, voltage and ampere, all as integer values and thus the ampere value happens to be pretty useless. If you assume that the meter displays Ws as the Watt value, you might be able to calculate the overall usage per phase by keeping track of every meter update if it at least conforms to ESMR 5.0 and you did not limit the update rate. If you have an older meter: no chance.
As gordonb3 said:
- All values are integer values, and as the current consumption is relative low ( < 25A ) per phase the inaccuracy is too big, and that is the reason that Domoticz does not use the Current as a sensor. It is a useless value. If you need that, you have to calculate it yourself, by dividing the power by the voltage. This assumes, that you have a resistive load. (cos phi = 1)
If you have limit the meter update and therefore have reduced the sampling frequency it will reduce in theory the accuracy further. However over the long term it will not make that much difference.
As said, you can create a virtual "Electricity" sensor for each phase. (Electric (Instant + Counter)).
Create the device and in the "Utility" tab you can edit this device as below:
- Screenshot_Test Consumption L1.png (18.25 KiB) Viewed 5218 times
Click the "Radio" button for Energy read as "Computed".
It will give you a sensor as:
- Screenshot_Sensor Consumption L1.png (30.29 KiB) Viewed 5218 times
The next step is to create a script (e.g. dzVents) that pushes the Current Watts per phase to the newly created sensor.
The daily usage is calculated (See after: Today:) and you can replace the "old" Usage sensor with this one.
Regards