/http_elegant_ota

ESP8266 http and elegant ota

Primary LanguageC++

http / https and Elegant OTA

ESP8266 http and elegant ota

Show config json

/config

Connect to WiFi

/wifi?apssid=[SSID_NAME]&appsk=[PASSWORD]

Disconnect WiFi

/wifi_disconnect

Elegant OTA

/update

Set server for http update

/server?url=[http://SERVER_NAME]&port=[SERVER_PORT]

Delete server url

/server?del=

Get firmware update from http/https

/getupdate

Change hotspot name / password

/spot?ssid=[SSID_NAME]&password=[PASSWORD]

Reset hotspot

/spot?del=

Reboot device

/reboot

Just note

  • Make firmware.bin : Arduino > Sketch > Export Compiled Binary
  • Make filesystem.bin : Arduino > Tools > Sketch Data Upload, then copy file (.bin) from console information path ([SPIFFS] upload : xxxxxx.bin)
  • For http update ota : place in [http://domain]/update/file.bin