OTA Updates¶
The WattWächter supports Over-the-Air (OTA) firmware updates. New versions are provided via the cloud update server and can be triggered in four ways:
- Web interface — Update notification and trigger directly in the browser
- Smartphone app — Update status and trigger in the app
- Cloud Portal — Remote trigger, also for multiple devices at once
- REST API — Programmatically via
/api/v1/ota/checkand/api/v1/ota/start
Update Flow¶
1. Update check → Cloud server is checked for a new version
2. Update start → Firmware download is initiated
3. Download → Firmware is downloaded (LED: magenta)
4. Flash → Firmware is written to flash memory
5. Verify → MD5 checksum is verified
6. Reboot → Device restarts with the new firmware
7. Health check → Device reports the new version
During the update
- The LED switches to solid magenta during the OTA update
- Do not disconnect power!
- The device restarts automatically after the update
Release Channels¶
| Channel | Description |
|---|---|
stable |
Stable releases, recommended for production |
test |
Test releases for early adopters |
Troubleshooting¶
| Problem | Solution |
|---|---|
| Update check fails | Check internet connection, verify DNS |
| Download aborts | Check WiFi signal strength, try again |
| Device won't start after update | Wait 30 seconds, then disconnect and reconnect USB-C |
| Version unchanged | Check /api/v1/system/alive — possible fallback to previous version |