Add OTA (Over-The-Air) Updates + Button-Debouncing Fix

OTA-Updates:
- ArduinoOTA integriert (Hostname: kitchenlight.local)
- Passwort-geschützter OTA-Upload (Passwort: kitchenlight)
- PlatformIO OTA-Umgebung hinzugefügt (esp_wroom_02_ota)
- Zukünftige Updates ohne USB-Kabel möglich

Bugfixes:
- Button-Debouncing korrigiert (ISR setzte Zeit bei jedem Prell-Impuls)
- Entprellung jetzt in loop() basierend auf letzter Verarbeitung
- Debug: Interrupt-Zähler für Button

Debug-Features:
- Serielle Test-Befehle: t=toggle, 1-4=Streifen, s=Status, b=Button-Info
- Periodischer Status-Print alle 10 Sekunden
- GPIO0 Pegel wird mit ausgegeben

.gitignore:
- compile_commands.json und .vscode/extensions.json hinzugefügt
This commit is contained in:
tom committed 2026-10-26 01:39:42 +01:00
1 parent 01f74e6726
commit 50a330d3cc
3 files changed
+154 -14

No files matched your search

+2
View File
@@ -6,3 +6,5 @@
# WiFi-Credentials nicht committen!
src/secrets.h
compile_commands.json
.vscode/extensions.json