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
29 lines
930 B
INI
Executable File
29 lines
930 B
INI
Executable File
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[env:esp_wroom_02]
|
|
platform = espressif8266
|
|
board = esp_wroom_02
|
|
framework = arduino
|
|
upload_speed = 115200
|
|
|
|
; OTA (Over-The-Air) Upload über WLAN
|
|
; IP-Adresse des ESP im Serial Monitor ablesen oder im Router nachschauen
|
|
; Alternativ mDNS-Name verwenden: kitchenlight.local (funktioniert auf Linux/Mac)
|
|
[env:esp_wroom_02_ota]
|
|
extends = env:esp_wroom_02
|
|
upload_protocol = espota
|
|
; upload_port = 192.168.1.XXX ; IP-Adresse hier eintragen
|
|
upload_port = kitchenlight.local ; oder mDNS-Name (einfacher!)
|
|
upload_flags =
|
|
--auth=kitchenlight
|
|
--port=8266
|
|
|