Installation
Learn how to effortlessly set up ElegantOTA, a sleek, web-based tool for seamless over-the-air firmware updates. This guide walks you through the installation process, from initial setup to first use, helping you upgrade your projects with ease and style.
Platforms
For Arduino IDE
Library Manager
Go to Sketch > Include Library > Library Manager > Search for “ElegantOTA” > Install
Manual Installation
For Windows
- Download the Repository
- Extract the .zip in
Documents > Arduino > Libraries > {Place "ElegantOTA" folder Here}
For Linux
- Download the Repository
- Extract the .zip in
Sketchbook > Libraries > {Place "ElegantOTA" folder Here}
Import through Arduino IDE
- Download the Repository
- Go to
Sketch > Include Library > Add .zip Library > Select the Downloaded .zip File.
For PlatformIO
Required changes in platformio.ini
As ElegantOTA supports multiple architectures, PlatformIO will try to include all the dependencies automatically which will often result in compilation errors. To mitigate this issue, please follow these steps:
-
Delete
.pio/libdeps
folder (if it exists) in your project before proceeding. -
Open
platformio.ini
file of your project. -
Add the following line inside your
platformio.ini
file:lib_compat_mode = strict
-
Save the changes to the
platformio.ini
file.
Library Manager
Go to PlatformIO Menu > Libraries > Search for “ElegantOTA” > Install in your project.
Manual Installation
- Download the Repository
- Extract the .zip in
lib
folder of your project