Update Esp8266 with new firmware


#1

Hi everyone,

Matt mentioned the ability to update the firmware on an Esp8266 device over the internet.
I was wondering if this is an easy enough process.

I simply need to change one line of code. I have checked it on one device, now need to update the rest.
How to I upload a new sketch (built in the arduino IDE) to devices without having to plug them into my computer.


#2

You’ll need the ArduinoOTA library to upload over the network, the ESP and the computer must be connected to the same network.
Read this article, this helped me a lot.
http://arduino-esp8266.readthedocs.io/en/latest/ota_updates/readme.html#arduino-ide