mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
dab66ce9181888852817abe78e062e3923c75503
° stabilize emsuart_rx... We can get more than 32 bytes because of the trailing BRK. So the buffersize for Rx interrupt is (for safety) increased to 36 bytes. If length exceeds 36 bytes we dump them to /dev/null ° reintroduced the phantomBreak flag again We _must_ signal to Rx that we have a double break, otherwise we get problems in emsuart_recvTask... ° add ems_dumpBuffer which shows TxBuffer before send and RxBuffer after receive and applying phantomBreak. The dump is activated in "log j" mode and used to debug the protocol problems. ° change handling of ID bit 7 on system start we listen for telegram until we receive a valid one, larger than 5 byte. Depending on the bit7 of the source address we decide if we have a Buderus EMS or a Junkers EMS bus. This decision is used to set the variables emsIDMask (0x00 for Buderus, 0x80 for Junkers) and the emsPollAck buffer, used to send the propper acknowledge, depending on EMS type. ° move poll acknowledge function (emsuart_tx_poll) from emsuart.cpp to ems.cpp and rename to ems_pollAck ° add EMS_TX_REV_DETECT status for detecting the SourceID.7 bit and setting emsIDMask and emsPollAck buffer accordingly ° set initial emsTxStatus to EMS_TX_REV_DETECT ° add 'log j' - jabber - for more extensive debug logs
EMS-ESP
EMS-ESP is a open-source system to communicate with EMS (Energy Management System) based boilers, thermostats and other modules from manufacturers like Bosch, Buderus, Nefit, Junkers and Sieger.
The code is writen for the Espressif ESP8266 microcontroller and supports a telnet console for real-time monitoring and configuration and customizable MQTT support for publishing the information to a home automation system such as Home Assistant or Domoticz.
Please reference the Wiki for further details and instructions on how to build and configure the firmware.
An example of the Home Assistant integration:
Using BBQKees' EMS Gateway circuit:
![]() |
![]() |
![]() |
|---|
Example of the EMS-ESP's telnet console:
![]() |
|---|
The latest list of support EMS devices
Thermostats:
- Sieger ES73
- RC10/Nefit Moduline 100
- RC20/Nefit Moduline 300
- RC20F
- RC30/Nefit Moduline 400
- RC35 (only a single HC)
- RC300/RC310
- Nefit Moduline 1010
- Junkers FR10
- TC100/Nefit Easy (read-only)
- Bosch Easy (read-only)
- Bosch CW100 (read-only)
Boilers:
- Buderus GB172/Nefit Trendline
- Nefit Topline Compact/Buderus GB162
- Buderus Logamax U122
- Buderus Logamax plus/GB192
- Sieger BK15 Boiler/Nefit Smartline
- Bosch Condens 2500/Junkers Cerapur Comfort
- Nefit Proline
Solar Modules:
- SM10 Solar Module
- SM100 Solar Module
- Junkers ISM1 Solar Module
Other devices:
- MM10 Mixer Module
- MC10 Module
- WM10 Switch Module
- MM100 Mixing Module
- MM100 Mixing Module
- BC10/RFM20 Receiver
- BC10 Base Controller
- BC25 Base Controller
- Nefit Moduline Easy Connect
- Bosch Easy Connect
- EMS-OT OpenTherm converter
- Web Gateway KM200
- HeatPump Module
Description
ESP32 firmware to read and control EMS and Heatronic compatible equipment such as boilers, thermostats, solar modules, and heat pumps
Readme
83 MiB
Languages
C++
70.1%
TypeScript
19.8%
C
7.3%
Python
2%
JavaScript
0.4%
Other
0.4%




