evcc 0.320.0 came out on 28 November 2026, and it is one of those releases where you should read the changelog before pressing the update button. The open-source program that charges electric cars from surplus solar power lists eight breaking changes this time. Two of them can affect almost any installation: evcc now talks to MQTT brokers only over MQTT 5, and the home battery mode called "hold" is now "holddischarge".

No fallback to MQTT 3.1.1

The developers swapped the MQTT library. evcc used to run on paho.mqtt.golang with MQTT 3.1.1 and now uses paho.golang, which speaks MQTT 5 only. The change covers the MQTT plugin, evcc's own MQTT interface, the Niko device list and BMW CarData streaming. According to the pull request, there is no way back to 3.1.1, so every broker evcc connects to has to support MQTT 5. For Mosquitto that means version 1.6 from 2019 or newer, so most current setups will not notice anything. A wrong broker address or password still stops evcc at startup with an error, as before.

The developers tested against Mosquitto 2.1.4 and list what they did not check: the Niko Home Control hub, whose Hobby API documentation names no MQTT version, the Zendure cloud broker, BMW streaming with a real account and brokers reached over ws:// or wss://. If you use any of those, keep the previous version at hand. Reconnects now happen every 10 seconds instead of starting at 1 second and backing off.

"hold" is gone

The battery mode that stops a home battery from discharging is now called "holddischarge", a pair for the existing "holdcharge". The numeric value 2 stays the same, so device templates and batterymode plugins keep working. What breaks is anything that reads or sets the mode from outside. The batteryMode status over HTTP, websocket and MQTT now reports "holddischarge", while POST /api/batterymode/hold, the MQTT setter and evcc meter --battery-mode hold no longer accept the old word. A custom meter that still lists "hold" under batterymodes is rejected at startup. Automations in Home Assistant, Node-RED or your own scripts that switch the battery to "hold" need a one-word fix.

The remaining breaking changes affect single devices: Sonnen now requires minsoc to be 0 or at least 5, Sungrow iHM moves curtailment to a separate device, the energyforecast.de tariff switches to API v2 with profile costs and VAT, and the Anker SOLIX X1 and SAJ H2 get new options.

New hardware

On the device side, a Tuya smart plug can now work as both a meter and a switched socket. Edimax and Niko plugs, the Shelly Plug M, the whatwatt Go and Matismart MPM4000 meters, Powerfox Poweropti with a local API, the KACO NH3 and Solax X3 Hybrid G2 inverters and a template for the three-phase SONOFF PRO-3PCT120 meter join the list. Hyundai and Kia cars can start and stop charging through Bluelink, and Vauxhall is added. The energy page no longer depends on experimental features, and the elpriser.org tariff covers 40 price zones in the EU.