Basic energy manager for turning on or off your appliances in a prioritized way

Energy Manager Card + Integration

Hey there!

I would like to share my personal project with you! Until now, I had not found an easy way to control my devices based on my pv surplus. I wanted to have a simple list that can be managed on my phone, that prioritizes devices (like my pool pump and heater) to be turned on and off based on the amount of energy that is available from my roof.

So I created this little HA integration + Card!

The energy manager comes in two parts: an integration and a dashboard card.

The Integration

When setting up the integration, you can configure how your surplus is calculated. I, for example, have a single energy meter that may be positive (consumption) or negative (feed-in).

In the configuration, you define basic configuration for the manager itself (like the averaging window) as well as all the devices that should be controlled.

For each load, you can configure settings like rated power (for the automation to know how if enough power is available to turn on that device).

The Dashboard Card

This is the actual control center for the integration. Here you see the calculated pv surplus (as a budget), SoC of your home battery and all the added loads and their state. You can reprioritize the loads directly on the dashboard by tapping the sorting-button in the upper right and enable/disable the automations as well.

The integrations turns on and off the devices and also manages priorization by giving space to big loads by turning off (lower prioritized loads) that may be turned on based on the available energy budget.

How to get it

Add these two repos to hacs:

  • eltomato89/EnergyManagerIntegration
  • eltomato89/EnergyManagerCard

Install and restart Home Assistant, add the integration in “devices & services”.

Let be know your thoughts about this!

Full disclosure: AI played a big role in developing this. If you have any questions or bug reports, please let me know and create a github issue. Thanks! :slight_smile: