Currently I’m wanting to build a sankey chart based on the usage and production of power per phase.
I use the Homewizard P1 meter for this and the local Goodwe integration, both have L1, L2 and L3 power sensors. From these sensors I’ve created Integration sensors which are included in Utility Meters. Three sets are created for each sensor with the Trapezional, Left and Right method in the Integration sensor.
When comparing the total import and export values from the P1 meter and the newly sensors, the closest to the real values are still 0,3 to 0,8 kWh off at the end of the day.
Anyone encountered such an issue (and came up with a solution) or is this how it is and should I accept the drift between te values?
Picture below shows in the top the values from the totals of the P1 meter and Goodwe inverter. Direct usage is PV - Export. Bottom part of the picture is from the newly create sensors, for all these sensors the Left method is the most accurate.
It should give the least amount of error but it is still an approximation of an integral. The more updates / second your source sensor has the more accurate it will be.
I have increased the number of updates for the Solar Inverter to 1s. As far as I know I cannot change the update frequency of the Homewizard integration (@DCSBL am I correct?)
Semi correct. Changing update frequency is not a simple option but is certainly possible.
You have to disable “Enable polling for updates” in “System options” below, then create an automation that calls the homeassistant.update_entity service as often as you like.