hems: failed configuring hems: breaking change
Describe the bug
After upgrade to 306.2 it comes this fail :
trying to remove :
Steps to reproduce
1.Upgrade to 306.2 2.After Downgrading to 306.1+1777864402 and removing old SMA from Externe begrenzung 3.Upgrade to 306.2 ...Now it works
Configuration details
---
db:6 {Type:template Title: Icon: Product:go-e Charger Gemini, HOME+, HOMEfix (V3)} map[host:192.168.179.16 template:go-e-v3]
meter
---
db:2 {Type:template Title: Icon: Product:SMA Sunny Home Manager 2.0} map[host:192.168.179.10 template:sma-home-manager usage:grid]
db:4 {Type:template Title:Schupfe Icon: Product:SMA Wechselrichter (Modbus)} map[baudrate:9600 comset:8N1 host:192.168.179.12 id:3 modbus:tcpip port:502 template:sma-inverter-modbus usage:pv]
db:19 {Type:template Title:SE 8.0 Icon: Product:SMA Smart Energy Hybrid-Wechselrichter} map[baudrate:9600 comset:8N1 host:192.168.179.17 id:3 maxacpower:8000 maxchargepower:4200 modbus:tcpip port:502 template:sma-hybrid usage:pv watchdog:60s]
db:20 {Type:template Title:Batterie Icon: Product:SMA Smart Energy Hybrid-Wechselrichter} map[baudrate:9600 capacity:6.85 comset:8N1 host:192.168.179.17 id:3 maxacpower:0 maxchargepower:7680 maxdischargepower:7680 maxsoc:90 modbus:tcpip port:502 template:sma-hybrid usage:battery watchdog:6e+10]
db:26 {Type:template Title:Heizung Icon:waterheater Product:Shelly 3 EM-63T/W Gen3} map[host:192.168.179.101 template:shelly-pro-3em usage:charge]
db:27 {Type:template Title:Spüli Icon:dishwasher Product:Shelly Plug S} map[channel: host:192.168.179.130 template:shelly-1pm usage:charge]
db:28 {Type:template Title:Wama Icon:laundry Product:Shelly Plug S} map[host:192.168.179.131 template:shelly-1pm usage:charge]
db:29 {Type:template Title:Trockner Icon:heatpump Product:Shelly Plug S} map[host:192.168.179.132 template:shelly-1pm usage:charge]
db:30 {Type:template Title:Heizung Bad Icon:heatexchange Product:Shelly 1PM} map[host:192.168.179.133 template:shelly-1pm usage:charge]
db:31 {Type:template Title:Pumpe Zisterne Icon:pump Product:Shelly 1PM} map[host:192.168.179.134 template:shelly-1pm usage:charge]
db:33 {Type:template Title:Stromzähler Icon:generic Product:Tasmota SML IR-Lesekopf für smarte Stromzähler bspw Hichi} map[host:192.168.179.30 template:tasmota-sml usage:grid]
db:34 {Type:template Title:Stromzähler Icon:generic Product:Tasmota SML IR-Lesekopf für smarte Stromzähler bspw Hichi} map[host:192.168.179.30 template:tasmota-sml usage:grid]
vehicle
---
db:1 {Type:template Title: Icon: Product:Volkswagen We Connect ID} map[cache:2e+10 capacity:62 icon:car maxCurrent:16 minCurrent:6 mode:pv password:***** phases: template:vw timeout:1e+10 title:ID3 user:***** vin:*****]
tariff
---
db:15 {Type:template Title: Icon: Product:Fester Preis} map[price:0.11359999999999999 template:fixed]
db:21 {Type:template Title: Icon: Product:Octopus Energy Deutschland} map[accountNumber:A-CA742409 email:[email protected] password:***** template:octopus-de]
db:24 {Type:template Title:PVNode Dach Icon: Product:pvnode} map[apikey:***** az:148 dec:37 forecast_days:7 interval:5h kwp:8 lat:***** lon:***** template:pvnode]
db:25 {Type:template Title:PVNode Schupfe Icon: Product:pvnode} map[apikey:***** az:148 dec:4 forecast_days:7 interval:5h kwp:2.5 lat:***** lon:***** template:pvnode]
loadpoint
---
db:7 {Type: Title: Icon: Product:} map[charger:db:6 circuit:main defaultMode:pv limitSoc:0 maxCurrent:16 meter: mode:pv phasesConfigured:0 planEnergy:0 planPrecondition:0 planStrategy:map[continuous:false precondition:0] planTime:0001-01-01T00:00:00Z priority:10 smartCostLimit:<nil> soc:map[estimate:false poll:map[interval:3.6e+12 mode:charging]] thresholds:map[disable:map[delay:1.8e+11 threshold:0] enable:map[delay:6e+10 threshold:0]] title:Garage vehicle:db:1]
messenger
---
db:12 {Type:template Title: Icon: Product:Telegram} map[chats:***** template:telegram token:*****]
Log details
[main ] FATAL 2026/05/05 19:52:08 hems failed configuring hems: breaking change: Sunny Home Manager integration is always on. See https://github.com/evcc-io/evcc/releases and https://docs.evcc.io/en/docs/integrations/sma-sunny-home-manager
[main ] FATAL 2026/05/05 19:52:08 will attempt restart in: 15m0s
What type of operating system or environment does evcc run on?
Linux
External automation
- [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.
Nightly build
- [x] I have verified that the issue is reproducible with the latest nightly build
Version
evcc version 0.306.2
I made an edit.
After downgrading and removing the old #sma ..... in externe Begrenzung and upgrading once again, it works.
simple workaround: if your content of section "external control" is just full of nonfunctional comments: add a minimalastic valide yaml set in the first row to the section for example : none: none
i think can it possible crashes in future releases but it saves you from downgrading.
fixed in https://github.com/evcc-io/evcc/pull/29673
…and SMA has been deprecated for a very long time.