If you like this project, don’t forget to:
- ⭐ Star this repository
- 👤 Follow my GitHub for future updates
RemoteUpload is a lightweight, cross-platform (ESP32 & ESP8266) library for Arduino and PlatformIO that simplifies Over-The-Air (OTA) updates.
It handles two things simultaneously:
- Local OTA: Allows you to upload code directly from the Arduino IDE or PlatformIO over your local WiFi.
- Remote OTA via Google Drive: Automatically downloads and flashes
.binfirmware files hosted on Google Drive.
- 🚀 Dual Compatibility: Works out-of-the-box on both ESP8266 and ESP32.
- 🔗 Google Drive URL Parsing: Just paste the standard Google Drive "Share" link. The library automatically extracts the file ID and formats the direct download link.
- ⌨️ Serial Trigger: Built-in
handleSerial()function lets you trigger remote updates by simply typing a word (e.g., "update") into the Serial Monitor.
Add the following to your platformio.ini file:
lib_deps =
yourusername/RemoteUpload@^1.0.0- Download this repository as a .zip file.
- Go to Sketch > Include Library > Add .ZIP Library...
- Select the downloaded .zip file.
- In the Arduino IDE, go to Sketch > Export compiled Binary (or use pio run -t target in PlatformIO).
- Upload the .bin file to Google Drive.
- Right-click the file in Google Drive, click Share, and set General Access to "Anyone with the link".
- Copy the link.