# Home Panel 4

Lights, energy and server status on a four-inch home panel.

在四英寸家庭面板里汇集灯光、能耗和服务器状态。

- id: puha-dev-e32r40t-ha-panel
- author: puha-dev
- repository: https://github.com/puha-dev/e32r40t-ha-panel
- license: MIT
- shape: square
- scenes: home
- boards: E32R40T ESP32-32E
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/puha-dev-e32r40t-ha-panel/
- html_zh: https://esp32gallery.com/zh/projects/puha-dev-e32r40t-ha-panel/
- json: https://esp32gallery.com/data/catalog/projects/puha-dev-e32r40t-ha-panel.json

## Hardware

4.0-inch E32R40T with ESPHome and LVGL, linked to Home Assistant. Screenshots show upstream example layouts.

## English

```
A cheap LCDwiki E32R40T board — 4-inch 480×320 ST7796S panel, XPT2046 resistive touch, an ESP32-D0WD-V3 with 520 KB of SRAM and 4 MB flash but no PSRAM — becomes a six-page Home Assistant wall panel through ESPHome and LVGL, with no C written: copy the example YAML and fill in your own entity IDs. The pages cover lights, fan, climate, safe and weather; rack power with an alarm; Proxmox, services and storage; music; a camera preview from HA; and settings, under a shared top bar with time, alerts and connection status. The board is wired so you rarely fight it — USB-C goes through a CH340C with auto-download, so flashing needs no BOOT press — though the LCD and touch share one SPI bus and the SD card sits on another. The RGB LED and amp enable are both active-low, and the LCD reset hangs off EN, so holding either in reset resets both.
```

## 中文

```
一块便宜的 LCDwiki E32R40T：4 寸 480×320 的 ST7796S 屏，XPT2046 电阻触摸，ESP32-D0WD-V3 只有 520 KB SRAM、4 MB flash，没有 PSRAM。用 ESPHome 加 LVGL 就能把它做成六页的 Home Assistant 墙面面板，一行 C 都不用写，复制示例 YAML 再把实体 ID 换成自己的即可。六页分别是家居灯光风扇空调保险柜天气、机柜功耗与报警、Proxmox 服务与存储、音乐、HA 摄像头预览、设置，顶上还有一条公共栏显示时间、告警和连接状态。接线几乎不用折腾：USB-C 经 CH340C 带自动下载，刷写不用按 BOOT；但屏和触摸共用一路 SPI，SD 卡在另一路。RGB 灯和功放使能都是低电平有效，屏的复位线挂在 EN 上，压住其中任何一个都会把两个一起复位。
```
