Commit Graph
100 Commits
Author SHA1 Message Date
Yurii ec4018310d fix: skip duplicate checks on pull request updates 2026-11-23 18:59:29 +03:00
Yurii 39a0f34798 fix: download TinyUSB sources using SDK revisions
Download lib-builder and TinyUSB source snapshots directly using the
revisions in the installed SDK versions.txt. Avoid the GitHub REST lookup
without maintaining a separate set of commit pins.

Check the archive commit ID, extract the required files and reuse completed
downloads. Incomplete extraction is retried on the next invocation.
2026-11-23 18:39:40 +03:00
Yurii 765508993a fix: recover missing source revisions in S2 TinyUSB builds
Resolve missing SDK revisions to their full GitHub commit IDs and fetch
those commits explicitly before checkout. Keep using the matching source
revision when upstream branches no longer expose it.

Always materialize the requested checkout, including fresh no-checkout
clones whose HEAD already matches the pinned revision. Cached commits
continue to work without API requests.
2026-11-23 17:52:07 +03:00
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 435b2fe1c5 docs: organize and refresh wiki illustrations
Move active board, adapter and Home Assistant images into assets/wiki.
Add English and Russian screenshots for weather compensation and
manual outdoor temperature configuration.

Remove unused legacy assembly and connection pictures.
2026-11-23 07:36:55 +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 d6e1ccb22b fix: use unique device defaults and MQTT client identifiers
Allow empty hostname and MQTT prefix defaults to use chip-derived names.
Use the configured MQTT prefix as the broker client identifier.
2026-11-23 07:36:06 +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 3a530d721e docs: update the third-party library list in Gratitude
Replace retired dependencies with the libraries used by the firmware and credit the upstream esp32DHT project.
2026-11-22 02:43:09 +03:00
Yurii 8f659e3e55 feat: add offline ESP32 core dump analysis
Decode native ESP-IDF core dumps against a matching firmware ELF. Report the target, build identity, task stacks, registers, and saved heap metrics with the PlatformIO GDB toolchain.
2026-11-22 02:35:31 +03:00
Yurii 0a6ae9c5d8 feat: update the web portal for the new firmware APIs
Restore legacy backups through the settings APIs, update the dashboard and sensor controls, and keep translations in sync. Package the backup converter separately and wait for all compressed web assets before building LittleFS.
2026-11-22 02:35:04 +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
Yurii b10d91b8fa build: enforce the firmware size limit before creating factory images
Reject images that exceed the application slot, propagate esptool failures, and run the build workflow when the PlatformIO hooks change.
2026-11-22 02:32:55 +03:00
Yurii fc00b3a391 chore: document project engineering and coding conventions
Record the ESP32 development, verification, and coding guidelines. Keep local engineering notes out of Git while retaining the directory placeholder.
2026-11-22 02:31:51 +03:00
Yurii 0439b6f7c4 perf: replace global buffer with MQTT config URL storage 2026-10-25 04:50:43 +03:00
Yurii 353452784f chore: revert README 2026-10-21 14:04:08 +03:00
Yurii b72bccb3d7 refactor: remove ESP8266 support and legacy flash wrappers 2026-10-21 04:34:00 +03:00
Yurii 959a15c11f feat: add authenticated WebSerial log viewer 2026-10-20 07:05:00 +03:00
Yurii 734615e7b5 fix: pin Python version for firmware builds 2026-10-20 05:52:08 +03:00
Yurii c698337b95 fix: always send initial OpenTherm setpoints 2026-10-20 05:26:31 +03:00
Yurii c63b8d44a1 feat: configure OpenTherm channel disabling actions 2026-10-20 05:26:31 +03:00
Yurii 4581ca49cb fix: separate room and heating setpoint state 2026-10-20 05:26:31 +03:00
Yurii cd8764bb97 fix: encode OpenTherm weekdays from one to seven 2026-10-19 20:06:23 +03:00
Yurii 16308866ce fix: render API strings as text to prevent XSS 2026-10-19 20:05:57 +03:00
Yurii f2047b18ba fix: decode heat exchanger temperature as f8.8 2026-10-19 20:05:22 +03:00
Yurii 69ed4ef86c fix: handle BLE initialization failures 2026-10-19 05:24:47 +03:00
Yurii 9cf10201f6 fix: preserve sensor names as strings 2026-10-19 05:22:31 +03:00
Yurii 549dbf4985 fix: reject invalid hostnames safely 2026-10-19 05:22:31 +03:00
Yurii 63aeb2fa25 fix: validate sensor IDs before narrowing 2026-10-19 05:22:30 +03:00
Yurii ab5b96c970 fix: render scanned Wi-Fi names as text 2026-10-19 05:22:30 +03:00
Yurii f613731183 fix: prevent hangs when processing long sensor names 2026-10-19 04:10:21 +03:00
Yurii 85dda5b859 fix: enforce minimum heating setpoint during freeze protection 2026-10-19 03:09:26 +03:00
Yurii 451fe92b7a chore: bump dependencies and fix build for ESP32 C6 2026-10-14 00:17:22 +03:00
Yurii 1695e1ea0d chore: fix build for ESP32 C6 2026-10-13 03:36:59 +03:00
Yurii 00a80f82f1 chore: bump dependencies 2026-10-12 05:44:17 +03:00
Yurii e95045b9b6 Merge branch 'master' into async 2026-10-12 05:42:21 +03:00
Yurii c6df5b59cf fix(opentherm): fixes the inability to enable channels if the max modulation level has become zero for some reason 2026-10-12 04:17:33 +03:00
Yurii 54217fbbc1 chore(git): fix update notes for dev release 2026-05-21 13:37:51 +03:00
Yurii 69116aa3d2 chore(git): fix update of dev tag 2026-05-21 13:27:38 +03:00
Yurii bb6b3f1854 chore(git): update build workflow 2026-05-21 13:16:30 +03:00
Yurii a4ca20f9a9 fix(portal): fix i18n name for extPump.invertState 2026-05-19 23:25:24 +03:00
Yurii 07650b4878 refactor: improved dashboard & restore settings 2026-05-19 21:39:29 +03:00
Yurii ffcacb3d48 fix: translation for volume unit 2026-05-19 19:42:29 +03:00
Yurii bdfa793c49 chore: update build workflow 2026-05-18 00:36:30 +03:00
Yurii 25280bf9b1 chore: added build workflow 2026-05-17 19:32:27 +03:00
Yurii 9c2e420ec7 refactor: use localtime_r(...) for thread safety 2026-05-17 04:46:47 +03:00
Yurii af2d4624b3 chore: fix cpplint 2026-05-17 04:38:53 +03:00
Yurii 14d2262d2f chore: added CI workflow 2026-05-17 03:57:59 +03:00
Yurii 01a70b3288 refactor(translation): updated Dutch language
Currently translated at 100.0% (346 of 346 strings)

