2021-09-06 00:41:11 +02:00
2021-07-19 12:34:06 +02:00
2021-07-19 12:01:20 +02:00
2021-07-02 17:53:31 +02:00
2021-06-24 18:38:30 +02:00
2021-07-22 21:50:01 +02:00
2021-06-22 20:25:27 +02:00
2021-07-05 15:16:43 +02:00
2021-06-23 16:18:54 +02:00
2021-06-23 16:18:54 +02:00

Steps to run it

https://arduino-esp8266.readthedocs.io/en/latest/ota_updates/readme.html

create "include/wifi_credentials.h"
#ifndef __WIFI_CREDENTIALS_H
#define __WIFI_CREDENTIALS_H

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

#endif // __WIFI_CREDENTIALS_H
platformio.ini

see templ_platformio_ini

[env:<BOARD>]
platform = espressif8266
board = <BOARD>
framework = arduino
monitor_speed = 115200

extra_scripts = pre:extra_script.py

; stuff for OTA 
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
upload_protocol = espota
upload_port = <IPADRESS>
upload_flags =
  --port=8266
  --auth=admin
Description
ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
Readme 6.2 MiB
Languages
C++ 76.3%
C 10.9%
JavaScript 4.5%
HTML 3.2%
CSS 2.6%
Other 2.5%