- .cursorrules: 20-Zeilen Router, lädt nur relevanten Kontext - MASTER_INDEX.md: Einseiten-Übersicht aller Projekte - infrastructure/STATE.md: alle Server, Container, IPs - arakava-news/STATE.md: WordPress + RSS Manager - edelmetall/STATE.md: Gold/Silber Dashboard - smart-home/STATE.md: ioBroker, Grafana, Backup-System - esp32/PLAN.md: Hardware-Projekte - scripts/sync-state.sh: Auto-Sync täglich 03:00 - scripts/setup.sh: Einmalig einrichten
68 lines
2.1 KiB
Markdown
68 lines
2.1 KiB
Markdown
# ESP32 Projekte — Plan
|
||
> Statisches Dokument (kein Auto-Sync nötig — Hardware noch nicht bestellt/fertig).
|
||
|
||
## Hardware-Bestellung (AliExpress, ~52 EUR)
|
||
|
||
| Teil | Menge | Preis | Status |
|
||
|---|---|---|---|
|
||
| ESP32-8048S050 (5" Display) | 1 | ~30 EUR | 🛒 bestellen |
|
||
| ESP32-2432S028 (2.8" Display) | 1 | ~12 EUR | 🛒 bestellen |
|
||
| DS18B20 Temperatursensor (wasserdicht) | 8 | ~10 EUR | 🛒 bestellen |
|
||
|
||
## Projekt 1: Heizungs-Display (5 Zoll)
|
||
|
||
**Hardware:** ESP32-8048S050
|
||
**Zweck:** Pufferspeicher, Solar, Holzheizung, Wärmepumpe, Ölheizung, Prognose
|
||
**Plan:** `/root/ESP32-Heizung-Projekt.md` auf pve1 CT 999
|
||
|
||
```bash
|
||
# Plan lesen
|
||
pct exec 999 -- cat /root/ESP32-Heizung-Projekt.md
|
||
```
|
||
|
||
## Projekt 2: Sensor-Monitor (2.8 Zoll)
|
||
|
||
**Hardware:** ESP32-2432S028 (ILI9341, 240×320)
|
||
**Zweck:** WLAN-Scanner, Sensordaten anzeigen, Debug-Node
|
||
|
||
### Pin-Belegung (Standard ESP32 DevKit)
|
||
|
||
| Signal | GPIO |
|
||
|---|---|
|
||
| TFT_MOSI | 23 |
|
||
| TFT_SCLK | 18 |
|
||
| TFT_CS | 5 |
|
||
| TFT_DC | 2 |
|
||
| TFT_RST | 4 |
|
||
|
||
### Framework: PlatformIO + Arduino + TFT_eSPI
|
||
|
||
```bash
|
||
# Einmalig installieren
|
||
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py -o get-platformio.py
|
||
python3 get-platformio.py
|
||
|
||
# Flashen
|
||
cd esp32-wifi-scanner
|
||
~/.platformio/penv/bin/pio run -t upload
|
||
```
|
||
|
||
### Display-Layout (240×320)
|
||
```
|
||
┌────────────────────────────┐
|
||
│ WiFi Scanner │
|
||
├────────────────────────────┤
|
||
│ -67 dBm │
|
||
│ ████████████░░░░ (65%) │
|
||
│ MyNetwork_5G │
|
||
│ 192.168.1.42 │
|
||
├────────────────────────────┤
|
||
│ Status: CONNECTED │
|
||
└────────────────────────────┘
|
||
```
|
||
|
||
## Nächste Schritte
|
||
- [ ] Hardware bestellen (AliExpress)
|
||
- [ ] WiFi-Scanner Code generieren (Plan ist fertig)
|
||
- [ ] Heizungs-Display Code generieren (Plan in CT 999)
|
||
- [ ] DS18B20 Sensoren verlegen/testen
|