Skip to the content
2 layers141.8 × 50 mmCwl, the printed circuit board in 3D

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.

Size
141.8 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
63
Nets
68
Pads
289
Tracks, vias
157, 4
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
25 Apr 2026
Updated
24 Oct 2026

Overview

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.

Main components

10

README

README.md

Wolf CWL OpenTherm Decoder

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:

FunctionMethod
Ventilation levelWrite-Data to ID 71, value 0-3
Bypass openSet bit 1 in HI byte of ID 70 Read-Data request
Bypass closeClear bit 1 in HI byte of ID 70 Read-Data request
Filter resetSet bit 4 in HI byte of ID 70 Read-Data request (reset filter timer after replacement)
Read temperaturesRead-Data ID 80 (supply inlet), ID 82 (exhaust inlet)
Read ventilation %Read-Data ID 77
Read bypass stateCheck ventilation bit (bit 1 HI byte) in ID 70 response
Read fault statusID 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 statusCheck 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 IDNameTypeDirectionDescription
2Master configurationconfig/member-idWriteMaster flags=0x00, member-id=18
70Status V/Hflag8ReadBidirectional: master sends control flags, slave returns status
71Control setpoint V/Hu8WriteVentilation level (0-3)
72Fault flags/code V/Hflag8ReadFault flags + OEM fault code
74Config/member-ID V/Hconfig/member-idReadSlave flags=0x07, member-id=0
77Relative ventilationu8 (%)ReadCurrent ventilation percentage
80Supply inlet temperaturef8.8 (°C)ReadFresh air intake temperature
82Exhaust inlet temperaturef8.8 (°C)ReadRoom exhaust temperature
89TSP index/value V/HtspReadTransparent Slave Parameters (see below)
126Master product versionversionWritetype=18 version=2
127Slave product versionversionReadtype=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):

BitNameDescription
0chCentral heating / ventilation enable
1bypassBypass damper control: 1=open, 0=closed
2coolingCooling enable (if cooling register installed)
3dhwDHW enable
4filterFilter timer reset (set briefly after filter replacement)
5diagDiagnostics 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:

BitNameDescription
0faultFault indication
1ventilationVentilation mode active
2bypassBypass status (1 = open)
3bypass autoBypass automatic mode
4free ventFree ventilation status
5filterFilter 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.
6diagDiagnostic 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 valueModeRelative ventilation (ID 77)
0Off0%
1Reduced51%
2Normal67%
3Party100%

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 IndexBrink nameValueDescription
0, 1U1100, 0Airflow rate step 1 (Reduced): 100 m³/h
2, 3U2130, 0Airflow rate step 2 (Normal): 130 m³/h
4, 5U3195, 0Airflow rate step 3 (Party): 195 m³/h
Bypass & Temperature Settings
TSP IndexBrink nameValueDescription
6U420Bypass min. outdoor temp (value ÷ 2 = °C → 10 °C). Bypass only opens when outdoor air ≥ this temperature.
7U544Bypass min. indoor temp (value ÷ 2 = °C → 22 °C). Bypass only opens when indoor air ≥ this temperature.
Configuration Parameters
TSP IndexBrink nameValueDescription
11I1100Fixed imbalance (value shifted by 100, so 100 = 0% imbalance)
17I71Pressure control / fan mode setting
18I81Bypass configuration
19I92Hysteresis / preheater setting
20I100Additional config
23I131Filter message setting
24I140PCB configuration
48, 49P18193, 0Device/PCB config flags
Live / Status Values (read-only, change during operation)
TSP IndexBrink nameValue rangeDescription
52, 53CurrentVol100-130, 0Current outlet volume [m³/h]
54BypassStatus1Bypass valve position (0=shut, 1=auto, 2=open?)
55TempAtmo114-118Atmospheric temperature (value − 100 = °C, so 114 → 14 °C)
56TempIndoors121Indoor temperature (value − 100 = °C, so 121 → 21 °C)
60, 61—0-130, 0Changes within captures — possibly supply/exhaust flow
62, 63CurrentOutputVol100-113, 0Current output volume [m³/h]
64, 65CPID20-215, 0-1Input duct pressure [Pa]
66, 67CPOD196-255, 0Output duct pressure [Pa]
68FrostStatus0Frost 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 IDNameTypeNotes
78Relative humidity exhaustu8 (%)Humidity sensor (if installed)
79CO2 level exhaustu16 (ppm)CO2/VOC sensor (if installed)
81Supply outlet temperaturef8.8 (°C)Temperature after heat recovery
83Exhaust outlet temperaturef8.8 (°C)Temperature after heat recovery
84Exhaust fan speedu16 (rpm)Fan speed diagnostics
85Supply fan speedu16 (rpm)Fan speed diagnostics
87Nominal ventilation valueu8Configured nominal airflow
88TSP count V/Hu8Total 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:

  1. Master configuration (ID 2) — Write-Data
  2. Status V/H (ID 70) — Read-Data with master control flags
  3. Control setpoint V/H (ID 71) — Write-Data
  4. Config/member-ID V/H (ID 74) — Read-Data
  5. Relative ventilation (ID 77) — Read-Data
  6. Supply inlet temperature (ID 80) — Read-Data
  7. Exhaust inlet temperature (ID 82) — Read-Data
  8. Master product version (ID 126) — Write-Data
  9. Slave product version (ID 127) — Read-Data (no response from CWL)
  10. TSP index/value V/H (ID 89) — Read-Data, rotates through different index each cycle
  11. 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:

Temperature history (24 h) in the web UI

Minimal Polling Loop

To replicate the BM's communication, the ESP32 firmware should send these requests in a loop (~1 second between each):

text
1. Write-Data  ID=2   value=0x0012        (master config: member-id=18)
2. Read-Data   ID=70  value=0x0N00        (status: HI byte = control flags, N = bypass bit)
3. Write-Data  ID=71  value=0x000L        (ventilation level: L = 0-3)
4. Read-Data   ID=74  value=0x0000        (read config/member-id)
5. Read-Data   ID=77  value=0x0000        (read relative ventilation %)
6. Read-Data   ID=80  value=0x0000        (read supply inlet temp)
7. Read-Data   ID=82  value=0x0000        (read exhaust inlet temp)
8. Read-Data   ID=89  value=0xII00        (read TSP index II)

Bypass Control

In step 2, set the HI byte of the request value:

  • 0x0100 — bypass closed, ventilation enabled (ch=on)
  • 0x0300 — bypass open, ventilation enabled (ch=on, bypass=on)

The slave response HI byte confirms the state:

  • Bit 0: fault
  • Bit 1: ventilation/bypass active

Ventilation Levels

In step 3, set the LO byte:

  • 0x0000 — Off (0%)
  • 0x0001 — Reduced (51%)
  • 0x0002 — Normal (67%)
  • 0x0003 — Party (100%)

Hardware

Capture Setup (passive analysis)

  • Saleae Logic 2 analyzer tapping the OpenTherm bus between BM remote and CWL unit
  • Analog capture at 1.5625 MHz sample rate
  • OpenTherm signal: Manchester encoded at ~1000 baud
  • Request (master→slave): ~10.8V peak
  • Response (slave→master): ~7.3V peak

Controller Hardware

  • DIYLess Master OpenTherm Shield — handles OpenTherm electrical signaling
  • ESP32 (e.g. WeMos D1 mini ESP32) — runs custom firmware
  • ihormelnyk/opentherm_library — Arduino library for OpenTherm master communication

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

Parts

