-->
Page 1 of 2

OTA upgrade with seperate webserver port?

PostPosted: Tue Sep 26, 2017 9:49 am
by Warthog
Hello,
I have an application where I created a webserver on esp8266 which is triggered to send some data to a connected ATMega.
As the installation is a little bit hidden I want to ask how to realize an OTA upgrade feature for the LUA files.

Does someone has had the same problem?

Any help is appreciated ;)

Re: OTA upgrade with seperate webserver port?

PostPosted: Tue Sep 26, 2017 10:25 am
by marcelstoer
All IDEs and OTA uploaders on https://frightanic.com/iot/tools-ides-nodemcu/ offer this.

Re: OTA upgrade with seperate webserver port?

PostPosted: Wed Sep 27, 2017 5:07 am
by Warthog
Hello Marcel,
thanks for the information. I will check this out.

Cheers,
Pete

Re: OTA upgrade with seperate webserver port?

PostPosted: Tue Apr 17, 2018 9:05 am
by Warthog
Long time ago, but the request is still valid.

I have a LUA file which creates a webserver to handle requests to roll/unroll a sunblind. That means that the webserver is listening on port 80 for incoming commands.

Now I want to add the OTA feature to update the LUA scripts inside the same WLAN.

Maybe someone can give a hint how to begin? Waiting for a command like "update" and then start the OTA tasks?