This is a fork of the the official Home Assistant frontend.
It adds (wip) additional information to the energy dashboard sources card (hui-energy-sources-table-card.ts
source).
Additional info highlighted:
Type | Based on | Calculation |
---|---|---|
Solar* | import price |
(kWh consumed) * (import price) consumed by the house not produced by the panels (battery charged does not count as consumed) |
Battery discharged | import price |
(kWh discharged) * (import price) |
Battery charged | export price |
(kWh charged) * (export price) |
From grid | - | Nothing is saved when buying from the grid |
To grid | export price |
cost * -1 or (kWh sold to grid) * (export price) * -1 |
Total amortization | export and import |
Sum of the rows above |
export
:Profit per kWh when sold to the gridimport
:Price per kWh when bought from grid
* Not sure yet if it's possible to calculate which solar source was consumed by what amount. If not, the total amortization will just be split proportionally according to the produced energy amounts.
- Initial setup:
script/setup
- Development: Instructions
- Production build:
script/build_frontend
- Gallery:
cd gallery && script/develop_gallery
- Supervisor: Instructions
A complete guide can be found at the following link. It describes a short guide for the build of project.
Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.
We use BrowserStack to test Home Assistant on a large variety of devices.