OTA (Over the Air) update is the process of loading a new firmware to ESP8266 module using WiFi connection rather than a serial communication. This type of functionality is extremely useful in case of no physical access to the ESP module.
Hardware Setup
Add Includes to Skecth to enable OTA
...
You can se full featured OTA Sample:
On IDE: File > Examples > OpenDevice > Projects > SonoffBasic
Info |
---|
The first upload must be done by the Serial, the others can be done by the network. |
...