Home Assistant integration for the Solar Manager smart energy management system (solarmanager.ch). Install via HACS.
- ~40–80 sensors depending on your installation
- Real-time data updated every 10 seconds
- Daily energy statistics updated every 5 minutes
- PV production forecast for today and tomorrow
- Live energy tariff display (static and dynamic)
- Per-device sensors (inverter, battery, heat pump, EV charger, V2X, smart plugs, water heater)
- Control entities: set operating modes for battery, inverter, heat pump, EV charger, water heater
- Smart plug and switch control
- Full Energy Dashboard integration
- German and English translations
- No external Python dependencies
- Open HACS in your Home Assistant instance.
- Go to Integrations → click the three-dot menu → Custom repositories.
- Add
https://github.com/dgirod/Solarmanageras category Integration. - Click Download on the Solar Manager card.
- Restart Home Assistant.
- Go to Settings → Devices & Services → Add Integration and search for Solar Manager.
You will need:
| Field | Description |
|---|---|
| Name | A friendly name for this integration |
| Your solarmanager.ch login e-mail | |
| Password | Your solarmanager.ch password |
| Smart Manager ID (SMID) | Found in solarmanager.ch → Settings (format: SM-XXXXXX) |
| Sensor | Description | Unit |
|---|---|---|
| PV Generation | Current solar production | W |
| Power Consumption | Current total consumption | W |
| Battery Power | Charge (+) / Discharge (−) | W |
| Grid Power | Import (+) / Export (−) | W |
| Grid Import Power | Grid consumption only | W |
| Grid Export Power | Grid feed-in only | W |
| Self Consumption Power | Solar used directly | W |
| Battery State of Charge | Battery level | % |
| Sensor | Description | Unit |
|---|---|---|
| Daily PV Production | Total solar produced today | Wh |
| Daily Consumption | Total energy consumed today | Wh |
| Daily Self Consumption | Solar used directly today | Wh |
| Daily Grid Feed-In | Exported to grid today | Wh |
| Daily Grid Purchase | Imported from grid today | Wh |
| Daily Battery Charged | Battery charged today | Wh |
| Daily Battery Discharged | Battery discharged today | Wh |
| Self Consumption Rate | % of solar used directly | % |
| Autarchy Degree | % of consumption from solar | % |
| Sensor | Description | Unit |
|---|---|---|
| PV Forecast Today | Expected production today | Wh |
| PV Forecast Tomorrow | Expected production tomorrow | Wh |
| Sensor | Description | Unit |
|---|---|---|
| Energy Tariff Buy | Current purchase price | CHF/kWh |
| Energy Tariff Sell | Current feed-in tariff | CHF/kWh |
Sensors are automatically created for each device registered in your Solar Manager gateway:
- Inverter: power, voltage, frequency
- Battery: power, voltage, current, temperature, SoC
- Heat pump: power, temperature
- EV charger: power, session energy, status
- V2X charger: power, vehicle SoC
- Smart plug: power, energy, switch state
- Water heater: temperature, power
- Consumption meter: power, energy
| Entity | Options |
|---|---|
| Battery Mode | auto, charge, discharge, idle |
| Inverter Mode | auto, off, manual |
| Heat Pump Mode | auto, on, off, boost |
| EV Charger Mode | auto, fast, solar_only, off |
| V2X Mode | auto, charge, discharge, idle |
| Water Heater Mode | auto, on, off, boost |
Smart plugs and switch devices appear as HA switch entities and can be toggled on/off.
After installation, go to Settings → Dashboards → Energy and map the sensors:
| Dashboard slot | Sensor |
|---|---|
| Solar production | sensor.solar_manager_daily_pv_production |
| Grid consumption | sensor.solar_manager_daily_grid_purchase |
| Grid return | sensor.solar_manager_daily_grid_feed_in |
| Battery charge | sensor.solar_manager_daily_battery_charged |
| Battery discharge | sensor.solar_manager_daily_battery_discharged |
| Home consumption | sensor.solar_manager_daily_consumption |
"Cannot connect" error during setup
- Verify your internet connection.
- Check that the solarmanager.ch cloud is reachable.
"Invalid auth" error
- Double-check your e-mail address, password, and SMID.
- The SMID typically looks like
SM-123456— find it in the solarmanager.ch web UI under Settings.
Missing device sensors
- Device-specific sensors only appear if devices are registered and active in your Solar Manager gateway.
- Check the HA logs (
Settings → System → Logs) for details.
MIT — see LICENSE for details.
Inspired by goir/ha-solarmanager-ch. API: solar-manager.ch.