ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
Go to file
2021-06-23 02:13:48 +02:00
.vscode ls -l implement and ota fw fix 2021-06-23 01:30:28 +02:00
data gzip works from FS 2021-06-23 02:13:48 +02:00
include ls -l implement and ota fw fix 2021-06-23 01:30:28 +02:00
lib add lib PCA9685 locally, because of warnings 2021-06-22 17:22:00 +02:00
scripts debugging support :) over gdbstub 2021-06-22 20:25:27 +02:00
src gzip works from FS 2021-06-23 02:13:48 +02:00
test add lib PCA9685 locally, because of warnings 2021-06-22 17:22:00 +02:00
.gitignore d 2021-06-21 09:44:30 +02:00
create_gz_files.py debugging support :) over gdbstub 2021-06-22 20:25:27 +02:00
doku.md gzip works from FS 2021-06-23 02:13:48 +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 debugging support :) over gdbstub 2021-06-22 20:25:27 +02:00
webtest.cmd added webtest.sh for linux 2021-06-22 17:26:58 +02:00
webtest.sh added webtest.sh for linux 2021-06-22 17:26:58 +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