Fixed a nullpointer in the upgrade code that causes devices with no MQTT configured to enter a reboot loop while upgrading. This bug is present in 2.4.1 and 2.4.2
If you see this before trying OTA upgrade to v2.4.3, please just download the bin file from this release and upgrade via upload on the status page. You can find the correct bin file by looking at the status page. For example, if it says "Chip: esp32s2" under "Device information", you should choose ams2mqtt-esp32s2.bin from the Assets section below.
If you have already tried OTA upgrade to v2.4.3 and the device has entered a reboot loop, you can flash your device using Google Chrome, Microsoft Edge or Opera:
- Connect your device to USB on your computer
- Go to this page: https://www.amsleser.cloud/flasher
- On your device, hold the AP (A) button and click the Res (R) button, then release AP button
- Click on "Connect to device"
- Select "ESP32-S2" device and click connect
- The web page will now detect your device and show you a list of available versions
- Select v2.4.3 and click "Start installation"
- A terminal with progress will show, when this hits 100%, you can click Res (R) button
- Your device should now be working again
More information about flashing here:
https://wiki.amsleser.no/en/Update-firmware-usb