ESPSomfy-RTS/data-src/js
cjkas 5721d34a34 feat: say when the firmware is flashed over USB
Builds with one app slot (C6, debug, and the C5 to come) have nowhere
for /updateFirmware to write. It answered "Error updating firmware: "
and rebooted.

- ConfigSettings::otaSlot, from esp_ota_get_next_update_partition().
- The header sends otaSlot, default 1, so only those builds send it.
- /updateFirmware refuses with 400 and a reason, and doesn't stop the
  radio or reboot.
- The web UI's Update Firmware says to flash the onboard image over USB,
  with a backup first. Firmware before the field leaves it undefined,
  which keeps the uploader.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:06:26 +01:00
..
client.js feat: web UI on socket protocol 2 (step 2b) 2026-10-25 20:12:54 +01:00
model.js feat: say when the firmware is flashed over USB 2026-10-28 22:06:26 +01:00
schema.js fix: web UI client review findings (step 2a) 2026-10-25 18:04:07 +01:00
views.js fix: web UI review findings (step 2b) 2026-10-25 20:43:09 +01:00