# Dew Point Fan

A small touch panel that compares indoor and outdoor dew points.

对比室内外露点、控制通风的小型触摸面板。

- id: aluedtke7-dew-point-fan-bt-cyd
- author: aluedtke7
- repository: https://github.com/aluedtke7/dew-point-fan-bt-cyd
- license: MIT
- shape: wide
- scenes: home
- boards: ESP32 CYD
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/aluedtke7-dew-point-fan-bt-cyd/
- html_zh: https://esp32gallery.com/zh/projects/aluedtke7-dew-point-fan-bt-cyd/
- json: https://esp32gallery.com/data/catalog/projects/aluedtke7-dew-point-fan-bt-cyd.json

## Hardware

ESP32 Cheap Yellow Display with remote sensor readings. Selected upstream screens omit the diagnostic address view.

## English

```
Two Bluetooth-LE ThermoBeacon sensors, one indoors and one out, feed this ESP32-2432S028R Cheap Yellow Display, which computes a dew point for each and runs a fan only while the outside air is drier. Switching is not wired: it goes over Wi-Fi to a Shelly Plug M Gen3 through a single HTTP RPC GET, so nothing is attached to the board's GPIO. A nine-step priority tree decides, from manual override through missing or five-minute-old readings, minimum inside and outside temperatures and minimum indoor humidity, down to the dew-point difference, where a hysteresis band holds the previous state instead of flickering. The screen is a 2.8-inch ILI9341 with an XPT2046 touch on a separate SPI bus. The board has no PSRAM, and the Shelly must be given by IP, because the firmware's HTTPClient has no mDNS resolver.
```

## 中文

```
室内外各一枚蓝牙 ThermoBeacon（Brifit WS02）传感器，把温湿度送进 ESP32-2432S028R 这块 Cheap Yellow Display；板子分别算出两边的露点，只有室外空气更干时才开风扇。开关信号不接线，走 Wi-Fi 给 Shelly Plug M Gen3 发一条 HTTP RPC GET，所以板上 GPIO 一个都不用接执行器。判断是一棵九级优先级树：手动强制、读数缺失或超过 5 分钟、室内外最低温度、室内最低湿度，最后比较露点差，并带一段迟滞区间，落在区间里就维持原状态，不会来回跳。屏是 2.8 英寸 ILI9341，触摸 XPT2046 走另一条 SPI。这块板没有 PSRAM；配置里必须填 Shelly 的 IP，因为固件的 HTTPClient 没有 mDNS 解析，写 .local 名字永远连不上。
```
