Every evening the EMS calculates a detailed plan for the next day based on the weather forecast, expected solar production and your energy prices. During the day it follows this plan in real-time, adjusting automatically when clouds roll in or your energy use changes.
Key features:
- Works with your existing Homey apps — no custom drivers needed
- Multi-inverter support with per-phase surplus tracking (L1/L2/L3)
- EV charging via Zaptec, Easee, Tesla and other supported chargers
- EV departure planning with target SoC and solar-priority logic
- Heat pump and air conditioning control with seasonal heating/cooling switching
- PV curtailment for Growatt inverters (zero-export / export limit)
- Dynamic tariff support: Tibber, PBTH/Enever and other price providers
- Live dashboard widgets for EV status and PV fleet overview
Data sources
• HomeWizard P1 → grid per phase (L1/L2/L3)
• HomeWizard kWh meters → PV per phase
• Open-Meteo → weather & cloud cover
• PBTH/Tibber → dynamic tariffs (optional)
Daily planning
• Recalculated at 04:00, 12:00, 19:00, 22:00
• Hourly schedule: PV, consumption, battery, EV, thermostat
• Consumption history (ConsumptionLearner)
• Surplus/deficit forecast per hour
Battery
• Minimum & target SoC
• Charges on surplus, discharges on deficit/peak hour
• Freezes when a trip is urgent
• Marstek per phase
EV charging
• Modes: solar_only / solar_and_grid / fixed / fast_charge / off
• Tesla Wall Connector via local REST API
• Trip deadline → auto-upgrades to fast_charge
• Night charging from the battery
• Day-specific presence planning
• Peak-hour blocking
Heat pump
• Setpoint offset based on surplus/deficit
• Automatic heating vs. cooling direction
• Seasonal switch based on temperature forecast
• Respects manually disabled thermostats
Priority management
• Priority 1: battery minimum + EV deadline
• Priority 2: battery target + EV default + thermostat
• Priority 3: dump load (boiler, etc.)
• Peak hour: battery discharges at max, EV blocked
Homey integration
• Widgets: EMS Today + EMS Tomorrow
• Flow triggers & actions
• Virtual device with PV/grid/battery/EV capabilities
• Setup wizard via pairing session
Link to the latest test version:

