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