feat: add firmware versioning and device_type support (NebuleAir/ModuleAir)

- Add VERSION file (1.0.0) and changelog.json for firmware tracking
- Add device_type config param (nebuleair_pro default, backward compatible via INSERT OR IGNORE)
- Add device_type select in admin.html Protected Settings
- Add version badge and changelog modal in Updates section
- Add get_firmware_version and get_changelog PHP endpoints
- Display firmware version in update_firmware.sh after git pull

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
PaulVua
2026-02-11 16:12:18 +01:00
parent dc1739e033
commit 50a8cdd938
6 changed files with 230 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ config_entries = [
("MPPT", "0", "bool"),
("NOISE", "0", "bool"),
("modem_version", "XXX", "str"),
("device_type", "nebuleair_pro", "str"),
("language", "fr", "str"),
("wifi_power_saving", "0", "bool"),
("cpu_power_mode", "normal", "str")