In Part 1 we built the EMS-UART interface board and connected it to the Buderus Logamax Plus GB122i boiler. Now it’s time for the software side — flashing EMS-ESP firmware onto a NodeMCU ESP32, configuring the EMS bus connection, and integrating the boiler with Home Assistant via MQTT. We’ll finish with a full walkthrough of the 85 entities this boiler exposes.
Flashing EMS-ESP Firmware — Web Installer
I flashed the firmware using the Web Installer at emsesp.org — it runs directly in Chrome using the Web Serial API (Firefox is not supported). Connect the ESP32 via USB and you’re ready.
1
Open install.emsesp.org in Chrome or Edge — Firefox doesn’t support Web Serial
2
Connect the ESP32 via USB, click Install EMS-ESP and select the correct COM port
3
Wait ~1 minute for flashing to complete. The ESP32 will reboot and create a WiFi access point called ems-esp
4
Connect to the ems-esp WiFi network and open http://192.168.4.1 — you’ll see the first-run setup wizard
5
Configure your home WiFi network and set a panel password. After reboot the ESP32 joins your network — the dashboard will be available at http://ems-esp.local
COM port not showing? Make sure you have the CH340 or CP2102 USB-UART driver installed — which one depends on your NodeMCU board revision. Download from the chip manufacturer’s website.
Configuring EMS-ESP — Hardware Settings
Once logged into the EMS-ESP dashboard, go to Settings → Application and configure the Hardware Settings section:
1
Board Profile → select NodeMCU 32S — this preset maps the correct GPIO pins for this module
2
EMS Tx Mode → set to EMS+ — the GB122i uses the EMS plus protocol
3
EMS Bus ID → select Service Key (0x0B) — the interface identifier on the bus
4
Enable Read-only mode — this blocks all write commands to the EMS bus. A safe option while you’re testing
5
Click Save and wait for the ESP32 to restart
After restart, open the Devices tab — if the board is wired correctly you’ll see the boiler appear. In my setup EMS-ESP detected:
ACU-LOP13 / Logamax Plus GB122 / Condense 2300 / Junkers Cerapur GC2200W
Boiler not showing up? Check: EMS wires connected to the right terminals, Tx Mode set to EMS+ (not plain EMS), and +5V supply reaching the interface board.
Home Assistant Integration via MQTT
EMS-ESP integrates with Home Assistant automatically via MQTT Discovery. Once you configure a Mosquitto broker and enable Discovery in EMS-ESP, all boiler entities appear in HA with no YAML required.
Step 1 — Mosquitto in Home Assistant
A
In HA go to Settings → Add-ons → Add-on Store and install Mosquitto broker
B
Create an MQTT user: Settings → People → Users → add a user e.g.
emsesp with a passwordC
In HA: Settings → Devices & Services → Add Integration → MQTT → enter the broker IP (HA address), username and password
Step 2 — MQTT in EMS-ESP
A
In EMS-ESP go to Settings → MQTT
B
Enter broker IP (HA address), username and password
C
Enable MQTT Discovery
D
Click Save → the status should change to Connected
Within ~10 minutes the device EMS-ESP Boiler will appear in HA under Settings → Devices & Services → MQTT → Devices.
Entities disappearing after HA restart? Enable message persistence in Mosquitto. EMS-ESP publishes retained MQTT topics — they need to be stored by the broker across restarts.
What Can You Read and Control? — 85 GB122i Entities
EMS-ESP detected 85 entities on my GB122i. Here are the most useful ones, grouped by category. Entities marked * are writable — you can set them from Home Assistant automations.
Current Boiler State
Entity
Value
Description
current flow temperature
37.8 °C
current central heating flow temperature
system pressure
1.5 bar
central heating system pressure
heating pump modulation
0–100 %
CH pump modulation
burner current power
0–100 %
current burner modulation level
flame current
µA
flame ionisation current
gas / heating active / fan
on/off
gas valve, heating, fan status
Heating Settings (read & write)
Entity
Value
Description
heating temperature
53.0 °C
CH flow temperature setpoint *
heatingcurve base / end
20 / 90 °C
heating curve characteristic points *
summer temperature
16.0 °C
outdoor temp threshold to disable heating *
hysteresis on/off temperature
-6 / +6 °C
burner on/off hysteresis *
burner min/max power
14 / 100 %
burner modulation range *
Domestic Hot Water (DHW)
Entity
Value
Description
dhw current intern temperature
38.8 °C
current DHW temperature
dhw selected temperature
45.0 °C
DHW temperature setpoint *
dhw comfort mode
eco
DHW comfort mode (eco/hot) *
dhw one time charging
on/off
trigger a one-time DHW heat-up *
dhw disinfection temperature
70.0 °C
Legionella disinfection temperature *
Operational Counters and Statistics
Entity
Value
Description
gas meter heating
39,748 kWh
total gas consumed for central heating
dhw gas meter
12,414 kWh
total gas consumed for hot water
burner starts
17,037
total burner ignition count
total burner operating time
200 days 19 h
total burner runtime
total heat operating time
151 days 1 h
burner runtime for CH only
total UBA operating time
1,484 days 16 h
total boiler controller uptime (since installation)
*— writable entity (controllable from Home Assistant)
Keep read-only mode enabled while you verify that all entities are appearing correctly in HA. Only disable it when you’re ready to enable full boiler control from your automations.
What’s Next?
With the boiler in Home Assistant and 85 entities available, there’s plenty to build on — especially if you have a solar PV installation:
Lower the CH flow temperature setpoint when PV output is high and the battery is full
Trigger a DHW heat-up at peak solar production instead of exporting surplus to the grid
Push notifications when the boiler reports a fault or system pressure drops
Gas cost dashboard with real-time consumption tracking and cost calculations — covered in Part 3
Summary
EMS-ESP is a well-maintained project with solid documentation and an active community. MQTT Discovery means the boiler shows up in Home Assistant automatically — no configuration files to write. For the cost of a few euros in components and an evening of work, you get full visibility into your boiler’s operation and the ability to control it from your smart home automations.
Useful Links
emsesp.org — EMS-ESP project, documentation, web installer
Calduino — EMS-UART interface schematic — used in Part 1


