ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
Go to file
2021-06-24 18:28:00 +02:00
.vscode ugly hack 2021-06-23 15:22:38 +02:00
data HTML Änderung 2021-06-24 13:51:12 +02:00
include make it clear what happens with new pca lib 2021-06-24 16:51:38 +02:00
lib added library 2021-06-24 18:28:00 +02:00
scripts debugging support :) over gdbstub 2021-06-22 20:25:27 +02:00
src make it clear what happens with new pca lib 2021-06-24 16:51:38 +02:00
test add lib PCA9685 locally, because of warnings 2021-06-22 17:22:00 +02:00
.gitignore changed gitignore 2021-06-23 17:16:16 +02:00
create_gz_files.py compress errors :) 2021-06-23 17:30:15 +02:00
doku.md Fehler in PCA Library mit LED flicker 2021-06-24 16:40:19 +02:00
README.md debugging support :) over gdbstub 2021-06-22 20:25:27 +02:00
start_xtensa_gdb_stub.sh debugging support :) over gdbstub 2021-06-22 20:25:27 +02:00
templ_platformio_ini templ ini 2021-06-23 13:34:54 +02:00
webtest.cmd delete unnecessary files 2021-06-23 16:18:54 +02:00
webtest.sh delete unnecessary files 2021-06-23 16:18:54 +02:00

Steps to run it

https://arduino-esp8266.readthedocs.io/en/latest/ota_updates/readme.html

create "include/wifi_credentials.h"
#ifndef __WIFI_CREDENTIALS_H
#define __WIFI_CREDENTIALS_H

#ifndef STASSID
#define STASSID "ssid"
#define STAPSK  "key"
#endif

#endif // __WIFI_CREDENTIALS_H
platformio.ini

see templ_platformio_ini

[env:<BOARD>]
platform = espressif8266
board = <BOARD>
framework = arduino
monitor_speed = 115200

extra_scripts = pre:extra_script.py

; stuff for OTA 
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
upload_protocol = espota
upload_port = <IPADRESS>
upload_flags =
  --port=8266
  --auth=admin