ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
Go to file
2021-07-05 16:16:43 +02:00
data updates format style 2021-07-05 16:15:47 +02:00
include clangtidy cleanups and added checks to platformio.ini 2021-07-04 14:45:14 +02:00
lib Merge branch 'master' of https://git.efi.th-nuernberg.de/gitea/schmidtsi76327/ESP8266_Treppenlicht 2021-07-05 16:16:43 +02:00
misc xlsx for ldr regression doku 2021-07-05 11:51:25 +02:00
scripts debugging support :) over gdbstub 2021-06-22 20:25:27 +02:00
src FSM mostly working, need to implement bufferd param changes 2021-07-03 21:04:24 +02:00
test moved files, this in on callback for httpserver class 2021-06-26 09:02:55 +02:00
.gitignore gitignore 2021-07-02 17:53:31 +02:00
.gitmodules added lib submodule 2021-06-24 18:38:30 +02:00
create_gz_c_arr.py modify script for new way of serving gz files 2021-06-26 09:33:37 +02:00
create_gz_files.py modify script for new way of serving gz files 2021-06-26 09:33:37 +02:00
doku.md doku issues 2021-07-05 10:00:21 +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 format 2021-07-05 15:16:43 +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