63
QtyValueFootprintReferences
50.1uFCapacitor_SMD:C_0402_1005MetricC1, C3, C6, C9, C12
41N4148WSDiode_SMD:D_SOD-323D1, D2, D3, D4
4M3MountingHole:MountingHole_3.2mm_M3_Pad_ViaMH1, MH2, MH3, MH4
31uFCapacitor_SMD:C_0402_1005MetricC4, C5, C7
322uFCapacitor_SMD:C_1210_3225MetricC2, C8, C11
3SS14Diode_SMD:D_SMAD8, D11, D12
210kResistor_SMD:R_0603_1608MetricR6, R7
21kResistor_SMD:R_0603_1608MetricR8, R10
2330Resistor_SMD:R_0603_1608MetricR1, R4
25.1kResistor_SMD:R_0402_1005MetricR12, R13
2GreenLED_SMD:LED_0805_2012MetricLED1, LED2
2PC817Package_SO:SOP-4_7.5x4.1mm_P2.54mmU1, U2
2SW_PushButton_Switch_SMD:SW_SPST_TL3342SW2, SW3
10Resistor_SMD:R_0402_1005MetricR9
11.5kResistor_SMD:R_0603_1608MetricR5
1100Resistor_SMD:R_0603_1608MetricR3
1100nFCapacitor_SMD:C_0402_1005MetricC10
1100uFCapacitor_SMD:CP_Elec_10x10C10
110kResistor_SMD:R_0402_1005MetricR11
1220Resistor_SMD:R_0603_1608MetricR2
16.8uHInductor_SMD:L_6.3x6.3_H3L1
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U5
1BC858APackage_TO_SOT_SMD:SOT-23Q1
1BZT52C15Diode_SMD:D_SOD-123D6
1BZT52C4V3Diode_SMD:D_SOD-123D7
1BZT52C4V7Diode_SMD:D_SOD-123D5
1Conn_01x02_PinTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ6
1Conn_01x06_PinConnector_PinHeader_1.27mm:PinHeader_1x06_P1.27mm_Vertical_SMD_Pin1LeftJ5
1Conn_01x06_PinConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ4
1EC12E24204A9Rotary_Encoder:RotaryEncoder_Alps_EC12E-Switch_Vertical_H20mmSW1
1ESP32-S3-WROOM-1-N16R8RF_Module:ESP32-S3-WROOM-1U3
1LMR16006YQ5Package_TO_SOT_SMD:SOT-23-6U6
1OLEDSSD1306:128x64OLED-MountingHoles-CombinedJ3
1OpenThermTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ2
1Polyfuse_SmallFuse:Fuse_1812_4532MetricF1
1RXD→OT_RXJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmSB2
1TXD→OT_TXJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmSB1
1UEXTIDC:IDC-Stecker_2x05_P2.54mm_VerticalJ1
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U4
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

More from philipparndt/opentherm-wolf-cwl

2
  • 2 layers100 × 50 mmCwl, the printed circuit board in 3D

    Cwl

    philipparndt/opentherm-wolf-cwl

    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.

    29 parts
  • 2 layers107.7 × 56.9 mmCwl, the printed circuit board in 3D

    Cwl

    philipparndt/opentherm-wolf-cwl

    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.

    13 parts

Similar boards

  • 2 layers90 × 54 mmTest 09. With ESP module, the printed circuit board in 3D

    Test 09. With ESP module

    henkjannl/RoomThermostat

    Opentherm room thermostat that can be controlled through Telegram, but also locally

    66 parts1MIT
  • 4 layers86 × 90 mmSc02 drive, the printed circuit board in 3D

    Sc02 drive

    KVR-CIBER/sc02-solar-hypercar

    SC-02 Solar Hypercar: 3D-printbare Le-Mans-racer op zonne-energie met Pi 4 + ESP32-S3, CadQuery-CAD en three.js-simulatie

    94 parts
  • 2 layers275 × 200 mmMidi grid, the printed circuit board in 3D

    Midi grid

    zukaitis/midi-grid

    DIY midi controller project

    328 parts92
  • 2 layers99 × 57.5 mmClock, the printed circuit board in 3D

    Clock

    dunkelstern/NightClock

    Small SMD based night clock with RTC and battery/supercap backup

    42 parts1BSD-3-Clause
  • 4 layers64 × 60 mmDronemagnav, the printed circuit board in 3D

    Dronemagnav

    ajisrawi/dronemagnav

    Magnetic-anomaly navigation (MagNav) board + firmware for drones: ESP32-S3, BMI088, LIS3MDL, BMP280, u-blox GNSS, WDMAM map matching, particle filter, MAVLink, phone route planner. Proprietary - all rights reserved.

    60 parts11
  • 4 layers60 × 85 mmEsp32s3-camera, the printed circuit board in 3D

    Esp32s3-camera

    LCQIANN/esp32s3-camera

    ESP32-S3 camera board v1.2: OV2640 DVP camera, microSD, USB-C, LiPo, KiCad 10 project for JLCPCB PCBA

    64 parts
  • 2 layersLED Driver, the printed circuit board in 3D

    LED Driver

    rohan21032003/24V-Constant-Current-LED-Driver

    KiCad-based 24V constant-current LED driver using PT4115 with LM393-based automatic dimming control and a single-layer PCB design.

    17 parts
  • 2 layers174.2 × 115 mm12-Channel Ejection Controller, the printed circuit board in 3D

    12-Channel Ejection Controller

    sihyun-noh/zephyr_485toSDI12

    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.