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