CDC2NET turns an ESP32-S3 board into a network bridge for the
CUL / TUL / EUL stick line: plug a stick into the board's USB-host port, and
its serial stream becomes a plain TCP socket on your LAN — the
ser2net idea, on-chip. FHEM and friends talk to it the same way
they talk to a local CUL, just over host:port.
:2329, multiple
clients fan-out. No protocol framing, no RFC2217.http://cdc2net.local/ — status, config,
and over-the-air firmware updates without USB.Install CDC2NET on your ESP32-S3
Plug the ESP32-S3 board into USB, click below, and pick the serial port that appears. The browser detects the chip and writes the matching image.
Fresh install — erases all settings · version …
Looking for the Zigbee gateway?
A variant of this firmware turns Espressif's ESP Thread Border Router /
Zigbee Gateway board (ESP32-S3 + ESP32-H2) into a
network-attached Zigbee coordinator: the H2 runs the ZBOSS NCP
firmware, the S3 bridges it to :2329 over Ethernet or WiFi, and
Zigbee2MQTT connects with tcp://<gateway-ip>:2329. One click
flashes both chips.
Open the ESP Zigbee-Gateway flasher →
Different board, different image — the
installer above is for the plain USB-host bridge.
After flashing
- Connect & flash — esp-web-tools reads the chip family
from the bootloader and writes the factory image
(
manifest.json) to0x0in one shot. Old contents are erased. - WiFi — the device boots into Improv-Serial mode; esp-web-tools offers the WiFi hand-off right after flashing. (If you miss it, the device opens a captive-portal AP.)
- Find it — it advertises
cdc2net.localon mDNS (plus a uniquecdc2net-XXXX.local). Openhttp://cdc2net.local/for status, config and OTA. - Use it — plug a stick into the host port and point your
software at the raw-TCP port (default
2329). In FHEM:define CUL_0 CUL cdc2net.local:2329 1234
Manual install (if Web Serial doesn't work)
Two artefacts you can download and flash with
esptool.py:
factory_cdc2net_esp32s3.bin— full image, flash to0x0firmware.bin— app only, for the in-device OTA
esptool.py --chip esp32s3 -p /dev/ttyACM0 write_flash 0x0 factory_cdc2net_esp32s3.bin