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