Decoder tool for analyzing OpenTherm protocol communication between a BM remote control and a Wolf CWL ventilation/heat-recovery unit. Built to reverse-engineer the protocol for building a custom ESP32-based controller.
Cwl is an open-source printed circuit board by philipparndt, from the philipparndt/opentherm-wolf-cwl repository on GitHub. It is a 2-layer board of 141.8 × 50 mm with 63 parts on 68 nets, routed with 157 tracks and 4 vias.
It is built around the ESP32-S3-WROOM-1-N16R8, AP2112K-3.3 and USBLC6-2SC6, with the 1N4148WS, SS14 and BC858A among its other parts. Its parts include 13 capacitors, 13 resistors, 12 diodes, 7 connectors and 6 ICs. It belongs with the ESP32 boards of this library.
Decoder tool for analyzing OpenTherm protocol communication between a BM remote control and a Wolf CWL ventilation/heat-recovery unit. Built to reverse-engineer the protocol for building a custom ESP32-based controller.
Usage
bash
# Default: human-readable deduplicated output
decode <file.sal|file.csv>
# Verbose: raw hex, parity, bit-timing analysis
decode <file> --verbose
# Diff: compare two captures side by side, highlights changes
decode diff <baseline.sal> <changed.sal>
Supports Saleae Logic 2 captures (.sal) and CSV exports (.csv). SAL files are significantly faster to process.
Findings
Control Summary
Everything needed to control the Wolf CWL via OpenTherm:
Function
Method
Ventilation level
Write-Data to ID 71, value 0-3
Bypass open
Set bit 1 in HI byte of ID 70 Read-Data request
Bypass close
Clear bit 1 in HI byte of ID 70 Read-Data request
Filter reset
Set bit 4 in HI byte of ID 70 Read-Data request (reset filter timer after replacement)
Read temperatures
Read-Data ID 80 (supply inlet), ID 82 (exhaust inlet)
Read ventilation %
Read-Data ID 77
Read bypass state
Check ventilation bit (bit 1 HI byte) in ID 70 response
Read fault status
ID 72 (Fault flags/code V/H) — the HI-byte fault bit in ID 70 is not reliable on Wolf CWL, see notes below
Read filter status
Check bit 5 of the LO byte in ID 70 response (Wolf OEM use of a spec-reserved slave-status bit; the response HI byte is only an echo of the master flags)
Supported OpenTherm Data IDs
The Wolf CWL (tested with CWL Excellent, BM remote control as master) responds to the following data IDs:
Data ID
Name
Type
Direction
Description
2
Master configuration
config/member-id
Write
Master flags=0x00, member-id=18
70
Status V/H
flag8
Read
Bidirectional: master sends control flags, slave returns status
71
Control setpoint V/H
u8
Write
Ventilation level (0-3)
72
Fault flags/code V/H
flag8
Read
Fault flags + OEM fault code
74
Config/member-ID V/H
config/member-id
Read
Slave flags=0x07, member-id=0
77
Relative ventilation
u8 (%)
Read
Current ventilation percentage
80
Supply inlet temperature
f8.8 (°C)
Read
Fresh air intake temperature
82
Exhaust inlet temperature
f8.8 (°C)
Read
Room exhaust temperature
89
TSP index/value V/H
tsp
Read
Transparent Slave Parameters (see below)
126
Master product version
version
Write
type=18 version=2
127
Slave product version
version
Read
type=0 version=0 (CWL does not respond)
Status V/H (ID 70) — Bidirectional Control
The Status V/H exchange carries control flags in both directions. This is the key mechanism for bypass control.
Master → Slave (HI byte of Read-Data request):
Bit
Name
Description
0
ch
Central heating / ventilation enable
1
bypass
Bypass damper control: 1=open, 0=closed
2
cooling
Cooling enable (if cooling register installed)
3
dhw
DHW enable
4
filter
Filter timer reset (set briefly after filter replacement)
5
diag
Diagnostics request
Slave → Master (Read-Ack response):
The HI byte of the Read-Ack is an echo of the master status flags from the request — it carries no slave state. (Earlier revisions of this document interpreted it as a slave status byte and described a "permanently latched fault bit"; that was our own always-set ventilation-enable bit coming back.)
The actual slave status is the LO byte, laid out as in the OpenTherm V/H spec:
Bit
Name
Description
0
fault
Fault indication
1
ventilation
Ventilation mode active
2
bypass
Bypass status (1 = open)
3
bypass auto
Bypass automatic mode
4
free vent
Free ventilation status
5
filter
Filter replacement required (1 = service due, 0 = OK). Reserved in the spec; used by Wolf (Brink Renovent / Viessmann Vitovent OEM siblings) as the filter-check bit.
6
diag
Diagnostic indication
Bit 5 was confirmed in FIL_CLEAN.sal, which captures the live transition during a filter-reset: LO went from 0x26 → 0x06 (bit 5 cleared) while HI stayed at 0x03 and ID 72 (Fault flags/code) stayed at 0x0000 throughout.
Do not derive filter status from ID 72. An OEM fault code of 6 was once assumed to mean "filter dirty" (FIL2 hypothesis), but a live unit was observed reporting ID 72 = 0x0006 together with LO bit 6 (diagnostic indication) while the filter was clean and the CWL display showed no FIL — code 6 is a diagnostic status code, not the filter message. LO bit 5 is the only reliable filter signal.
The bypass is controlled by setting/clearing bit 1 of the HI byte in every Status V/H request; the actual damper state is reported in LO bit 2 (and TSP 54).
Ventilation Level Control
Ventilation level is controlled via Data ID 71 (Control setpoint V/H). The mapping is:
Setpoint value
Mode
Relative ventilation (ID 77)
0
Off
0%
1
Reduced
51%
2
Normal
67%
3
Party
100%
The fault bit in Status V/H (ID 70) may toggle briefly during mode transitions. This appears to be a transient state, not an actual fault indication.
TSP Register Map
The BM remote cycles through TSP registers via Data ID 89, reading one index per polling cycle (~11 seconds per cycle). A full TSP scan takes approximately 5-6 minutes (31 indices).
TSP values did not change when switching ventilation levels or toggling bypass. Ventilation is controlled via ID 71, bypass via ID 70. TSPs hold configuration and live diagnostic data.
The Wolf CWL is OEM-identical to the Brink Renovent HR and Viessmann Vitovent 300. The TSP register map from the Brink Renovent OpenTherm project applies directly.
Many indices come in even/odd pairs for 16-bit values (even=LO, odd=HI byte).
Airflow Configuration (m³/h)
TSP Index
Brink name
Value
Description
0, 1
U1
100, 0
Airflow rate step 1 (Reduced): 100 m³/h
2, 3
U2
130, 0
Airflow rate step 2 (Normal): 130 m³/h
4, 5
U3
195, 0
Airflow rate step 3 (Party): 195 m³/h
Bypass & Temperature Settings
TSP Index
Brink name
Value
Description
6
U4
20
Bypass min. outdoor temp (value ÷ 2 = °C → 10 °C). Bypass only opens when outdoor air ≥ this temperature.
7
U5
44
Bypass min. indoor temp (value ÷ 2 = °C → 22 °C). Bypass only opens when indoor air ≥ this temperature.
Configuration Parameters
TSP Index
Brink name
Value
Description
11
I1
100
Fixed imbalance (value shifted by 100, so 100 = 0% imbalance)
17
I7
1
Pressure control / fan mode setting
18
I8
1
Bypass configuration
19
I9
2
Hysteresis / preheater setting
20
I10
0
Additional config
23
I13
1
Filter message setting
24
I14
0
PCB configuration
48, 49
P18
193, 0
Device/PCB config flags
Live / Status Values (read-only, change during operation)
TSP Index
Brink name
Value range
Description
52, 53
CurrentVol
100-130, 0
Current outlet volume [m³/h]
54
BypassStatus
1
Bypass valve position (0=shut, 1=auto, 2=open?)
55
TempAtmo
114-118
Atmospheric temperature (value − 100 = °C, so 114 → 14 °C)
56
TempIndoors
121
Indoor temperature (value − 100 = °C, so 121 → 21 °C)
60, 61
—
0-130, 0
Changes within captures — possibly supply/exhaust flow
62, 63
CurrentOutputVol
100-113, 0
Current output volume [m³/h]
64, 65
CPID
20-215, 0-1
Input duct pressure [Pa]
66, 67
CPOD
196-255, 0
Output duct pressure [Pa]
68
FrostStatus
0
Frost protection status (0 = no frost)
Data IDs to Probe
The BM remote only polls a subset of the available V/H data IDs. The following IDs are defined in the OpenTherm V/H spec and may be supported by the CWL, but have not been tested yet. Probe these with the ESP32 firmware to discover additional sensors:
Data ID
Name
Type
Notes
78
Relative humidity exhaust
u8 (%)
Humidity sensor (if installed)
79
CO2 level exhaust
u16 (ppm)
CO2/VOC sensor (if installed)
81
Supply outlet temperature
f8.8 (°C)
Temperature after heat recovery
83
Exhaust outlet temperature
f8.8 (°C)
Temperature after heat recovery
84
Exhaust fan speed
u16 (rpm)
Fan speed diagnostics
85
Supply fan speed
u16 (rpm)
Fan speed diagnostics
87
Nominal ventilation value
u8
Configured nominal airflow
88
TSP count V/H
u8
Total number of TSP registers supported
If the CWL supports a data ID, it will respond with Read-Ack. If not, it will either not respond or send Unknown-DataId.
Polling Cycle
The BM remote polls the CWL in a fixed cycle of approximately 11 seconds containing:
Master configuration (ID 2) — Write-Data
Status V/H (ID 70) — Read-Data with master control flags
Control setpoint V/H (ID 71) — Write-Data
Config/member-ID V/H (ID 74) — Read-Data
Relative ventilation (ID 77) — Read-Data
Supply inlet temperature (ID 80) — Read-Data
Exhaust inlet temperature (ID 82) — Read-Data
Master product version (ID 126) — Write-Data
Slave product version (ID 127) — Read-Data (no response from CWL)
TSP index/value V/H (ID 89) — Read-Data, rotates through different index each cycle
Fault flags/code V/H (ID 72) — Read-Data (sometimes included)
ESP32 Firmware Guide
The firmware serves a web UI with live status and a 24 h history view — supply/exhaust temperatures, indoor/outdoor humidity and enthalpy, bypass state, and ventilation level changes annotated with the reason for each switch:
Minimal Polling Loop
To replicate the BM's communication, the ESP32 firmware should send these requests in a loop (~1 second between each):
The DIYLess shield acts as the OpenTherm master, replacing the BM remote control. The ESP32 can then:
Read all sensor values (temperatures, ventilation %, status, faults)
Set ventilation level by writing to Data ID 71 (values 0-3)
Control bypass via Status V/H (ID 70) master flags
Read TSP registers for diagnostics
Publish data via MQTT to Home Assistant (see docs/mqtt-topics.md for the full topic reference)
ESPHome Compatibility
The official ESPHome OpenTherm component does not support V/H (ventilation/heat-recovery) data IDs 70-91. It only supports boiler/heating control. A custom firmware is required for the Wolf CWL.
Building
bash
cd decode
go build -o decode .
Requires Go 1.26+.
Schedules
Weekday schedule:
text
0:00 - 8:00 reduced
8:00 - 13:00 normal
13:00 - 15:00 reduced
15:00 - 18:00 normal
18:00 - 0:00 reduced
Weekend schedule:
text
0:00 - 10:00 reduced
10:00 - 13:00 normal
13:00 - 15:00 reduced
15:00 - 18:30 normal
Decoder tool for analyzing OpenTherm protocol communication between a BM remote control and a Wolf CWL ventilation/heat-recovery unit. Built to reverse-engineer the protocol for building a custom ESP32-based controller.
Decoder tool for analyzing OpenTherm protocol communication between a BM remote control and a Wolf CWL ventilation/heat-recovery unit. Built to reverse-engineer the protocol for building a custom ESP32-based controller.
Zephyr RTOS 기반 Dajilog MCU 장비의 firmware, custom board 정의, 공통 component, KiCad hardware source를 함께 관리하는 repository입니다.
300 partsApache-2.0
Questions
How big is the Cwl PCB?
It measures 141.8 × 50 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Cwl use?
63 parts, built around the ESP32-S3-WROOM-1-N16R8, AP2112K-3.3, USBLC6-2SC6 and 1N4148WS. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Cwl KiCad files?
From the philipparndt/opentherm-wolf-cwl repository on GitHub, at the commit this page was made from: the board is pcb/cwl-esp-onboard/cwl.kicad_pcb and its schematic pcb/cwl-compact/.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Cwl design in my own project?
Its repository states no licence, so its author keeps all rights: ask philipparndt before reusing the design.