Replies: 15 comments 42 replies
-
There seem to be a number of things going on here.
Yes there are. Energy drawn from the grid is The power taken by your house is load power. This is exposed by this integration
This missing piece is that the inverter is not 100% efficient. The difference between your sum and |
Beta Was this translation helpful? Give feedback.
-
Grid CT is showing values, but combined these are not near the correct value: Inverter Power seems to be near, but also not correct and I think that's not the correct value: |
Beta Was this translation helpful? Give feedback.
-
Do you just have 1 x H3 inverter or do you have another solar inverter connected as well? A second inverter will throw out the sensor values on the H3 so its best to understand this first. |
Beta Was this translation helpful? Give feedback.
-
it's just 1 H3 Inverter |
Beta Was this translation helpful? Give feedback.
-
there is a Chint DTSU666 sitting in line |
Beta Was this translation helpful? Give feedback.
-
OK, just to confirm, you are getting the correct R S T power values for your grid consumption and feedin to/from the grid? From what I know of the sensors on the H1 inverter, Fox may not actually use the inverter load power sensors when the data gets to the cloud because they are not correct in all circumstances. For example, when you add a second inverter, the load power sensor on the inverter returns a -ve value but the Fox cloud returns a +ve value. For H1, the load power calculation in the cloud may be (Output Power - Grid CT + CT2), where Grid CT is positive for export and -ve for import. This is the sum of the power going through the henley block, so there are no conversion losses (but sampling errors are possible). The same may apply to H3... Here's an example of some code I wrote to derrive load power and compare against the inverter value for H1:
And an example of how this tracks the inverter load sensor for the H1 base case: You can try to calculate Load Power RST separately as well, but I don't think it will be correct if a second inverter is also connected as you don't have Meter2 Power RST values. |
Beta Was this translation helpful? Give feedback.
-
BTW - no idea what this means in terms of accuracy for Load Energy Today and Load Energy Total counters on the inverter. I don't think anyone has yet done long term tracking of these counters for more complex cases... You can do a similar derrived load energy calculation based on Output Energy, Input Energy, Grid Consumption and Feedin Energy but you don't have an energy counter for CT2 / Meter 2. You could try to get generation energy directly from the second inverter, and that total will only be correct if the inverters were installed at the same time? |
Beta Was this translation helpful? Give feedback.
-
Been running the calculated load power for a day now to compare with the base case sensor: Load Power CT1 is the raw H1 load sensor. Load Power is the value calculated as follows: There's s small adaptation here to stop the value going negative (due to sampling error) as the house load cannot generate. 300w was chosen arbitrarily as an approximation to an average house base load. You can see around 10:15, the load power spikes up to 5kw but the calculated value spikes to 7kw due to sampling error. I added a filter, load_power_smooth, using a 30 second rolling average to see what it looks like if you smooth out spikes. The filter introduces a small lag in the data transients:
- name: load_power_smooth
platform: statistics
unique_id: foxess_inv1_load_power_smooth
entity_id: sensor.load_power
state_characteristic: average_linear
max_age:
seconds: 30
precision: 3
Combining the plots highlights the small differences... A few options to consider, but it looks like calcuating load power to cover different configurations will work fine where the inverter sensors are not returning the correct values. |
Beta Was this translation helpful? Give feedback.
-
Wondering if you might have a naming conflict in your system from some previous integration. Have you checked Settings, Devices & Services. Entities and searched for entities with Load in the name and looked for any names with _2 at the end? |
Beta Was this translation helpful? Give feedback.
-
Looks like the Chint might be the culprit. Try restarting it. #371 (comment) |
Beta Was this translation helpful? Give feedback.
-
I'll tried, cut off the power of the chint, still the same - but could a configuration mistake of the chint cause the sensor not to show the values?! |
Beta Was this translation helpful? Give feedback.
-
hi folks, I do face a similar issue - as I try to get rid of the FoxCloud, by building up a local view within home assistand. Tried to build something like this "flixlix But correct home consumption is always wrong, as power consumption of the inverter is not used for calculation. so same on my side: load_Power_RST does have constant values not at all same as my house consumption. just my view cents. Found this: is load power related to EPS only? |
Beta Was this translation helpful? Give feedback.
-
I have one more question. Is there still No Support for the H3 to Read/write charge periods and Read/write work mode, min/max SoC or does this now also Work with the H3 too? Does this Work now for the FoxESS H3 correctly? |
Beta Was this translation helpful? Give feedback.
-
what kind of template sensor do you guys use to monitor the current load of the house, whether the power comes from the grid, the battery or the PV system |
Beta Was this translation helpful? Give feedback.
-
Houseload I think the easiest and most accurate results can be get by simply adding: (no matter if we have solar, solar export or battery power) Grid Consumption R (foxess)
Done (Would be even better to add all three Inverter ESP outlets, but as I can see we don't have those currently in this integration, do we? EDIT: I made a little correction of my above calculation. You can have a look here: |
Beta Was this translation helpful? Give feedback.
-
currently there is no sensors which represents the current energy usage in W (regardless of whether the energy is drawn from the grid, the PV system or the battery. ) for the Fox H3 Inverters
tried this one for "house usage", but there seems to be missing something: should be equal to sensor.foxess_load_power (FoxESS Cloud integration) but is not (close but not complete)
following can be combined with a template sensor:
Grid usage
Feed In
Load Power
would be great if we complete the sensors together
Beta Was this translation helpful? Give feedback.
All reactions