Energy Sankey is a HACS frontend component, creating a visual sankey diagram showing the flow of electrical power & energy.
Live updating
supports flow in/out of grid
supports generation
supports batteries (including multiple batteries)
width of lines indicates amount of electricity
Separate cards for instantaneous power and daily total energy
dynamic scaling
graphical editor
multiple languages supported
automatic configuration based on HA energy dashboard settings
works even if you have partial monitoring installed
Other sankey cards are available, but the aim here is an easy to understand consistent visual look, specifically for electrical energy, with the layout and colors mirroring the built-in HA energy distribution card. No fuss and no complicated setup or yaml.
Most users should be able to add both cards to immediately get a view of their energy/power flow.
Thanks for help from community members whoâve beta tested this! Enjoy!
I used the frontend variables for the sources (grid, generation, discharging batteries). The flow out to consumers (grid, charging batteries, appliances) is a blended colour depending on where the energy came from.
It falls back to hardcoded colours if it canât find the official ones for any reason.
I assume you mean the question mark â?â at the topâŚ
This is showing that your consumption power ~1500W is well in excess of the power coming from the grid 251W. So either one of your sensors is giving a wrong reading, or you have another source of power in your system e.g. generation.
Your data is showing more consumption than input power.
The graph canât resolve this so it creates the âphantomâ generation source. That either means you have some sensors with incorrect values, or you have some extra power going into your system.
Do you have power monitoring on individual breakers? If so, there is a known double counting issue which will be fixed in 0.0,19+, see issue 70.
Hmm⌠no, itâs possible i have some incorrect values⌠iâll doble check it.
About untracked value i cannot delete it as i donât have an entity_id linked to it.
Maybe a wrong entity_id inside the .storage folder?
Trying to use this card with tibber doesnât seem to work properly.
Having the grid consumption entity set as the recommended âtibber:energy_consumption_f5926e11f75b4713a173f62f8f043d5fâ
doesnât work because the entity doesnât have a unique identifier.
After a while I can select it and had to manually enter the power sensors, but I think this is expected, since only energy is configured on the energy dashboard:
Hi @rekenaar, at that stage, the power card is trying to auto configure based on the energy config. But generating this config is not trivial, as the energy config stores no power sensors.
Effectively it has to work out which power sensors are likely to be associated with the energy sensors in the config. It then uses this as the start point for the settings you can change in the GUI.
If nothing is displaying, the auto configuration might be failing.
Please could you provide the browser console output (F12) when you try to add the card again? This wonât affect your existing cards. I recommend going to a new blank dashboard, enter edit mode, clear the log, ctrl-F5 the page then try to add the power card. Please paste the log here.