Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .opencode/skills/web-ui/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ keywords:
Web interface development for the ESP32 pool-controller. The UI lives in two layers: **LittleFS** (editable at runtime) and **PROGMEM** (embedded fallback in the firmware binary).

> **Note:** The Olimex local TFT UI is a separate on-device interface (Adafruit GFX + ILI9341/ST7789) and is not the browser/LittleFS dashboard.

>
> **🔍 Code Search**: Use `semble search "LittleFS.open"` or `semble search "kPortalPageHtml"` to find the fallback architecture. See `Agents.md` §7 for full `semble` usage.

---
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ make build
### Dokumentation

- **[README.md](README.md)** - Projektübersicht und Schnellstart
- **[Quick Start Guide](docs/quick-start.md)** - Schritt-für-Schritt-Anleitung
- **[Quick Start Guide](https://www.smart-swimmingpool.com/docs/quickstart/)** - Schritt-für-Schritt-Anleitung
- **[Hardware Guide](docs/hardware-guide.md)** - Montage und Verdrahtung
- **[MQTT-Konfiguration](docs/mqtt-configuration.md)** - Home Assistant-Einrichtung
- **[Codierrichtlinien](.github/CODING_GUIDELINES.md)** - Detaillierte Codierstandards
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ make build
### Documentation

- **[README.md](README.md)** - Project overview and quick start
- **[Quick Start Guide](docs/quick-start.md)** - Step-by-step setup
- **[Quick Start Guide](https://www.smart-swimmingpool.com/docs/quickstart/)** - Step-by-step setup
- **[Hardware Guide](docs/hardware-guide.md)** - Assembly and wiring
- **[MQTT Configuration](docs/mqtt-configuration.md)** - Home Assistant setup
- **[Coding Guidelines](.github/CODING_GUIDELINES.md)** - Detailed coding standards
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ The **Pool Controller** is an **ESP32-based control unit** that automates your s

**New to the project?** Begin with these resources:

- [📖 **Quick Start Guide**](docs/quick-start.md) – Step-by-step setup for beginners
- [❓ **Frequently Asked Questions**](docs/faq.md) – Troubleshooting common issues
- [📖 **Quick Start Guide**](https://www.smart-swimmingpool.com/docs/quickstart/) – Step-by-step setup for beginners
- [❓ **Frequently Asked Questions**](https://www.smart-swimmingpool.com/docs/faq/) – Troubleshooting common issues
- [🌐 **MQTT Configuration**](docs/mqtt-configuration.md) – Home Assistant integration

---
Expand Down Expand Up @@ -140,8 +140,8 @@ All settings survive reboots and power failures:

| Guide | Description | Audience |
|-------|-------------|----------|
| [Quick Start Guide](docs/quick-start.md) | Step-by-step setup for beginners | 🆕 New users |
| [FAQ](docs/faq.md) | Troubleshooting common issues | ❓ All users |
| [Quick Start Guide](https://www.smart-swimmingpool.com/docs/quickstart/) | Step-by-step setup for beginners | 🆕 New users |
| [FAQ](https://www.smart-swimmingpool.com/docs/faq/) | Troubleshooting common issues | ❓ All users |
| [Users Guide](docs/users-guide.md) | Web dashboard, operation modes, MQTT | 🎛️ Intermediate users |
| [Hardware Guide](docs/hardware-guide.md) | Assembly, wiring, parts list | 🔧 Builders |
| [MQTT Configuration](docs/mqtt-configuration.md) | Home Assistant Discovery, entity reference | 🌐 Smart home integrators |
Expand Down Expand Up @@ -214,7 +214,7 @@ We welcome contributions! Please follow these steps:
- **Home Assistant Community:** [community.home-assistant.io](https://community.home-assistant.io/)

**Need Help?**
1. Check the [FAQ](docs/faq.md)
1. Check the [FAQ](https://www.smart-swimmingpool.com/docs/faq/)
2. Search [Discussions](https://github.com/smart-swimmingpool/smart-swimmingpool.github.io/discussions)
3. Open a [new issue](https://github.com/smart-swimmingpool/pool-controller/issues/new)

Expand Down
2 changes: 1 addition & 1 deletion docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The **Pool Controller** is the **central control unit** for your smart swimming

## 📦 Quick Start

**New users:** Begin with the [Quick Start Guide](quick-start.md) for step-by-step setup instructions.
**New users:** Begin with the [Quick Start Guide](https://www.smart-swimmingpool.com/docs/quickstart/) for step-by-step setup instructions.

**Experienced users:** See the [Hardware Guide](hardware-guide.md) for parts list and wiring, or the [MQTT Configuration](mqtt-configuration.md) for smart home integration.

Expand Down
11 changes: 6 additions & 5 deletions docs/build-from-zero.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,11 @@ aufbauen.
### Relaismodul anschließen

Active-Low-Relaismodule schalten, wenn der GPIO auf LOW geht. Die Firmware
ist standardmäßig für **active-low** eingestellt (`relay-invert = false`).
steuert Standard-Relaismodule **active-low** an; eine Laufzeit-Einstellung zum
Invertieren gibt es nicht.

Falls dein Relaismodul **active-high** ist, setze `relay-invert = true` in der
Konfiguration (siehe Schritt 5).
Falls dein Relaismodul **active-high** ist, stelle den HIGH/LOW-Jumper auf LOW
oder nimm ein Standard-Modul (active-low).

---

Expand Down Expand Up @@ -341,8 +342,8 @@ Relais-Funktion mit einem Multimeter oder einer 5V LED + Widerstand prüfen.
| AUS (inaktiv) | Offen | Geschlossen |
| AN (aktiv) | Geschlossen | Offen |

Falls das Relais **invertiert** schaltet (AN = COM–NC geschlossen),
`relay-invert = true` in Configuration → Advanced setzen.
Falls das Relais **invertiert** schaltet (AN = COM–NC geschlossen), prüfen,
dass das Modul active-low ist (HIGH/LOW-Jumper auf LOW).

---

Expand Down
13 changes: 6 additions & 7 deletions docs/build-from-zero.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,11 @@ Before soldering or installing permanently, build the circuit on a breadboard.

### Connect the Relay Module

Active-low relay modules trigger when the GPIO goes LOW. The firmware
defaults to **active-low** (use `relay-invert = false` in configuration if
your module is active-low).
Active-low relay modules trigger when the GPIO goes LOW. The firmware drives
standard relay modules **active-low**; there is no runtime setting to invert it.

If your relay module is **active-high**, set `relay-invert = true` in the
configuration (see Step 5).
If your relay module is **active-high**, set its HIGH/LOW jumper to LOW or use
a standard active-low module.

---

Expand Down Expand Up @@ -337,8 +336,8 @@ operation with a multimeter or a 5V LED + resistor.
| OFF (inactive) | Open | Closed |
| ON (active) | Closed | Open |

If the relay behavior is **inverted** (ON = COM–NC closed), set
`relay-invert = true` in Configuration → Advanced.
If the relay behavior is **inverted** (ON = COM–NC closed), check that the
module is active-low (HIGH/LOW jumper on LOW).

---

Expand Down
194 changes: 0 additions & 194 deletions docs/faq.md

This file was deleted.

23 changes: 12 additions & 11 deletions docs/hardware-guide.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ richtig zusammenzubauen.
| ---------- | ----------------------------------------------------------------------------------------------------------------- | :---: | :---------: | ---------------------------------------------- |
| 1 | ESP32-Entwicklungsboard (z.B. ESP32 DevKit V1, NodeMCU-32S) | 1 | 10–15€ | Mindestens 4MB Flash |
| 2 | DS18B20-Temperatursensor (wasserfest, Edelstahl, 1m Kabel) | 2 | 8–12€ | Einer für Poolwasser, einer für Solarkollektor |
| 3 | 2-Kanal-5V-Relaismodul (mit Optokoppler) | 1 | 5–8€ | **Muss** active-high sein (siehe Hinweise) |
| 3 | 2-Kanal-5V-Relaismodul (mit Optokoppler) | 1 | 5–8€ | Standard-Modul **active-low** (siehe Hinweise) |
| 4 | Widerstand 4,7kΩ (¼W oder ⅛W, Metall- oder Kohleschicht) | 2 | < 1€ | Pull-up für die OneWire-Datenleitungen |
| 5 | Breadboard + Jumper-Kabel (zum Testen) **ODER** Lochrasterplatine + Stiftleisten/Schraubklemmen (für Daueraufbau) | 1 | 3–8€ | |
| 6 | USB-Netzteil 5V/≥1A (z.B. Handy-Ladegerät) | 1 | 5–10€ | Für den ESP32 allein |
| 7 | Schaltdraht, 0,14–0,5mm², verschiedene Farben | — | 3–5€ | |
| 8 | Optional: Gehäuse (ABS/PVC-Projektbox, IP54 oder besser) | 1 | 5–10€ | Schutz vor Spritzwasser/Staub |
| 9 | Optional: Schraubklemmen (2-polig, 5mm Raster) | 4–6 | 2–3€ | Für steckbare Sensor-/Stromanschlüsse |
| 10 | Optional: DS3231 RTC-Modul | 1 | 3–5€ | Backup-Uhr (nicht nötig bei NTP-Betrieb) |
| **Gesamt** | | | **~45–75€** | Ohne Gehäuse; deutlich unter 100€ |
| **Gesamt** | | | **~45–75€** | Inkl. optionaler Teile 8–10; Pflichtteile 1–7 ca. 35–60€ |

### Bezugsquellen

Expand All @@ -68,9 +68,10 @@ Suchbegriffe:
kaufen — die Firmware läuft auf dem Standard-ESP32 (Xtensa Dual-Core).
- **DS18B20**: **Edelstahl, wasserdicht** mit 1m Kabel. Günstige
Kunststoff-Varianten gehen auch, sind aber weniger haltbar im Außeneinsatz.
- **Relaismodul**: **Achtung: Logikpegel prüfen!** Die Firmware schaltet per
**active-high** (GPIO HIGH → Relais EIN). Viele günstige Module sind
active-low (mit Jumper zum Umschalten). Vor dem Festlöten prüfen.
- **Relaismodul**: **Achtung: Logikpegel prüfen!** Die Firmware steuert Standard-Relaismodule
**active-low** an (GPIO LOW → Relais EIN). Das entspricht den meisten
günstigen 2-Kanal-Modulen. Ein Modul mit HIGH/LOW-Jumper muss auf LOW stehen.
Vor dem Festlöten mit dem Multimeter prüfen.

---

Expand Down Expand Up @@ -200,10 +201,10 @@ Metall- oder Kohleschicht).
| Steuereingang 1 | `IN1` oder `D1` | **GPIO25** (Pool-Pumpe) | **Gelb/Blau** |
| Steuereingang 2 | `IN2` oder `D2` | **GPIO26** (Solar-Pumpe) | **Grün/Blau** |

**Wichtig — Logikpegel**: Die Firmware setzt den GPIO-Pin auf **HIGH (3,3V)**
um das Relais zu aktivieren (active-high). Wenn dein Modul bei LOW schaltet
(active-low), suche nach einem **Jumper** auf der Modulplatine, um den Modus
zu wechseln. Active-high-Module sind einfacher in der Handhabung.
**Wichtig — Logikpegel**: Die Firmware setzt den GPIO-Pin auf **LOW**, um das
Relais zu aktivieren (schließen), und auf **HIGH**, um es zu lösen (active-low,
das übliche Verhalten von 2-Kanal-5V-Modulen). Schaltet dein Modul bei HIGH,
stelle den **HIGH/LOW-Jumper** auf LOW oder nimm ein Standard-Modul (active-low).

**Lastseite (230V-Seite) — Standard-Relaismodul:**

Expand Down Expand Up @@ -449,7 +450,7 @@ Solar pump: ON → Relais klickt hörbar, Pumpe läuft an
Wenn das Relais nicht klickt:

- [ ] Ist das Relaismodul mit Strom versorgt (5V zwischen VCC und GND)?
- [ ] Stimmt der Logikpegel (active-high vs. active-low)?
- [ ] Stimmt der Logikpegel (Modul muss active-low sein)?
- [ ] Leuchtet die LED auf dem Relaismodul, wenn GPIO auf HIGH geht?

---
Expand Down Expand Up @@ -477,7 +478,7 @@ schalten die 230V-Last. Siehe die separate Anleitung:
| "Sensor error" oder `-127°C` | Pull-up-Widerstand fehlt | 4,7kΩ zwischen DATA und 3,3V einlöten |
| "Sensor error" | Falscher GPIO-Pin | `PIN_DS_SOLAR`/`PIN_DS_POOL` in `src/Config.hpp` prüfen |
| Unbeständige Messwerte | Wackelkontakt oder Einstreuungen | Lötstellen prüfen, Daten- und Relaisleitungen trennen |
| Relais schaltet nicht | Falscher Logikpegel | Active-high vs. active-low prüfen; Jumper umstecken |
| Relais schaltet nicht | Falscher Logikpegel | Prüfen, dass das Modul active-low ist (Jumper auf LOW) |
| Relais klickt, Pumpe läuft nicht | 230V-Verdrahtungsfehler | COM/NO-Kontakte prüfen, Pumpenanschluss kontrollieren |
| Pumpe läuft trotz AUS-Anzeige | Relaiskontakt verschweißt (Motorlast) | **Schütz zwischenschalten** (siehe [Schütz-Anleitung](contactor-guide.de.md)) |
| ESP32 startet nicht (Brownout) | Zu schwache Stromversorgung | 5V/≥1A-Netzteil verwenden; 100µF-Kondensator nahe VIN |
Expand Down
Loading
Loading