HeidelBridge

HeidelBridge is a firmware for ESP32 microcontrollers. It allows you to bring your Heidelberg wallbox into your WiFi network. This is done by turning your wallbox into a Daheimladen compatible device. This way the wallbox can easily be integrated into home energy management systems like evcc.


Required Hardware
You only need two components for this project: an ESP32 microcontroller and a MAX485 module. Both are available in large quantities and at reasonable prices on the Internet. You will also need a breadboard and a few jumper wires. All in all, it shouldn’t cost you more than 10€.
Parts list:
- ESP32 microcontroller board*
- MAX485 breakout board
- 6 jumper wires
- A breadboard
This should be enough for quickly putting together a fully functioning prototype.
Of course a well designed PCB would be much nicer, but this is still work in progress. Once the design is ready, the schematics will be available right here.
* This project supports the classic ESP32 and the LILYGO T-CAN485 board (with on-board RS485 transceiver). The hardware type is selected in the web interface during initial setup. It has not been built/tested for newer ESP32 models like the S2 and C6.
Getting Started
To get your very own HeidelBridge up and running follow these guides:
Keeping Your HeidelBridge Up-To-Date
Heidelbridge supports OTA (Over The Air) updates. That means that you can update the device firmware via WiFi without physical access to the device. This process is described here: updating your HeidelBridge.
Using HeidelBridge With evcc
Adding your HeidelBridge to evcc is very straight forward.
See these instructions for details.
evcc only accepts HeidelBridge with an evcc sponsor token. Without one, evcc refuses to start with sponsorship required.
Using HeidelBridge With Home Assistant
HeidelBridge can easily be integrated into Home Assistant. Check out this guide to get started.
GUI Example:

Available APIs
The HeidelBridge offers a MQTT API and a REST API. You can find more details about both APIs in the HeidelBridge API Reference.
Web Endpoints
The following web endpoints are currently served by HeidelBridge:
| URL |
Function |
| {ip} |
Configuration web interface |
| {ip}/update |
OTA update web interface |
Troubleshooting
Things aren’t working as expected? Maybe the troubleshooting section can help.
Contribution
:heart: Help is welcome! Do you own a Heidelberg Energy Control wallbox? Are you a Modbus expert? Do you have ideas for improvements? Did you find a bug? Feel free to review the code, create pull requests, open issues or contact me directly.
Used Assets and Libraries
The following assets and libraries are used by this project:
评论