Skip to content

Upgrade to new release using Over The Air flashing

Robert van den Breemen edited this page Dec 23, 2021 · 13 revisions

To upgrade from one release to the next once you are set up, you can use the WebUI to do an Over-The-Air (OTA) upgrade of the ESP8266.

  1. Download the latest release from the Github release page: https://github.com/rvdbreemen/OTGW-firmware/releases
  2. Now goto your OTGW WebUI, using: https://otgw.local OR https:
  3. In the webUI click on the file-explorer icon in the navigation bar. File Explorer Button
  4. Optional: To save your personal settings, download the "setting.ini" file. So you can upload it after you upgraded the device. You can skip this, but then you will have to setup after a release upgrade again.
  5. In the file explorer you need to click on the [Update Firmware] button. Update Firmware button
  6. In the flash firmware utility UI you need to upload both binaries for each release. Firmware flash utility webpage
  7. Choose your firmware, make sure to select the right ino.bin or mklittlefs.bin. Then hit the flash firmware OR flash littlefs button.
  8. Be patient while flashing, this does take a little while. You can browse the web while waiting, or, read the news on your mobile.
  9. Make sure to repeat step 7 for both the firmware and the matching filesystem.
  10. Optional: After flashing the filesystem it will have lost the settings. In case you saved the settings, you can upload the setting.ini using the file explorer UI. Or, just goto the settings page and setup your OTGW once more.

The wifi settings should not be overwritten by OTA flashing, if you need that, then it's best to flash your device like an initial setup and erase your ESP8266 before you flash the first time.