talira

Energy Management for Home Assistant: optimize your home energy usage automatically

open sourceMITself-hostablefree

EMHASS (Energy Management for Home Assistant) is an optimization tool for households that plans when to run deferrable loads, charge and discharge a home battery and buy or sell power, using linear programming over forecasts of solar production, household consumption and electricity prices. It reads sensor data from Home Assistant and publishes the optimized schedules back as sensors that automations act on (water heaters, pool pumps, EV chargers, heat pumps). Forecasts can come from weather services or its scikit-learn machine learning forecaster, and thermal models treat water heaters and heat pumps as thermal storage. It runs as a Home Assistant app, a Docker container or a Python package, with a web UI and a token-protected REST API. MIT licensed.

Problems it solves

  • run my dishwasher and water heater when solar production is highest
  • decide when to charge and discharge my home battery to cut my electricity bill
  • schedule my EV charging for the cheapest hours of a dynamic tariff
  • use solar forecasts to plan my household's energy use for tomorrow
  • make my heat pump preheat the house when power is cheap
  • maximize self-consumption of my solar panels with Home Assistant
  • predict my household's power consumption from past data

Features

  • linear programming optimization of deferrable loads, batteries and grid exchange
  • day-ahead and model predictive control (MPC) optimizations
  • solar production forecasts and load forecasts
  • machine learning load forecaster and regressor (scikit-learn)
  • thermal models for water heaters and heat pumps
  • publishes optimized schedules to Home Assistant sensors
  • web UI and REST API with token authentication
  • Home Assistant app, Docker image or Python package

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what EMHASS does.

  1. evcc Extensible EV charge controller and home energy management system
  2. OpenEMS The open source energy management system
  3. Predbat Home battery prediction and automatic charging for Home Assistant

Compare EMHASS with the top 3