ayushsharma82 / ElegantOTA

OTA updates made slick and simple for everyone!
https://elegantota.pro
GNU Affero General Public License v3.0
646 stars 120 forks source link

"Batch" mode #19

Closed brianmwebb closed 4 years ago

brianmwebb commented 4 years ago

Could you add some functionality to allow us to skip the elegant web page where we already know the bin file path and name, a "batch" update mode. We can then can trigger the update when our application awakes from sleep and we know that it has an update waiting for it

ayushsharma82 commented 4 years ago

Do you mean a OTA process where we have same firmware for multiple devices?

brianmwebb commented 4 years ago

Hi,

yes

A feature that will allow us to update multiple devices with the same bin, perhaps we feed parameters of the bin file name and path and then the function skips the webpage and moves directly to the OTA upload?

Regards

Brian Webb

On Tue, 14 Apr 2020, 8:34 pm Ayush Sharma, notifications@github.com wrote:

Do you mean a OTA process where we have same firmware for multiple devices?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ayushsharma82/ElegantOTA/issues/19#issuecomment-613360402, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3T4CPH25ZYKCBDATYFAKTRMQ33XANCNFSM4MHQJ2WQ .

ayushsharma82 commented 4 years ago

That is practically not possible with ElegantOTA, because first of all, we will need a separate update server to handle the query requests of multiple esp8266 devices ( for example, how will our esp8266 code know if this is a new update or it's the same firmware? ).

Sorry to say, this doesn't lie in the ballpark of ElegantOTA which is just a simple tool to upload computer to single device firmware updates.

If you would like this kind of functionality to be developed for your product/devices, then you can send me an email at asrocks5@gmail.com

Regards, Ayush Sharma

mindrunner commented 3 years ago

Why would it not be possible to call ElegantOTA via curl?