WattWise - Energy forecasting and battery control for dynamic energy tariffs like Tibber

Over the last days, i worked on WattWise.

WattWise is an AppDaemon application for Home Assistant that intelligently optimizes battery usage based on consumption forecasts, solar production forecasts, and dynamic energy prices. By leveraging historical data and real-time information, it schedules battery charging and discharging actions to minimize energy costs and maximize efficiency.

WattWise WattWise leverages linear programming via Pulp to optimize the charging and discharging schedule the home battery system.

Here’s a screenshot comparing the actual production/consumtion and the actuals.
I have tested it on my system over the last days and am quite happy so far.

I explained the functionality and how to set it up in the repository:
https://github.com/bullitt186/ha-wattwise/

Please note that this is totally work-in-progress without any warranties and i also cannot foresee whether i will be able to maintain this in the long run.
But maybe you want to give it a try in your system and report back your experience and suggestions to improve it further.

1 Like