SmartEVSE firmware for the Flemish capacity tariff and a home battery.
This is a fork of dingo35/SmartEVSE-3.5, the community firmware for the open-source SmartEVSE v3 charge controller. It keeps everything of the original firmware and adds what is needed to charge an EV just under your monthly capacity peak, with the peak read from your digital meter, without emptying your home battery into the car.
⚠️ Unofficial firmware. Builds from this fork are not signed with dingo35's key. Most of the changes are offered upstream as pull requests; see Status upstream.
| Feature | In short | |
|---|---|---|
| 🖥️ | New web interface | Visual dashboard as start page (status, capacity bar, chart, big mode buttons); every setting under All settings; light and dark. |
| ⚡ | Mode Peak | Stable ceiling = monthly peak − margin. Never above the peak, not even for a few seconds. |
| 📈 | Monthly peak from the meter | The official peak (OBIS 1-0:1.6.0) is synced over MQTT / REST, or read from a HomeWizard P1 (no MQTT needed), and survives a reboot. |
| 🔌 | Measured voltage | Power is converted to current with the real mains voltage instead of 230 V. |
| 🎚️ | 0.1 A steps + margin | Max Sum Mains in 0.1 A steps; configurable margin in W. |
| 🔁 | Regulation per switched phase | A single-phase charger corrects an overshoot in one step instead of three. |
| 🔋 | Home battery in watts | Send the battery power in W (+ SoC); offset and conversion to amps are done by the charger. |
| 🛡️ | Peak Shaving SoC | Below this SoC the battery only does peak shaving: in Smart mode the car cannot use that part of the battery. |
| 🚀 | Correct start current | No more start at full current; the setpoint never exceeds the measured headroom. |
| 📡 | Configurable API timeout | A short Wi-Fi hiccup of your P1 reader no longer stops charging. |
Measured on a single-phase installation with a 15 kWh home battery: night charging now stays 92–110 W under the monthly peak with the home battery idle, where it used to stay 255–455 W under the peak while the battery delivered ~0.7 kWh into the car.
Open http://smartevse-<serial>.local/ (or the charger's IP address): the start page is a dashboard
that shows at a glance what the charger is doing and how much room is left under your monthly peak.
Everything else is under All settings. Light and dark, on a phone or a computer.
| Dark mode | On a phone |
|---|---|
![]() |
![]() |
All settings (the former main page, every setting and the remote LCD), in the same style:
| Light | Dark |
|---|---|
![]() |
![]() |
Capacity (All settings → Capacity): mode, margin under your monthly peak and CAP STOP:
Screenshots with sample data.
| You want to… | Start here |
|---|---|
| Understand every change in detail | Firmware changes |
| Set up charging under the Flemish capacity tariff | Guide: capacity tariff (Flanders) |
| Charge under the capacity tariff without a home battery | Guide: capacity tariff → CAP STOP |
| Combine the charger with a home battery | Guide: home battery |
| Connect Home Assistant, MQTT or REST | Guide: integration |
| Fix a problem | Troubleshooting |
| Install or roll back the firmware | Installing |
| See what changed per release (and what is not released yet) | Changelog |
- Download the latest
…-dist.zipfrom the Releases. - Unzip it and open
http://smartevse-<serial>.local/update(the serial is shown on the LCD). - Upload
firmware.bin(firmware.debug.binis the build with extra logging).
All existing settings are kept. New settings start disabled or at the old default, so the charger behaves exactly as before until you change them.
Rolling back: upload the official firmware of dingo35
the same way: firmware.bin or firmware.signed.bin both work, nothing special needed. Set CAP MODE
to a value 0–3 first, because the official firmware does not know mode 4 (Peak).
Changes are offered to dingo35 as small pull requests, one subject each:
| Subject | Pull request | Status |
|---|---|---|
| Regulation per switched phase | #433 | ✅ merged |
Monthly peak sync (Set/CapacityPeakSync) |
#425 | in review |
| Max Sum Mains in 0.1 A steps | #432 | open |
| Smart mode start current (bug fix) | #429 | open |
| Measured mains voltage | #437 | open |
| Mode Peak + margin | #430 | draft, after #425/#432 |
| Home battery in watts | #434 | open |
| #439 | withdrawn (removed from this fork) | |
| Flanders: budget over ≥ 2 min | #436 | draft |
Names of MQTT topics can still change during review (e.g. Set/CapacityPeak in this firmware is
Set/CapacityPeakSync in #425).
| Area | Document |
|---|---|
| All changes of this fork, MQTT/REST reference | CLARIJS-FIRMWARE.md |
| LCD menu and settings (original + additions) | configuration.md |
| REST API | REST_API.md |
| Hardware installation | installation.md |
| Operation | operation.md |
| OCPP | ocpp.md |
| Building and flashing | building_flashing.md |
The SmartEVSE is an open-source EVSE (Electric Vehicle Supply Equipment): 1- and 3-phase charging, fixed cable or socket, locking actuator, contactor control, RFID, Modbus kWh meters, Sensorbox, HomeWizard P1, MQTT with Home Assistant discovery, REST API and OCPP 1.6j. Up to eight units can share one mains connection. Hardware and the original firmware: SmartEVSE and dingo35/SmartEVSE-3.5; all credit for the base firmware goes to their maintainers and contributors.
Same license as the original firmware: see LICENSE.






