# EMHASS

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

Source: https://talira.ai/catalog/emhass-srzkb3sn
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app, Library, API
- Categories: [home / energy / management](https://talira.ai/categories/home/energy/management)
- Platforms: linux, docker[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- API: yes[^2]
- Backed by: [davidusb-geek](https://talira.ai/orgs/davidusb-geek.md)

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](https://talira.ai/catalog/home-assistant-qsc7fbmt.md) 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.

## Links

- Website: https://emhass.readthedocs.io/
- GitHub: https://github.com/davidusb-geek/emhass
- Docs: https://emhass.readthedocs.io/

## 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 API: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by davidusb-geek

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Home Assistant](https://talira.ai/catalog/home-assistant-qsc7fbmt.md)

## Alternatives

- [evcc](https://talira.ai/catalog/evcc-hk772r7a.md): Extensible EV charge controller and home energy management system
- [OpenEMS](https://talira.ai/catalog/openems-82ycysjf.md): The open source energy management system
- [Predbat](https://talira.ai/catalog/predbat-aa1165q5.md): Home battery prediction and automatic charging for Home Assistant

## Sources

[^1]: https://github.com/davidusb-geek/emhass/blob/master/LICENSE (checked 23 Nov 2026)
[^2]: https://emhass.readthedocs.io/en/latest/installation_methods.html (checked 23 Nov 2026)
