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 767df957cc ldr schwelle [lx], parameter change when inactive 1 week ago
data ldr schwelle [lx], parameter change when inactive 1 week ago
include some formating, add variadic templ for logf() 3 weeks ago
lib ldr schwelle [lx], parameter change when inactive 1 week ago
misc wrong ldr lux-calc (see Excel sheet, mixed x y ) 4 weeks ago
scripts added win debug script 2 weeks ago
src added log messages 2 weeks ago
test moved files, this in on callback for httpserver class 1 month ago
.gitignore gitignore 1 month ago
.gitmodules added lib submodule 1 month ago
README.md debugging support :) over gdbstub 1 month ago
create_gz_c_arr.py modify script for new way of serving gz files 1 month ago
create_gz_files.py modify script for new way of serving gz files 1 month ago
doku.md add to TODO 1 week ago
start_xtensa_gdb_stub.cmd added win debug script 2 weeks ago
start_xtensa_gdb_stub.sh added win debug script 2 weeks ago
templ_platformio_ini format 1 month ago
webtest.cmd delete unnecessary files 1 month ago
webtest.sh delete unnecessary files 1 month 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