Fără Descriere

Per Mårtensson 9366e75162 Added graphical for KEY800 3 ani în urmă
.github 034afb4131 Update FUNDING.yml 4 ani în urmă
docs 70f457bbd4 Update elegantOtaDemo.gif 4 ani în urmă
examples a75e544d6c Update ESP32_Demo.ino 4 ani în urmă
src 9366e75162 Added graphical for KEY800 3 ani în urmă
ui 9366e75162 Added graphical for KEY800 3 ani în urmă
.gitattributes a4b5162503 Initial commit 5 ani în urmă
.gitignore f3b5a8a048 Fixed webpage 5 ani în urmă
.travis.yml bb1db28436 Update .travis.yml 3 ani în urmă
LICENSE a4b5162503 Initial commit 5 ani în urmă
README.md 2d1a672b37 Update README.md 3 ani în urmă
build_platformio.sh 06c4e04f74 Make build_platformio.sh executable 4 ani în urmă
keywords.txt c60bea26d8 Version Bump 4 ani în urmă
library.json 5ec27343ed Bump version to v2.2.7 3 ani în urmă
library.properties 5ec27343ed Bump version to v2.2.7 3 ani în urmă

README.md


     


Push OTAs to ESP8266 or ESP32 Elegantly!

ElegantOTA provides a beautiful interface to upload Over the Air `.bin` updates to your ESP Modules with precise status and progress displayed over UI. This Library shows the current upload progress of your OTA and once finished, it will display the status of your OTA.





How to Install

Directly Through Arduino IDE ( Currently Submitted for Approval. Use Manual Install till it gets Approved.)

Go to Sketch > Include Library > Library Manager > Search for "ElegantOTA" > Install

Manual Install

For Windows: Download the Repository and extract the .zip in Documents>Arduino>Libraries>{Place "ElegantOTA" folder Here}

For Linux: Download the Repository and extract the .zip in Sketchbook>Libraries>{Place "ElegantOTA" folder Here}

Manually through IDE

Download the Repository, Go to Sketch>Include Library>Add .zip Library> Select the Downloaded .zip File.


Documentation

ElegantOTA is a dead simple library which does your work in just 1 Line. Honestly, It's just a wrapper library which injects it's own elegant webpage instead of the ugly upload page which comes by default in Arduino Library.

Include ElegantOTA Library `#include ` at top of your Arduino Code. Paste this - `ElegantOTA.begin(&server);` line above your `server.begin();` That's all!
Now copy the IPAddress displayed over your Serial Monitor and go to `http:///update` in browser. ( where `` is the IP of your ESP Module)
By default, ElegantOTA uses your chip id as a unique id for your esp chip on webpage. If you want to set a custom id, then you can set it via `ElegantOTA.setID("abcd123");`. Best to place it above `ElegantOTA.begin` function.
#### Additional Security: If you would like to add login to your OTA webpage, then please replace `ElegantOTA.begin(&server);` with `ElegantOTA.begin(&server, "username", "password");`. This will prevent unauthorized requests to your OTA webpage and prevent unauthorized firmware upload to your MCU.
Antivirus Issue: If you have an antivirus on your PC with internet security, the progress bar on webpage will instantly show 100% because of request caching by your antivirus software. There is no fix for this unless you want to disable your antivirus or whitelist your local IP addresses in it. ( Same is the case with iOS, safari will cache the outgoing requests )

Examples

Checkout code examples for ESP8266 and ESP32 in examples directory. Click Here


Contributions

Every Contribution to this repository is highly appreciated! Don't fear to create pull requests which enhance or fix the library as ultimately you are going to help everybody.

If you want to donate to the author then you can buy me a coffee, It really helps me keep these libraries updated:



License

ElegantOTA is licensed under The MIT License ( MIT ).