Translation: OTGateway/Portal
Translate-URL: https://hosted.weblate.org/projects/otgateway/portal/nl/
2026-05-16 16:40:25 +03:00
Yurii 5d053690c6 refactor(translation): updated Chinese (Simplified Han script) language
Currently translated at 100.0% (346 of 346 strings)

Translation: OTGateway/Portal
Translate-URL: https://hosted.weblate.org/projects/otgateway/portal/zh_Hans/
2026-05-16 16:40:25 +03:00
Yurii ea95b5fa7d refactor(translation): updated Italian language
Currently translated at 100.0% (346 of 346 strings)

Translation: OTGateway/Portal
Translate-URL: https://hosted.weblate.org/projects/otgateway/portal/it/
2026-05-16 16:40:25 +03:00
Yurii dd9cb0b88f refactor(translation): updated English language
Currently translated at 100.0% (346 of 346 strings)

Translation: OTGateway/Portal
Translate-URL: https://hosted.weblate.org/projects/otgateway/portal/en/
2026-05-16 16:40:25 +03:00
Yurii 44fb0afffa refactor: reformat locales 2026-05-16 13:42:28 +03:00
Yurii ef1d6bf195 refactor: update locales 2026-05-15 23:27:51 +03:00
Yurii 2bd3360880 Merge branch 'master' into async 2026-05-11 14:32:24 +03:00
Yurii 79e3c6d433 chore: update version name 2026-05-10 09:47:29 +03:00
Yurii 5482e0b70a chore: update version name 2026-02-16 10:19:26 +03:00
Yurii 11747dd8bd feat: added commit hash 2026-02-16 10:06:26 +03:00
Yurii af1a9b59c4 fix: custom_sdkconfig only for ESP32 C6 2026-02-15 06:30:28 +03:00
Yurii 9c86ad4427 chore: misc 2026-02-15 05:37:09 +03:00
Yurii 5f8ca61d79 chore: added custom_sdkconfig for building 2026-02-15 01:51:30 +03:00
Yurii 1f895690db chore: bump milesburton/DallasTemperature from 4.0.5 to 4.0.6 #213
https://github.com/milesburton/Arduino-Temperature-Control-Library/pull/289
2026-02-13 14:10:08 +03:00
Yurii 13e8bedf3f fix: added await for lang.build() 2026-02-13 11:21:17 +03:00
Yurii 3a6bb03456 chore: fix build 2026-02-12 23:32:39 +03:00
Yurii ced0385d5b Merge branch 'master' into async 2026-01-26 02:19:54 +03:00
Yurii 7fcca3c4aa chore: fix ha blueprints to support all source sensors 2026-01-26 02:09:57 +03:00
Yurii 2f6bd237c7 chore: updated ha blueprints for new releases 2026-01-26 01:59:03 +03:00
Yurii e4d1ba7d7b refactor: added different timeouts for wired and wireless sensors 2026-01-26 01:03:26 +03:00
Yurii 80e2d8e939 Merge branch 'master' into async 2026-01-23 00:25:12 +03:00
Yurii 781b2a1f9c chore: bump pioarduino/platform-espressif32 from 3.3.5 to 3.3.6 2026-01-23 00:17:30 +03:00
Yurii 725185beba chore: reformat platformio.ini and start of removing support esp8266 2026-01-19 21:34:52 +03:00
Yurii c6518db0d3 Merge branch 'master' into async 2026-01-19 20:48:16 +03:00
Yurii 069ba8e864 fix: changes settings from dashboard page fixed 2025-12-21 12:47:37 +03:00
Yurii 3b038c4bd1 Merge branch 'master' into async 2025-12-21 12:33:43 +03:00
Yurii 56a8574aba chore: bump version to 1.6.0 2025-12-20 12:06:25 +03:00
Yurii 3adfabdf40 chore: bump pioarduino/platform-espressif32 from 3.3.4 to 3.3.5 2025-12-20 12:06:06 +03:00
Yurii a9220d9fa1 refactor: always set temperature to ID 1 2025-12-13 06:25:16 +03:00
Yurii 5a14857f52 refactor: minor changes 2025-12-13 06:21:21 +03:00
Yurii e487c78921 feat: added sensor type "OT, Cooling hours" 2025-12-13 06:17:15 +03:00
Yurii 6c3b79bda1 fix: OT protocol version in JSON of slave fixed 2025-12-13 04:15:48 +03:00
Yurii 09c50d5df8 refactor: fixed localization after #204 2025-12-12 15:27:42 +03:00
Yurii 348fab39bb refactor: refactoring after #204 2025-12-12 15:21:02 +03:00
Yurii eafb33cb6a refactor: fix typo 2025-12-09 21:10:23 +03:00
Yurii 0038a200ca refactor: some fixes localization 2025-12-09 20:21:10 +03:00
Yurii 1112a25172 chore: bump h2zero/NimBLE-Arduino from 2.3.3 to 2.3.7 2025-12-09 20:20:44 +03:00
Yurii 69b3cdf05a refactor: fixed localization for equitherm 2025-12-09 19:56:33 +03:00
Yurii 00baf10b9f chore: removed platformio_dependabot 2025-12-09 18:18:10 +03:00
Yurii 6f8c8567a0 chore: bump pioarduino/platform-espressif32 from 3.3.2 to 3.3.4 2025-11-15 13:08:43 +03:00
Yurii e573ce582f fix: generation of default_entity_id for HA fixed 2025-11-12 20:21:39 +03:00
Yurii 0b60734a3b refactor: using abbreviations for HA 2025-11-12 20:18:16 +03:00
Yurii 1d7f85f462 refactor: migrating from Telnet to WebSerial for remote logging 2025-11-06 13:29:59 +03:00
Yurii 192f4ee18b refactor: improved OTA upgrade 2025-11-06 13:23:19 +03:00
Yurii f048d973d3 chore: bump pioarduino/platform-espressif32 from 3.3.2 to 3.3.3 2025-11-06 13:21:34 +03:00
Yurii d4603aa0de fix: compatibility with HA 2025.10+ fixed #189 2025-11-02 23:43:02 +03:00
Yurii d576969ea4 refactor: initial async web server 2025-11-02 11:28:46 +03:00
Yurii b9010643f0 feat: added GPIO inversion setting for extpump 2025-10-31 21:08:35 +03:00
Yurii 5667199988 refactor: reset BLE/DALLAS address if not valid 2025-10-14 07:38:30 +03:00
Yurii cf81ff5856 refactor: improved work with BLE sensors 2025-10-10 05:35:57 +03:00