ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dominik Bartsch 7e5a6fac9f doku 3 years ago
.vscode ugly hack 3 years ago
data HTML Änderung 3 years ago
include first approach with sensor controlled led sequence 3 years ago
lib added lib submodule 3 years ago
scripts debugging support :) over gdbstub 3 years ago
src first approach with sensor controlled led sequence 3 years ago
test add lib PCA9685 locally, because of warnings 3 years ago
.gitignore changed gitignore 3 years ago
.gitmodules added lib submodule 3 years ago
README.md debugging support :) over gdbstub 3 years ago
create_gz_files.py compress errors :) 3 years ago
doku.md doku 3 years ago
start_xtensa_gdb_stub.sh debugging support :) over gdbstub 3 years ago
templ_platformio_ini templ ini 3 years ago
webtest.cmd delete unnecessary files 3 years ago
webtest.sh delete unnecessary files 3 years ago

README.md

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