-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Basic Remote Server HTTP OTA Update #77
Add Basic Remote Server HTTP OTA Update #77
Conversation
Successfully pulling .BIN file from remote location in VUE.JS Need to figure out handling uploading retrieved BIN file to device. Working off Main updateOTA function.
Successfully implemented working remote server OTA update. ISSUES: Upon fetch, error is presented. Select back button then fetch again and file successfully uploads OTA. File object is successfully loaded but not sent to upload once fetch is selected. Needs work.
Successfully implemented working remote server OTA update. ISSUES
To-Do
Potential Additional Features
|
Fixed fetch error by validating URL (must end with .BIN file). If URL is verified, app will automatically fetch file and load object to variable. Otherwise will show user URL is not valid and not allow upload. Changed button to 'Start Upload' since no need to fetch.
hi I tested it works well with esp32 (wrover) |
That's really useful. |
@t-jones14 I appreciate your work which has been done! but I had some other plans with ElegantOTA. As much as I would love to merge it, it will be counter productive for upcoming v3. You may create a fork for people who would like this functionality. I'm almost finished with ElegantOTA IoT Device Management Cloud which was in the works for past 6 months and it will soon be integrated into ElegantOTA V3 library. This is mainly geared for businesses and there will also be a forever free individual plan for people who can take benefit of the platform for their own projects/hobby. To be clear: ElegantOTA V3 library for uploading through UI will remain free as it is and it will also support more features. The new addition will be ElegantOTA Cloud. If anybody would like to follow the V3 conversation, please check this link: #86 (comment) |
UI Elements added. Successfully fetching .BIN file from remote location in VUE.JS
Probably not the "most-secure" method. Working on proof-of-concept. Need to figure out handling uploading retrieved BIN file to device.
Working off Main updateOTA function.
Any input much appreciated! I think this ability would be an excellent addition to this repo.