31 Commits
Author SHA1 Message Date
alex 72e80f236e build: share maintained ESP32 cache 2026-09-20 19:43:52 +10:00
alex 3892ce1ca9 build: standardize ESP32 3.3.11 test baseline 2026-09-18 02:41:49 +10:00
alex ea6f1cf353 ci: add current ESP32 validation lane 2026-09-17 12:10:59 +10:00
alex e3c9388ffc docs: correct MQTT example and ESP8266 guidance 2026-09-17 09:11:58 +10:00
alex e6dee4727d docs: clarify ArduinoHA discovery guidance 2026-09-08 09:52:56 +10:00
alex ea3f41b3f9 release: prepare ArduinoHA v3.2.0 2026-09-07 20:46:00 +10:00
alex 0dbf0ecb75 test: rename HA MQTT test harness 2026-09-07 19:29:21 +10:00
alex 50cf1c36f0 test: update MQTT contract support dependencies 2026-09-07 08:12:18 +10:00
alex bf18695c13 test: extract reusable HA MQTT contract testkit 2026-09-06 20:02:03 +10:00
alex e11fc4ace1 Merge pull request #1 from alexhopeoconnor/maintenance/ha-mqtt-compatibility
feat: merge Home Assistant MQTT compatibility release
2026-09-06 08:50:38 +10:00
alex ac08bf8431 style: remove trailing blank lines 2026-09-06 08:46:07 +10:00
alex 35b375b497 feat: improve MQTT discovery publishing and examples 2026-09-04 09:52:20 +10:00
alex 7f28604887 Stabilize Home Assistant contract CI 2026-09-02 07:48:48 +10:00
alex 56d74df55a Release ArduinoHA v3.1.0 2026-09-02 07:14:20 +10:00
alex 84cc0037b1 Improve release preparation tooling 2026-09-01 17:29:54 +10:00
alex 29ca5b2a29 Release v3.0.2 2026-09-01 11:39:46 +10:00
alex 5296fb1831 Release v3.0.1 2026-09-01 10:57:59 +10:00
alex 96c5aa6e78 feat: prepare ArduinoHA 3.0.0 2026-08-27 14:25:38 +10:00
alex 9d3eaa61f7 docs: clarify maintained fork installation 2026-08-25 09:01:06 +10:00
alex 3ac7fc98be Release home-assistant-integration 3.0.0 2026-08-24 22:08:19 +10:00
alex d03766ffbc Refactor ArduinoHA logging and add MQTT diagnostics.
Move ArduinoHA to a structured, runtime-configurable log model and instrument HAMqtt with disconnect and publish failure telemetry so ESP8266 MQTT failures can be diagnosed without patching PubSubClient first.
2026-05-05 22:29:48 +10:00
alex b9f4fd7f4b Per-entity availability, deferred discovery publish, suggested precision
- Add HAAvailabilityConfig for per-entity availability_topic and payloads
- Defer discovery until MQTT connected; publish availability after discovery
- HASensor/HANumber: optional suggested_display_precision in discovery
- HASerializer/HADictionary: extend for new keys; update device types and mocks
- Docs and examples reflect availability and precision usage
- Tests updated for discovery and availability behavior
- Ignore .cursor/ in repo root
2026-05-05 17:47:55 +10:00
alex 8ba5482892 test: add MQTT callback publish regressions and mock callback tracking
PubSubClientMock flags inbound callback context and counts publish attempts
from callbacks. Entity and core tests assert unsafe callback publishes are
rejected by the mock (baseline before HAMqtt deferred publish).
2026-05-05 13:52:00 +10:00
alex c9e6eef5b2 Add ArduinoHALog helpers, extend ArduinoHADefines, update mqtt usage doc 2026-04-22 12:09:12 +10:00
alex 40b98a38ee Migrate unit tests to PlatformIO Unity
Replace the legacy tests/ tree (AUnit, EpoxyDuino, Make, AUniter) with
PlatformIO Unity suites under test/, shared helpers, and platformio.ini.
Remove AUnitHelpers and drop the AUnit include from ArduinoHA test builds.
Refresh docs to Markdown-only and document the test workflow in CHANGELOG.
2026-04-19 23:24:28 +10:00
alex 7c419cb99e Add PlatformIO library.json and README note
Declare PubSubClient dependency; document lib_deps for PIO consumers.
2026-04-19 21:17:11 +10:00
alex 25fc356a0a Update fork metadata references.
Align the public package metadata and README badge with the maintained alexhopeoconnor fork while preserving upstream authorship credit.
2026-04-18 01:23:26 +10:00
alex 7d5d70d525 Modernize MQTT discovery compatibility and runtime refreshes.
Align ArduinoHA with current Home Assistant MQTT discovery expectations by adding default entity IDs, device discovery support, safer runtime discovery refresh behavior, expanded entity category coverage, and the tests/docs needed to support the migration away from legacy object_id payloads.
2026-04-16 19:49:50 +10:00
alex 7894f0c621 Fix MQTT client ownership and base device cleanup.
Store the production PubSubClient instance directly on HAMqtt and release base device serializers on destruction to avoid invalid deletes and leaked serializer allocations.
2026-04-16 17:39:42 +10:00
alex d954543236 Fix HASelect long-options parsing and add dynamic HANumber config updates.
This prevents overflow-related crashes when select options exceed 255 characters, adds runtime min/max/step updates that republish discovery config, and includes related HAText compilation fixes with test coverage.
2026-04-16 16:44:44 +10:00
alex 2ebdcf302b Add fork-driven MQTT and entity feature upgrades.
This integrates configurable MQTT reconnect behavior, the new Text entity, default lambda callback support across command-capable entities, and entity_category support for button/sensor/number families with test coverage.
2026-04-16 15:38:26 +10:00