Skip to content

IdlanZafran/RemoteUpload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RemoteUpload 🛜

By Idlan Zafran Mohd Zaidie

Follow

Version License: MIT

If you like this project, don’t forget to:

  • ⭐ Star this repository
  • 👤 Follow my GitHub for future updates

Overview

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:

  1. Local OTA: Allows you to upload code directly from the Arduino IDE or PlatformIO over your local WiFi.
  2. Remote OTA via Google Drive: Automatically downloads and flashes .bin firmware files hosted on Google Drive.

Features

  • 🚀 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.

Installation

PlatformIO

Add the following to your platformio.ini file:

lib_deps =
  yourusername/RemoteUpload@^1.0.0

Arduino IDE

  1. Download this repository as a .zip file.
  2. Go to Sketch > Include Library > Add .ZIP Library...
  3. Select the downloaded .zip file.

Preparing your Google Drive Firmware

  1. In the Arduino IDE, go to Sketch > Export compiled Binary (or use pio run -t target in PlatformIO).
  2. Upload the .bin file to Google Drive.
  3. Right-click the file in Google Drive, click Share, and set General Access to "Anyone with the link".
  4. Copy the link.

About

RemoteUpload is a versatile, lightweight library for ESP32 and ESP8266 microcontrollers that streamlines the Over-The-Air (OTA) firmware update process. Compatible with both Arduino IDE and PlatformIO, the library provides a dual-functionality approach by supporting standard local network uploads while unique

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages