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.

README.md 1.3KB

How-To use this Project

  1. Download and install Visual Studio Code
  2. Install PlatformIO IDE extension for Visual Studio Code
  3. 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 ```bash

    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