# Desktop Display

带触摸屏、天气预报、室内传感和网页后台的 ESP32 桌面显示站。

ESP32 weather station for the 3.5-inch E32R35T touch display: three cities, OpenWeatherMap / Open-Meteo / KNMI, rain forecast, moon phase, SD-card history, optional BME280 indoor sensor and a live web dashboard.

带触摸屏、天气预报、室内传感和网页后台的 ESP32 桌面显示站。

- id: amnessie-desktopdisplay
- author: Amnessie
- repository: https://github.com/Amnessie/DesktopDisplay
- license: MIT
- shape: wide
- scenes: home, art
- boards: ESP32
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/amnessie-desktopdisplay/
- html_zh: https://esp32gallery.com/zh/projects/amnessie-desktopdisplay/
- json: https://esp32gallery.com/data/catalog/projects/amnessie-desktopdisplay.json

## Hardware

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

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

## English

```
A 3.5-inch 320×480 touch panel on an E32R35T or E32N35T board, built in the Arduino IDE with TFT_eSPI, WiFiManager, ArduinoJson and Time. Three cities cycle from the screen; rain for the next two hours is drawn minute by minute from Buienradar's radar in the Netherlands and Belgium, and from Open-Meteo's 15-minute forecast elsewhere, blended with the model past the first hour. Daily history goes to a microSD card, up to 10 years per city, with CSV export and backfill from Open-Meteo's archive. A BME280 adds indoor readings on I2C pins 21 and 25. Setup needs an OpenWeatherMap key even when only Open-Meteo is used, since city names go through its geocoder. The partition scheme must be Huge APP (3MB No OTA/1MB SPIFFS) or the sketch will not fit, and the web interface has no password.
```

## 中文

```
E32R35T 或 E32N35T 板上的 3.5 英寸 320×480 触摸屏，用 Arduino IDE 编译，依赖 TFT_eSPI、WiFiManager、ArduinoJson 和 Time。屏幕可切三座城市，未来两小时的雨按分钟画出来：荷兰和比利时用 Buienradar 雷达，别处用 Open-Meteo 的 15 分钟预报，超过一小时的部分与模型数据混合。每天的天气写进 microSD，每城最多存 10 年，能导出 CSV，也能从 Open-Meteo 档案回填。选配的 BME280 接 I2C 的 21 和 25 脚，补上室内温湿度气压。即便只用 Open-Meteo 也得填一个 OpenWeatherMap 的 key，因为城市名要走它的地理编码；分区方案必须选 Huge APP (3MB No OTA/1MB SPIFFS)，否则程序塞不下。网页界面没有密码。
```
