A device can set sensor values with `Authorization: Bearer <token>`
on POST /api/sensor/value while portal authentication stays enabled,
so the portal password is never given to the device.
- the token is 32 random hex chars, created on first boot
- it is accepted only by /api/sensor/value; Basic auth keeps working
- the portal settings show it read-only, with a button to regenerate it
(POST /api/portal/token/regenerate), which revokes the old one
- GET /api/settings/portal and the backup include `api_token`; posting
a valid token restores it
The token is kept in NVS rather than in PortalSettings: adding a field
to Settings changes the /settings.conf layout and would reset all
settings on upgrade.
Adapt W5500 to the native network event queue and select STA or ETH from NetworkSettings. Preserve the existing dev network settings and add a separate C6 Ethernet build without BLE to fit the OTA slot.
Validate with S3 and C6 Ethernet firmware builds, the shared LittleFS image, binary layout checks and targeted network transition checks.
Use threshold_time for the emergency-mode delay in settings, JSON,
portal forms and all five translations.
Convert legacy tresholdTime backup fields to threshold_time.
Correct the NTC voltage threshold macro names while keeping their limits.
Rename indoor_temp_control to smart_control across firmware, REST,
the dashboard and Home Assistant.
Publish state/master/heating/smart_control over MQTT and remove the
redundant state/master/mqtt/connected topic.
Remove the unused sensor connection getter, slug prefix and suffix helpers, UTC conversion and array formatting routines. Drop unused shared strings and the CONFIG_URL macro.
Remove setupUpgradeForm from the shared browser bundle. The upgrade page registers its own submit handler.
Delete the obsolete Python gzip packer and its import. Gulp handles compression when building the web assets.
Split the header-based firmware into services for OpenTherm, heating control, sensors, networking, logging, and the portal. Run these services with MycilaTaskManager and use ESP32OT for the boiler bus.
Move MQTT and Home Assistant discovery to Mycila libraries, expose native crash metrics, and align the board profiles and build hooks with the new dependencies.