-
Notifications
You must be signed in to change notification settings - Fork 34
Upgrade to new release using Over The Air flashing
Robert van den Breemen edited this page Mar 4, 2023
·
13 revisions
To upgrade the firmware once you are set up, you can perform an Over-The-Air (OTA) upgrade via the web interface.
- Download the latest release from the Github release page: https://github.com/rvdbreemen/OTGW-firmware/releases
- Now go to your OTGW WebUI, using: http://otgw.local or just goto the IP of your OTGW directly, for example: http://192.168.0.10
- In the webUI click on the file-explorer icon in the navigation bar.
-
To save your personal settings, download settings.ini so you can upload it after you upgrade. In case you modified other files, like the mqttha.cfg, then download those too.
-
In the file explorer you need to click on the [Update Firmware] button.
- In the flash firmware utility UI you need to upload both binary files for each release.
- Choose your firmware, make sure to select the correct ino.bin, then click the flash firmware button.
- Be patient while flashing, this does take a little while.
- Now repeat step 7 with mklittlefs.bin and click the flash littlefs button.
- If you saved the settings, upload settings.ini using the file explorer, or use the settings page and set up your OTGW again.
- Always reboot after uploading the settings.ini file to make sure the firmware reads the settings back to memory.
The wifi settings should not be overwritten by OTA flashing, if you need that, then it's best to flash your device as an initial setup and erase your ESP8266 before you flash the first time.