# ESP-NOW Heat Pump

通过 ESP-NOW 联动室外控制器与室内面板的热泵控制器。

ESP32 heat pump controller with dual-board ESP-NOW architecture — outdoor Controller (relays+sensors) + indoor Remote (display+WiFi+MQTT+HA)

通过 ESP-NOW 联动室外控制器与室内面板的热泵控制器。

- id: amir684-heatpump-controller-remote-espnow
- author: amir684
- repository: https://github.com/amir684/HeatPump_Controller-Remote_ESPNow
- license: Apache-2.0
- shape: wide
- scenes: home, art
- boards: ESP32
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/amir684-heatpump-controller-remote-espnow/
- html_zh: https://esp32gallery.com/zh/projects/amir684-heatpump-controller-remote-espnow/
- json: https://esp32gallery.com/data/catalog/projects/amir684-heatpump-controller-remote-espnow.json

## Hardware

ESP32-class board. Verify the exact board revision, display, power source and wiring in the upstream build guide.

ESP32 类开发板；请在上游构建文档中核对具体板型、屏幕、供电与接线。

## English

```
Two ESP32 DOIT DevKit V1 boards, one inside the outdoor unit and one on an indoor wall, replace a heat pump's control board and talk over ESP-NOW without a router. The outdoor half reads four NTC sensors, drives four relays for compressor, fan, four-way valve and pump, and runs startup, shutdown, defrost and protection logic by itself; status goes out every 500 ms. The indoor half carries a 128×64 ST7567 LCD, five buttons, a menu of parameters up to U81, WiFiManager, MQTT discovery for Home Assistant and the master copy of settings. Both build as separate PlatformIO environments. The relay side switches live 230 V loads, and the warning is explicit: only a licensed electrician should install it.
```

## 中文

```
两块 ESP32 DOIT DevKit V1，一块塞在室外机里，一块做成室内墙面板，中间用 ESP-NOW 直接通信，不经过路由器。室外那块读四路 NTC 测温、控四个继电器（压缩机、风机、四通阀、水泵），开机、停机、化霜、防冻和排气保护的时序都在它自己身上跑，每 500ms 往室内报一次状态。室内那块是 ST7567 128×64 屏加五个按键，整菜单的参数一直到 U81 都在上面改，还管 WiFiManager、MQTT 和 Home Assistant 自动发现，设置的主副本也存在这块。两边各是一个 PlatformIO 环境。继电器切的是 230V 市电负载，开头就把话说明白：只能由持证电工安装。
```
