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.
Simon Schmidt d6f35b82be update readme 1 month ago
data hotfix 1 month ago
include updated readme and added template for wifi creds 1 month ago
lib hysterese lower 1 month ago
misc wrong ldr lux-calc (see Excel sheet, mixed x y ) 3 months ago
scripts added win debug script 3 months ago
src mDNS 1 month ago
test moved files, this in on callback for httpserver class 4 months ago
.gitignore gitignore 3 months ago
.gitmodules added lib submodule 4 months ago
README.md update readme 1 month ago
create_gz_c_arr.py modify script for new way of serving gz files 4 months ago
create_gz_files.py modify script for new way of serving gz files 4 months ago
doku.md add to TODO 3 months ago
start_xtensa_gdb_stub.cmd added win debug script 3 months ago
start_xtensa_gdb_stub.sh added win debug script 3 months ago
templ_platformio_ini templ ini update 1 month ago
webtest.cmd delete unnecessary files 4 months ago
webtest.sh delete unnecessary files 4 months ago

README.md

How-To use this Project

  1. Download and install Visual Studio Code
  2. Install PlatformIO IDE extension for Visual Studio Code
  3. Download sources from master branch, “zip” or “git clone”
  4. Create wifi_credentials.h from templ_wifi_credentials.h in include/
#ifndef __WIFI_CREDENTIALS_H
#define __WIFI_CREDENTIALS_H

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

#endif // __WIFI_CREDENTIALS_H
  1. Create platformio.ini from templ_platformio_ini
$ cp templ_platformio_ini platformio.ini
  1. Uploading new firmware
# upload program via ota
$ pio run -t upload
# upload file system via ota
$ pio run -t uploadfs

# upload program via Serial Port
# Serial Port needs to be selected in platformio.ini
$ pio run -t upload -e serial
# upload file system via Serial Port
$ pio run -t uploadfs -e serial

Additional used sources and libraries in this project and DOKU.md