An animated Home Assistant card to emulate the power flow that’s shown on the Sunsynk Inverter screen. You can use this to display data from many inverters e.g. Sunsynk, Deye, Solis, Lux, FoxESS, Goodwe, Huawei etc as long as you have the required sensor data.
Option to switch between three card styles: compact , lite or full.
Animated power flow based on positive/negative/zero sensor values with configurable dynamic speed. (Supports inverted battery, AUX and grid power).
Dynamic battery image based on SOC (empty->low->medium->high).
Grid connected status.
Configurable battery size and shutdown SOC to calculate and display remaining battery runtime based on current battery usage and system time slot setting i.e. SOC, Grid Charge. Can be toggled off.
Daily Totals that can be toggled on or off.
Hide all solar data if not installed or specify number of mppts in use. Set custom MPPT labels.
“Use Timer” setting and “Energy Pattern” setting (Priority Load or Priority Battery) shown as dynamic icons, with the ability to hide if not required. If setup as switches can be toggled by clicking on the card.
Panel mode for bigger card.
AUX and Non-essential can be hidden from the full card or assigned configurable labels.
Customisable - Change colours and images.
Most entities can be clicked to show more-info dialog.
Optional data points include self sufficiency and ratio percentages, battery temperature, AC and DC temperature.
Display additional non-essential, essential and AUX loads.
Display energy cost per kWh and solar sell status.
Select your inverter model for custom inverter status and battery status messages i.e. Sunsynk, Lux, Goodwe, Solis.
Hope you find it useful and feel free to make it better.
If you are looking for some Dashboard ideas to use this card or monitor energy usage see here
The path is wrong. If you don’t have hacs installed you can create a directory like so /config/www/sunsynk-card and then the path will be /local/sunsynk-card/sunsynkcard.js
Card style (lie, simple, full) can be selected from the card config
Added daily usage to all card styles (Can be hidden)
Added an attribute to specify your total battery energy. This is used to display remaining battery runtime based on current battery discharge. You can set this to hidden to remove from the card.
Better error handling when sensors or attributes are missing
The complete list of card attributes and description is in the new branch. For those of you that still want to custom the look and feel or add your own SVG elements use the old branch
Hi. Looks like you are still using the old card. The new card has been renamed and there are many updates. You need to download and follow the instructions in the repo
I have got it up and running however since I am running a deye and not a sunsynk it seems some of the entities are missing which is not a huge issue. I have most of what I want but if you can tell me which attrribute is marked off in the image below I would be most grateful:
Brilliant Thanks
Going to take a good look at this again later and might ask one or two more attributes!!!
The only two I am really missing is the Battery Daily Charge and Discharge but they dont seem to exist in my setup!!!