Installation
Power Insight is a Home Assistant custom
integration. It ships as the power_insight custom component and is distributed
through HACS.
Install with HACS (recommended)
If you do not have HACS installed yet, follow the HACS installation guide first.
Because Power Insight is not (yet) part of the default HACS store, add it as a custom repository:
- Open HACS in Home Assistant.
- Click the ⋮ (three dots) menu in the top-right corner and choose Custom repositories.
- Enter the repository URL
https://github.com/Hoffmann77/ha-power-insightand select the Integration category, then click Add. - Search for Power Insight in HACS and download it.
- Restart Home Assistant.
Or use the My Home Assistant link to jump straight to the repository in HACS:
Manual installation
- Download the latest release (or the ZIP of the repository) from GitHub.
- Copy the
custom_components/power_insight/folder into thecustom_components/directory of your Home Assistant configuration — typically/config/custom_components/power_insight/. - Restart Home Assistant.
Add the integration
After restarting:
- Go to Settings → Devices & services.
- Click Add integration and search for Power Insight.
- Select it to start the setup flow.
Continue with Getting started to configure your energy mix.
Requirements
- Home Assistant with the Recorder enabled (default) — accumulated total sensors store their running total in the recorder and restore it across restarts.
- An instantaneous power sensor (W, kW or MW) for your grid connection and for each PV system, battery, and consumer you want to track.
- For cost and savings sensors: a grid electricity price entity (a
sensororinput_number) reporting the current import price per kWh.