https://github.com/molikk/mlk-power-flow-card
Power Flow Card by Molikk. A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.
https://github.com/molikk/mlk-power-flow-card
custom-cards deye easun home-assistant homeassistant powerflow solar sunsynk
Last synced: about 2 months ago
JSON representation
Power Flow Card by Molikk. A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.
- Host: GitHub
- URL: https://github.com/molikk/mlk-power-flow-card
- Owner: molikk
- License: mit
- Created: 2024-06-18T21:12:26.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-04-08T19:49:15.000Z (about 2 months ago)
- Last Synced: 2025-04-08T20:34:53.546Z (about 2 months ago)
- Topics: custom-cards, deye, easun, home-assistant, homeassistant, powerflow, solar, sunsynk
- Language: TypeScript
- Homepage:
- Size: 7.99 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/funding.yaml
- License: LICENSE
Awesome Lists containing this project
README
# Power FlowCard by Molikk
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.
This project was based and heavily influenced by [sunsynk-power-flow-card](https://github.com/slipx06/sunsynk-power-flow-card)See the project's [documentation](https://molikk.github.io/mlk-power-flow-card/index.html) for integration methods and examples.
[](https://my.home-assistant.io/redirect/hacs_repository/?owner=molikk&repository=mlk-power-flow-card&category=plugin)

## Features
* Animated power flow based on positive/negative/zero sensor values with configurable dynamic speed.
* Grid connected status.
* Dynamic battery image based on SOC with battery banks detailed info
* 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 (up to 5 MPPTs). Set custom MPPT labels.
* Custom card scaling by turning on Wide View Mode or setting Card height and width.
* 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 grid/non-essential (up to 6 items), essential (up to 23 items) and AUX loads (up to 5 items).
* 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, Easun.
* "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.## Screenshots
### non solar view

### non battery view

### offgrid view (no grid view)

### Fully detailed view with grid/non-essential, aux & essential Loads and battery bank details and with detailed solar production up to 5 MPPTs with solar production & prediction

### Wide view mode
## Installation
The card can be installed via HACS (recommended) or manually.
### Installation using HACS
[](https://github.com/custom-components/hacs)1. Install HACS.
2. Search & Install mlk-power-flow-card or click the button below.[](https://my.home-assistant.io/redirect/hacs_repository/?owner=molikk&repository=mlk-power-flow-card&category=plugin)
### Manual Installation
1. Create a new directory under `www` and name it `mlk-power-flow-card` e.g `www/mlk-power-flow-card/`.
2. Copy the `mlk-power-flow-card.js` into the directory.
3. Add the resource to your Dashboard. You can append the filename with a `?ver=x` and increment x each time you download a new version to force a reload and avoid using a cached version. It is also a good idea to clear your browser cache.
### Credits
This project was based and heavily influenced by [sunsynk-power-flow-card](https://github.com/slipx06/sunsynk-power-flow-card). Thanks for such a great starting point!