You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have noticed that the autark / score values are very often not correct and I sometimes have up to 80% deviation from the real value.
Here is an example for the autark:
In the documentation it says that the autarky is Calculated by :
Home Production / Home Consumption.
My home production in this case is 1009W and the home consumption is 1936 watts and 1009/1936 = 0.521178(rounded) but even if I round to the nearest 10 I will never get 0.35(35%).
It is the same with the ratio.
If I only get power from solar and the battery is neither running nor discharging, the deviations are still okay (usually they are "only" 5-15%) but as soon as the battery is added, it is sometimes up to 80%.
Does anyone have any idea what is going wrong here?
justinh998
changed the title
autarky and ratio score very often wrong (deviations of 5-80%)
autarky and ratio score wrong (deviations of 5-80%)
Jan 17, 2025
Hi I cant see why that is not working and you can see the logic in the code below which the card uses.
In your case production is only the totalPV value (calculated by the card logic) as battery power is 0 and you don't use AUX
My suggestion is that you create some template sensors and substitute for battery, pv_total and essential to test and try eliminate the issue.
The sensors you need to create are:
essential_power: test.sensor1
battery_power_190: test.sensor2
pv_total: test,sensor3 <-----you can set your own sensor for the total pv which overides the card logic for adding pv1 and pv2
Here is a dev version with logging enabled . Add a new dashboard resource and unzip and copy the js file into your www folder. You can then add a new card of type: custom:sunsynk-power-flow-card-dev
Is there an existing issue for this?
Current Behavior
Hello, I have noticed that the autark / score values are very often not correct and I sometimes have up to 80% deviation from the real value.
Here is an example for the autark:
In the documentation it says that the autarky is Calculated by :
Home Production / Home Consumption.
My home production in this case is 1009W and the home consumption is 1936 watts and 1009/1936 = 0.521178(rounded) but even if I round to the nearest 10 I will never get 0.35(35%).
It is the same with the ratio.
If I only get power from solar and the battery is neither running nor discharging, the deviations are still okay (usually they are "only" 5-15%) but as soon as the battery is added, it is sometimes up to 80%.
Does anyone have any idea what is going wrong here?
Steps To Reproduce
No response
Expected behaviour
Both percentages are calculated correctly.
Card Version
6.4.3
Home Assistant Version
2025.1.2
Configuration
Relevant log output
The text was updated successfully, but these errors were encountered: