Commit Graph
15 Commits
Author SHA1 Message Date
Yurii 4004927ecd refactor: simplify task configuration and registration 2026-11-29 11:27:13 +03:00
Yurii de1e43c707 refactor: rename the Core task manager to App 2026-11-29 11:27:13 +03:00
Yurii 62d40bdbf0 fix: enforce safe minimum equitherm exponent 2026-11-29 10:24:21 +03:00
Yurii 86adbc0db7 fix: enforce minimum heating hysteresis 2026-11-29 10:24:06 +03:00
Yurii d40b7cb85a feat: publish MQTT field changes with periodic refresh
Track 89 settings and state fields with partial structure snapshots and a
fixed-capacity map of publication timestamps. Publish changed or expired
values in bounded passes, updating snapshots only after successful queue
acceptance and keeping failed fields eligible for retry.

Refresh fields after reconnecting and affected temperatures after unit or
Equitherm mode changes. Keep the status heartbeat independent, cache DHW
limits for MQTT and API consumers, and clear non-finite retained readings.

Default the forced publication interval to 60 seconds and accept 15 to
3600 seconds in the API and UI. Set Home Assistant state expiration to
twice this interval and refresh discovery when the interval changes.

Remove network connection and dedicated fault/diagnostic availability
publications. Use existing active states and RSSI for HA availability.
2026-11-29 05:43:52 +03:00
Yurii a629589122 fix: normalize setting changes and reject non-finite control values
Round settings to their stored precision before detecting changes and
applying relevant range checks. Accept the minimum sensor factor of 0.09.

Handle matching NaNs and infinities consistently in float comparisons.
Reject non-finite OpenTherm setpoints and PID results before they affect
heating control.
2026-11-29 05:43:52 +03:00
Yurii cc6131eac9 refactor: define OTA upgrade flag and MQTT mutex inline 2026-11-28 00:19:16 +03:00
Elvin Luff 8a61cd1861 feat: added build for thrm_one 2026-11-27 22:17:27 +03:00
Yurii 1d1a57ecad refactor: simplify conditions and standardize formatting 2026-11-25 03:37:16 +03:00
Yurii 8b2678bbbc feat: configure Home Assistant discovery and retry publications 2026-11-25 03:36:56 +03:00
Yurii 65df4b7f5a fix: harden configuration and runtime state handling 2026-11-25 03:36:46 +03:00
Yurii 4e71915222 feat: merge master Ethernet support into dev
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.
2026-11-23 21:06:26 +03:00
Yurii c354ecd6e0 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 19:25:37 +03:00
Yurii 0b07e88812 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 19:25:37 +03:00
Yurii 78056ce32a 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-23 19:25:37 +03:00