ayushsharma82 / ElegantOTA

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

Don't flash when IDs are set. #65

Closed ninjaju closed 2 years ago

ninjaju commented 3 years ago

Hello,

Thank you for your great job!

I found an issue.

I'm with 2.2.6.

I set ID and password on the /update page with this line : AsyncElegantOTA.begin(&server, "admin", "admin"); // Start ElegantOTA

When I flash with the new firmware the update is not set. If I remove the ID and flash, it's working fine.

Thank you for your support. :)

ayushsharma82 commented 2 years ago

Hi @ninjaju , I've added some fixes in id-fix branch, can you please test those out and see if it fixes your issue? You can download that branch and replace it with the existing ElegantOTA folder in your Arduino libraries folder.

ayushsharma82 commented 2 years ago

Fixed with v2.2.8 - https://github.com/ayushsharma82/ElegantOTA/releases/tag/2.2.8

Thanks for reporting the issue.