Overview of EMHASS
masterEMHASS (Energy Management for Home Assistant) is a Python-based module designed to optimize household energy usage by interfacing with Home Assistant. It uses Linear Programming to schedule energy loads (like batteries or appliances) to minimize costs or maximize solar self-consumption.
Core Capabilities:
- Cost Optimization: Uses Linear Programming to schedule loads during low-cost tariff periods or high PV production.
- Solar Forecasting: Integrates PV forecasts to optimize battery charging and appliance usage.
- Machine Learning Forecasting: Uses
scikit-learn(viaskforecast) to predict household consumption behavior. - Thermal Modeling: Manages thermal inertia for water heaters and heat pumps, treating them as thermal energy storage.
- Home Assistant Integration: Automatically retrieves sensor data from Home Assistant and publishes optimized schedules back to it.
Technical Foundation:
- Optimization Engine: Powered by
CVXPYusing a vectorized backend for high performance. - Solver: Uses
HiGHSas the default high-performance linear solver. - Deployment: Available as a Home Assistant Add-on or a standalone Docker container.