P1meter enhancements
Moderators: leecollings, remb0
-
- Posts: 4
- Joined: Sunday 16 December 2018 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
P1meter enhancements
I'd like to suggest a few enhancements to the p1meter plugin.
Background for my request, imagine the following extreme situation:
L1 has a one phase solar panel convertor connected, this is where all the return happens
The house has all the power usage on L2 and L3
-> Nothing of the solar energy is used in the house, everything goes to grid (L1) where in parallel power is still consumed on L2 and L3...
What I'd like to see:
1. For the main P1 electricity device (widget), total usage for today is shown.
Would it be possible to implement this as well for Usage_L1,L2 andL3?
It would be interesting to know whether the load in a house is evenly distributed over the three phases....
2. Show the total return for L1, L2 and L3 for today on the widget.
Is the solar panel return evenly distributed?
3. Would it be possible to have another device for L1, L2 and L3 that calculates todays result of nett solar+usage (L return- L usage)?
4. Log graphs: Show L1,L2 and L3 in the same graph (like the main electricity device does for usage1+usage2, the timeslots)
I can't create something like above myself, but happy to assist in a branstorming session
Background for my request, imagine the following extreme situation:
L1 has a one phase solar panel convertor connected, this is where all the return happens
The house has all the power usage on L2 and L3
-> Nothing of the solar energy is used in the house, everything goes to grid (L1) where in parallel power is still consumed on L2 and L3...
What I'd like to see:
1. For the main P1 electricity device (widget), total usage for today is shown.
Would it be possible to implement this as well for Usage_L1,L2 andL3?
It would be interesting to know whether the load in a house is evenly distributed over the three phases....
2. Show the total return for L1, L2 and L3 for today on the widget.
Is the solar panel return evenly distributed?
3. Would it be possible to have another device for L1, L2 and L3 that calculates todays result of nett solar+usage (L return- L usage)?
4. Log graphs: Show L1,L2 and L3 in the same graph (like the main electricity device does for usage1+usage2, the timeslots)
I can't create something like above myself, but happy to assist in a branstorming session
- FireWizard
- Posts: 1745
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1meter enhancements
Hi, @diekli ,
I want to react on your suggestions for "enhancements" for the P1 Smart Meter hardware.
This is not a external plugin, but is available in the Domoticz hardware by default.
You made a sketch of an extreme situation:
1. Single phase solar (string) inverter. This inverter is connected to one of the 3 phases (L1, L2 or L3). As a result the produced electricity is used by all equipment, which is connected to that phase. The over produced electricity is fed to the grid on that particular phase.
Indeed it might happen that a specific phase is not consuming any electricity at a specific moment. In that case all produced electricity is fed to the grid.
2. Three phase solar (string) inverter. This inverter is connected to all 3 phases. (L1, L2 and L3. As a result the produced electricity is used by all equipment, which is connected to all phases. The over produced electricity is fed to the grid on all phases.
3. Micro inverters. You can connect these to one, two and all the 3 phases. What ever you like. They will use the produced energy dependent on the load of the phase. This situation is equal to 3 times situation 1.
I do not understand what you mean with "for today". Is that energy? Expressed in kWh?
I do not see the practical use of that value. Can you explain your intended use?
You should take care that you do not connect e.g. washing machine, dishwasher, microwave oven, etc to the same electricity circuit and to the same phase and then use it all at the same time!
Domoticz has a connector for it, available by default.
So I do not see any advantage with the "enhancements". Sorry for that.
Regards
I want to react on your suggestions for "enhancements" for the P1 Smart Meter hardware.
This is not a external plugin, but is available in the Domoticz hardware by default.
You made a sketch of an extreme situation:
In relation to solar panels, you have different possibilities:L1 has a one phase solar panel convertor connected, this is where all the return happens
The house has all the power usage on L2 and L3
-> Nothing of the solar energy is used in the house, everything goes to grid (L1) where in parallel power is still consumed on L2 and L3.
1. Single phase solar (string) inverter. This inverter is connected to one of the 3 phases (L1, L2 or L3). As a result the produced electricity is used by all equipment, which is connected to that phase. The over produced electricity is fed to the grid on that particular phase.
Indeed it might happen that a specific phase is not consuming any electricity at a specific moment. In that case all produced electricity is fed to the grid.
2. Three phase solar (string) inverter. This inverter is connected to all 3 phases. (L1, L2 and L3. As a result the produced electricity is used by all equipment, which is connected to all phases. The over produced electricity is fed to the grid on all phases.
3. Micro inverters. You can connect these to one, two and all the 3 phases. What ever you like. They will use the produced energy dependent on the load of the phase. This situation is equal to 3 times situation 1.
Correct. This is a positive value in case of usage and a negative value in case of returnFor the main P1 electricity device (widget), total usage for today is shown.
I do not understand what you mean with "for today". Is that energy? Expressed in kWh?
This is already implemented and available (in case of a 3-phase Smartmeter). However if you mean energy in stead of usage, you should know that this data is not delivered in the P1 Smart meter telegram. So if you need it, you can calculate that yourself. E,g use dzVents or Node Red. or something else.Would it be possible to implement this as well for Usage_L1,L2 andL3?
I do not see the practical use of that value. Can you explain your intended use?
Why? I can tell you, it is not. It is the equipment that uses the electricity and that is not constant the same.It would be interesting to know whether the load in a house is evenly distributed over the three phases.
You should take care that you do not connect e.g. washing machine, dishwasher, microwave oven, etc to the same electricity circuit and to the same phase and then use it all at the same time!
You probably mean the energy , but you started your post with:2. Show the total return for L1, L2 and L3 for today on the widget.
So L2 and L3 return is zero!L1 has a one phase solar panel convertor connected, this is where all the return happens
Not in your case, as you use a single phase inverter.Is the solar panel return evenly distributed?
You have to create that yourself and I think your are mixing power usage (W), power return (W) and energy (kWh) with each other.Would it be possible to have another device for L1, L2 and L3 that calculates todays result of nett solar+usage (L return- L usage)?
If you want the power usage of L1, L2 and L3 you can try to send these it InfluxdB and show them with Grafana.4. Log graphs: Show L1,L2 and L3 in the same graph
Domoticz has a connector for it, available by default.
This should not be mixed with T1 and T2, which represent different tariffs.like the main electricity device does for usage1+usage2, the timeslots
So I do not see any advantage with the "enhancements". Sorry for that.
Regards
Last edited by FireWizard on Thursday 09 June 2022 18:52, edited 1 time in total.
-
- Posts: 15
- Joined: Sunday 27 December 2020 22:55
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Netherlands
- Contact:
Re: P1meter enhancements
If the P1 plugin would have a connection with a variable that holds the production by the solar inverter, the plugin could also display your actual consumption (being the sum that is produced by the solar + usage from grid - delivery to grid)
- FireWizard
- Posts: 1745
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1meter enhancements
Hi.
For an idea, you can look at: https://www.home-assistant.io/blog/2021 ... anagement/ or https://www.home-assistant.io/home-energy-management/
Regards
Why should this be needed? We have many different brands of inverters. For most of them, we have a plugin or script, that indicates the produced power of the inverter(s). So this value is available and you can program, whatever you want.If the P1 plugin would have a connection with a variable that holds the production by the solar inverter
For an idea, you can look at: https://www.home-assistant.io/blog/2021 ... anagement/ or https://www.home-assistant.io/home-energy-management/
Regards
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: P1meter enhancements
There are some recent changes in Domoticz beta to add L devices for usage and return.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 4
- Joined: Sunday 16 December 2018 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: P1meter enhancements
Thank you all for responding, let me try to clarify.
In the 2022.1 version I have the three phases for both usages and return, right?
So in a script I can do the calculation of the nett result:
nett_energy_usage_result = (0 - ( p1usagel1+ p1usagel2+ p1usagel3)) + p1deliveryl1 + p1deliveryl2 + p1deliveryl3
This provides the TOTAL actual value at that point in time (in kW).
However you may paying for electricity on L2 and L3, where - at the same time - L1 has a return (you are receiving money).
So I'd like to see per Line how does it look per day? Is the energy returned and used (per line) evenly distributed?
Or do I have an unbalanced situation where once the netting (Dutch: saldering) is gone, I may be shocked that I am going to pay so much more, since I am not using any energy produced by the Solar Panel.
Ps. I do have an 'Electricity' background. My example was to paint a picture that people can relate to. I do have a 3phase solar panel convertor
I think 99% of people don't realise what the impact will be to have a 1phase convertor on a Line which does not have a (lot of) load (=devices) on it.
And at this point in time I can not see this info myself (and I don't want to learn or build a Grafana setup)
In the 2022.1 version I have the three phases for both usages and return, right?
So in a script I can do the calculation of the nett result:
nett_energy_usage_result = (0 - ( p1usagel1+ p1usagel2+ p1usagel3)) + p1deliveryl1 + p1deliveryl2 + p1deliveryl3
This provides the TOTAL actual value at that point in time (in kW).
However you may paying for electricity on L2 and L3, where - at the same time - L1 has a return (you are receiving money).
So I'd like to see per Line how does it look per day? Is the energy returned and used (per line) evenly distributed?
Or do I have an unbalanced situation where once the netting (Dutch: saldering) is gone, I may be shocked that I am going to pay so much more, since I am not using any energy produced by the Solar Panel.
Ps. I do have an 'Electricity' background. My example was to paint a picture that people can relate to. I do have a 3phase solar panel convertor
I think 99% of people don't realise what the impact will be to have a 1phase convertor on a Line which does not have a (lot of) load (=devices) on it.
And at this point in time I can not see this info myself (and I don't want to learn or build a Grafana setup)
- FireWizard
- Posts: 1745
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1meter enhancements
Hello all,
@waltervl
There has been discussion a long time ago, whether this current sensor would be useful or not .
In the Dutch version of the DSMR 5.1 protocol, the protocol will not supply any digits after the decimal point. So the accuracy of the current is rather low. In the Belgian version the meter will supply 2 digits after the decimal point. For that reason it has, up to now, not been implemented.
In version 14345 there is a Current L1/L2/L3 sensor for delivered.
@diekli
One for each phase. So that is correct.
Example:
Imagine that you deliver 3kW to the grid on L1 and you consume 1kW from L2 and also 1kW from L3
This does not mean that you pay your price for L2 and L3 consumption and get paid (in the future less than you pay for consumption) for L1.
It means that the smart meter calculates internally that you deliver 1kW to the grid (3-1-1) and you get paid for that.
This is not very well documented on the Internet and very difficult to find.
I found something in Dutch at: https://www.coolblue.nl/zonnepanelen/ad ... imme-meter
This 100% return compensation exists only in the Netherlands at the moment. There are even countries, that don't pay anything for returned power.
FYI I have a electro-technical background as well.
Regards
@waltervl
Indeed saw that since version 14343 we have a new sensor for the current of the P1 meter.There are some recent changes in Domoticz beta to add L devices for usage and return.
There has been discussion a long time ago, whether this current sensor would be useful or not .
In the Dutch version of the DSMR 5.1 protocol, the protocol will not supply any digits after the decimal point. So the accuracy of the current is rather low. In the Belgian version the meter will supply 2 digits after the decimal point. For that reason it has, up to now, not been implemented.
In version 14345 there is a Current L1/L2/L3 sensor for delivered.
@diekli
Since a longer time, in case of a 3-phase smart meter we have available 3 sensors for Power Consumption and also 3 sensors for Power Delivery.In the 2022.1 version I have the three phases for both usages and return, right?
One for each phase. So that is correct.
That is correct, but is already done by Domoticz in the P1 Smart Meter sensor. A positive value, if you consume power from the grid and a negative value, if you deliver power to the grid. So no need to calculate it again.So in a script I can do the calculation of the nett result:
nett_energy_usage_result = (0 - ( p1usagel1+ p1usagel2+ p1usagel3)) + p1deliveryl1 + p1deliveryl2 + p1deliveryl3
This provides the TOTAL actual value at that point in time (in kW).
I understand your concern, but there is nothing to worry about, as the smart meter makes its own calculation and your are not paying for the power you use for L2 and L3 and receive money back for L1.However you may paying for electricity on L2 and L3, where - at the same time - L1 has a return (you are receiving money).
Example:
Imagine that you deliver 3kW to the grid on L1 and you consume 1kW from L2 and also 1kW from L3
This does not mean that you pay your price for L2 and L3 consumption and get paid (in the future less than you pay for consumption) for L1.
It means that the smart meter calculates internally that you deliver 1kW to the grid (3-1-1) and you get paid for that.
This is not very well documented on the Internet and very difficult to find.
I found something in Dutch at: https://www.coolblue.nl/zonnepanelen/ad ... imme-meter
This 100% return compensation exists only in the Netherlands at the moment. There are even countries, that don't pay anything for returned power.
You always will, as long as the sun shinesSo I'd like to see per Line how does it look per day? Is the energy returned and used (per line) evenly distributed?
Or do I have an unbalanced situation where once the netting (Dutch: saldering) is gone, I may be shocked that I am going to pay so much more, since I am not using any energy produced by the Solar Panel.
Nothing, as you could have read.I think 99% of people don't realise what the impact will be to have a 1phase convertor on a Line which does not have a (lot of) load (=devices) on it.
FYI I have a electro-technical background as well.
Regards
- RonkA
- Posts: 95
- Joined: Tuesday 14 June 2022 12:57
- Target OS: NAS (Synology & others)
- Domoticz version: 2023.2
- Location: Harlingen
- Contact:
Re: P1meter enhancements
Hello,
Just my 2 cents...
Its not a good practice to use the 3 fases like you do, if everybody does this the net transformer will get issues, and the voltage could surge over 10% normal voltage resulting in broken applances.(realy; we had this happen in our Residential area)
Just use all 3 phases in balance so fase1 little more than the others, as stated you will get your return in the Netherlands..
The only thing you have to think about is the wiring in the fuse box.
In the Netherlands normally you have 25 ampere breaker giving 5750 watt so if your inverter is puting out 3000 watt the wires have to withstand
8750 watt max.
Electrical scripts are al over the place, just copy, modify and use.. its fun.
For the enhancements, here are mine, P1 port plus solardata: Very satisfying to watch updates every 10 seconds, sometimes things calculate wrong but that is fine with me..
Just my 2 cents...
Its not a good practice to use the 3 fases like you do, if everybody does this the net transformer will get issues, and the voltage could surge over 10% normal voltage resulting in broken applances.(realy; we had this happen in our Residential area)
Just use all 3 phases in balance so fase1 little more than the others, as stated you will get your return in the Netherlands..
The only thing you have to think about is the wiring in the fuse box.
In the Netherlands normally you have 25 ampere breaker giving 5750 watt so if your inverter is puting out 3000 watt the wires have to withstand
8750 watt max.
Electrical scripts are al over the place, just copy, modify and use.. its fun.
For the enhancements, here are mine, P1 port plus solardata: Very satisfying to watch updates every 10 seconds, sometimes things calculate wrong but that is fine with me..
Last edited by RonkA on Sunday 19 June 2022 19:38, edited 1 time in total.
SolarEdge ModbusTCP - Open Weather Map - Kaku - Synology NAS - Watermeter - ESPEasy - DS18b20
Work in progress = Life in general..
Work in progress = Life in general..
- Eddiever
- Posts: 105
- Joined: Thursday 27 April 2017 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: The Netherlands (Hoogeveen)
- Contact:
Re: P1meter enhancements
What? Normally you don't have a 25A breaker device. An RCD of 40A and then 16A breakers. And if your solar system is correctly installed it is connected to its own RCBO (aardlekautomaat). The value of this RCBO depends on the power your inverter can produce.
I do like your overview from the P1 meter! Did you use any scripts or are these common available objects from the P1 meter?
- RonkA
- Posts: 95
- Joined: Tuesday 14 June 2022 12:57
- Target OS: NAS (Synology & others)
- Domoticz version: 2023.2
- Location: Harlingen
- Contact:
Re: P1meter enhancements
Hi,
To clarify;
(= normally if 3 fase, 1 fase you have 40A in most 230v country's)
Over 500 watt a separate line to the fuse box with his own MCB is mandatory ,the MCB is there only to protect the line against overload and shortage.
An RCD is still a debatable issue but to my nowledge (at least till last year) is not yet mandatory.
An RCBO is a MCB and a RCD in one housing and is for safety best practice to use for your solar but is not mandatory..
Everything stated here by me is from the perspective of Dutch rules and regulations
Its all scripted, to compute the values and to make the values after comma dissapear(I don't like decimals like with the 'Zon - total energy' one)
example: to calculate home usage F1(Werkelijk gebruik huis L1) = KWH meter F1 + solar F1)
To clarify;
Normally you dont have a 25A breaker(MCB - Miniature Circuit Breaker) after the energy meter but before the energy meter normally there is a 25A MCBWhat? Normally you don't have a 25A breaker device
(= normally if 3 fase, 1 fase you have 40A in most 230v country's)
The RCD (residual current device or aardlek) has a value of mA (mostly 30mA). The 40A rating is the design current and not a protection grade.An RCD of 40A
Yes and no, if your solar is under 500w there is no law that states you have to have a separate MCB and you can plug it straight into a wallsocket.And if your solar system is correctly installed it is connected to its own RCBO(aardlekautomaat). The value of this RCBO depends on the power your inverter can produce.
Over 500 watt a separate line to the fuse box with his own MCB is mandatory ,the MCB is there only to protect the line against overload and shortage.
An RCD is still a debatable issue but to my nowledge (at least till last year) is not yet mandatory.
An RCBO is a MCB and a RCD in one housing and is for safety best practice to use for your solar but is not mandatory..
Everything stated here by me is from the perspective of Dutch rules and regulations
Thanks,I do like your overview from the P1 meter! Did you use any scripts
Its all scripted, to compute the values and to make the values after comma dissapear(I don't like decimals like with the 'Zon - total energy' one)
example: to calculate home usage F1(Werkelijk gebruik huis L1) = KWH meter F1 + solar F1)
SolarEdge ModbusTCP - Open Weather Map - Kaku - Synology NAS - Watermeter - ESPEasy - DS18b20
Work in progress = Life in general..
Work in progress = Life in general..
- FireWizard
- Posts: 1745
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1meter enhancements
@RonkA,
I followed your discussion and more or less the most you said is true, except 1 thing.
You wrote:
When NEN 1010:2015 became mandotory in 2017 it is no longer allowed and so every inverter, regardless of the produced current should have its own circuit breaker.
Earthing of the solar panels is not required, as they are double isolated, but the metal construction part should be earthed.
I followed your discussion and more or less the most you said is true, except 1 thing.
You wrote:
This was indeed the case in the old NEN 1010.Yes and no, if your solar is under 500w there is no law that states you have to have a separate MCB and you can plug it straight into a wallsocket.
When NEN 1010:2015 became mandotory in 2017 it is no longer allowed and so every inverter, regardless of the produced current should have its own circuit breaker.
Earthing of the solar panels is not required, as they are double isolated, but the metal construction part should be earthed.
- Eddiever
- Posts: 105
- Joined: Thursday 27 April 2017 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: The Netherlands (Hoogeveen)
- Contact:
Re: P1meter enhancements
Ow, how stupid from me. Ofcourse the C25A (or D25A) device before the meter.
The 30mA did I forgot to mention, sorry.
And the RCBO is not yet mandatory but is the safest way to be installed. So, in my opinion, "mandatory". If I am correct it will become mandatory with the NEN1010 2020 edition.
The 30mA did I forgot to mention, sorry.
And the RCBO is not yet mandatory but is the safest way to be installed. So, in my opinion, "mandatory". If I am correct it will become mandatory with the NEN1010 2020 edition.
Who is online
Users browsing this forum: No registered users and 0 guests