Chat freely about anything...

User avatar
By ftheirs
#54592 Hi everyone!

I've been working with ESP8266 for a couple of months and I could upgrade the firmware with the BasicOtA example. Now I want to move forward and try the OtA through a HTTP server as describe in http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html#http-server but that's completely unknow for me.

So, my question is simple:
- Is there a tutorial to configure a simple HTTP web server to use it to do the FOTA?
- What are the options to "make" this server? I'm working in Windows but I use also Ubuntu in a virtual machine, so I have no restrictions in the SO.
- Finally, I would like to run this server in an embedded linux (it should have the MQTT broker and the update server), so, if the solution can run on arm-linux it would be better.

Any help would be really appreciated, I'm totally lost and everything is new for me in this field.

Many thanks!
Fernando
User avatar
By rudy
#54603 I'm interested in much the same thing. I'm sure a lot of people are.

I have not done anything with the Raspberry Pi, or anything Linux based, but I see it as a logical choice. I also am interested in implementing a MQTT server.
User avatar
By krzychb
#54682
- Is there a tutorial to configure a simple HTTP web server to use it to do the FOTA?

I have not seen it. There is no much configuration besides enabling the server and uploading the bin file that will be served for OTA.
ds-414-www.png
nas www


- What are the options to "make" this server? I'm working in Windows but I use also Ubuntu in a virtual machine, so I have no restrictions in the SO.

My favorite option is NAS. My family is using it for backup and it is constantly on. I am using Synology DS-414 and there are several other models. It has web server + PHP out of box. If anybody from your family is making photos / videos and need a reliable data storage, then purchase will be easier to justify. Easy automatic backup of any PC in home network is also worth investment.
ds-414-info.png
NAS info


- Finally, I would like to run this server in an embedded linux (it should have the MQTT broker and the update server), so, if the solution can run on arm-linux it would be better

Synlogy NAS has it out of box. Mosquitto = MQTT broker. openHAB is available as well.
ds-414-paclages.png
nas packages
User avatar
By ftheirs
#54693
krzychb wrote:
- Is there a tutorial to configure a simple HTTP web server to use it to do the FOTA?

I have not seen it. There is no much configuration besides enabling the server and uploading the bin file that will be served for OTA.
ds-414-www.png


- What are the options to "make" this server? I'm working in Windows but I use also Ubuntu in a virtual machine, so I have no restrictions in the SO.

My favorite option is NAS. My family is using it for backup and it is constantly on. I am using Synology DS-414 and there are several other models. It has web server + PHP out of box. If anybody from your family is making photos / videos and need a reliable data storage, then purchase will be easier to justify. Easy automatic backup of any PC in home network is also worth investment.
ds-414-info.png


- Finally, I would like to run this server in an embedded linux (it should have the MQTT broker and the update server), so, if the solution can run on arm-linux it would be better

Synlogy NAS has it out of box. Mosquitto = MQTT broker. openHAB is available as well.
ds-414-paclages.png


Despite there is no much configuration, I know about protocols or server types... so the best solution for me is something "out of the box".
I prefer a free choice first and then I'd think about pay the service. I don't really know if I'll use this for a long time or not.

I'll give a look to openHAB, I think it might be the solution I need.

Many thanks for the help!!