Commit Graph
6 Commits
Author SHA1 Message Date
Yurii dc72966aca style: resolve cpplint warnings in firmware sources
Place C headers before C++ headers in sensor, metrics, utility and
application sources.

Document the owned cache of the applied MQTT prefix and suppress
runtime/string only for this variable. Preserve MQTT reconfiguration
and prefix buffer cleanup.

Validated with cpplint 2.0.2 over include, lib and src using CI filters.
2026-11-23 17:17:45 +03:00
Yurii 558d52fa9b fix: support clean SDK builds and portable C6 compiler flags
Create the SDK source directory before pioarduino populates it so its
project generator supplies app_main when Arduino autostart is disabled.

Skip TinyUSB setup for S2 clean targets before accessing SDK packages.
Move C6 constexpr attributes into a forced include header to preserve the
size optimizations across SDK metadata parsing and POSIX shell execution.
2026-11-23 08:41:21 +03:00
Yurii eb5f6c9b46 fix: correct threshold names across firmware and portal
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.
2026-11-23 07:36:30 +03:00
Yurii 7e1d0ddff2 feat: expose smart heating control across device interfaces
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.
2026-11-23 07:35:37 +03:00
Yurii 9ff1bd14f5 refactor: remove unused code from firmware, portal and build scripts
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.
2026-11-22 03:27:25 +03:00
Yurii 3fb433d3eb refactor: migrate ESP32 firmware to task-managed services
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.
2026-11-22 02:34:37 +03:00