# Cbe Ds300 Esphome Panel

Replace the CBE PC-100/PC-200/PC220 motorhome panel with an ESP32-P4 10.1" ESPHome + LVGL touch screen on the CBE DS-300 (reverse-engineered connector 17)

房车原配的 CBE 控制面板坏了不好买，于是整块换成 10.1 英寸的 ESP32-P4 触摸屏，后面的 DS-300 配电盒原封不动，新面板插进同一根十六芯线。

- id: danderik88-cbe-ds300-esphome-panel
- author: danderik88
- repository: https://github.com/danderik88/cbe-ds300-esphome-panel
- license: MIT
- shape: wide
- scenes: art, tools
- boards: ESP32-P4
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/danderik88-cbe-ds300-esphome-panel/
- html_zh: https://esp32gallery.com/zh/projects/danderik88-cbe-ds300-esphome-panel/
- json: https://esp32gallery.com/data/catalog/projects/danderik88-cbe-ds300-esphome-panel.json

## Hardware

Supported hardware: ESP32-P4. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32-P4。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
A motorhome's failing CBE panel is replaced by a 10.1-inch ESP32-P4 touchscreen while the DS-300 distribution box stays untouched, the new panel plugging into the same cable. The valuable part is the reverse-engineered pinout: the main switch and the pump are switched by pulling their command lines to ground, with no pulses and no data protocol. Two relays driven through a PCF8574 sit on normally-closed contacts, so a dead panel leaves everything on; an ADS1115 reads the CBE temperature probes and the grey tank. Everything else comes from Home Assistant, and cutting the 12 V needs a PIN and a 90-second countdown so the Raspberry Pi shuts down first. The firmware is one ESPHome YAML file.
```

## 中文

```
房车原配的 CBE 控制面板坏了不好买，于是整块换成 10.1 英寸的 ESP32-P4 触摸屏，后面的 DS-300 配电盒原封不动，新面板插进同一根十六芯线。最有价值的是逆向出来的针脚表：总开关和水泵这两条命令线拉低到地就让配电盒通电，没有脉冲也没有数据协议。面板用 PCF8574 驱两路继电器，继电器接常闭触点，断电反而全亮；温度探头和灰水箱经 ADS1115 读。其余数据都来自 Home Assistant，关总闸前要先输 PIN，再倒计时 90 秒让树莓派先把系统关干净。固件是一份约三千八百行的 ESPHome YAML。
```
