Zum Inhalt springen

WetterCubePlus/Updates (OTA)/en

Aus WetterCube Wiki
Dies ist die englische Fassung. Zur deutschen Fassung

The cube updates itself over Wi-Fi (OTA, "over the air") without a USB cable. The new firmware is downloaded from GitHub Pages.

Automatic check and update icon

  • Two minutes after start and then every 6 hours the cube checks whether a newer version has been released (after an error it retries after 1 hour).
  • If there is one, an orange update icon appears in the top right corner of the main screen. It stays until the update has been installed.
  • Version numbers are compared: an older or identical published version triggers nothing.

Installing an update

  • On the display: tap the icon, check the versions, choose "Jetzt installieren" (install now). "Später" (later) closes the window.
  • Via browser: web interface → Firmware-Update → "Auf Updates prüfen" → "Jetzt installieren".
  • During installation the display shows a progress bar. Do not disconnect the device from power; it restarts by itself afterwards (about 1 minute).
  • If the update fails (e.g. no internet), the display briefly shows the error and the device keeps running the old version.

Settings (Wi-Fi, brightness, high scores …) are kept across an update.

Notes

  • After a release, GitHub Pages sometimes needs a few minutes to serve the new firmware. On a download error, wait a moment and try again.
  • The device only offers newer versions. Going back to an older version is therefore not possible with the update button; it requires publishing a new, higher version containing the old state.

Emergency: reinstall the firmware via USB

If the cube no longer starts at all, the firmware can be reinstalled via USB with the web installer or from the Arduino IDE. The files (bootloader.bin, boot_app0.bin, partitions.bin, firmware.bin) are attached to every release. Do not tick "erase device" if you want to keep your settings.