Skip to content

Feature Suggestion #284

@michaelheiml

Description

@michaelheiml

Hi,

updating several devices with a new firmware is time consuming.

Using current method (update 1 device at a time) takes around 30s minute for a device (go to update site, upload binary, wait for restart..) => takes 25 minutes for 50 devices (20 if I continue to the next device while firmware is uploading on the former device).

Suggestion: provide path to new firmware file via URL parameter, example:

a) String url = "https://drive.google.com/uc?export=download&id=1LDRlyZaZTF-bxHjBDEiL2obMxYHtf3YT"
b) http://192.168.1.100/update?param1=url

  1. when b) is called in browser, update is done automatically without user interaction
  2. additonally, ElegantOTA has a method that takes url as argument, immediately starting the update process, like ElegantOTA.Update(url);

When passing URL, this takes maybe 2 minutes since all the devices will download the firmware simultaneously, but thats still a huge time saver.

In my case, I send a JSON over MQTT to all known devices that enables Wifi, Server and ElegantOTA. I would add the URL as an extra parameter and all devices will update automatically from this URL without user input + reboot.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions