Skip to content

v2.0.0

Choose a tag to compare

@GreenGrassBlueOcean GreenGrassBlueOcean released this 17 Nov 20:28
a7f0bf2

πŸŽ‰ Release: v2.0.0 β€” Modern Async Architecture, Platinum Quality Scale & OWNd 2.0.1

First stable v2.0.0 release of MyHOME for Home Assistant (1,870+ commits and 420+ merged pull requests since v0.9.4), built on OWNd 2.0.1 and relicensed under Apache License 2.0. Requires Home Assistant 2026.8 or newer (Python 3.14); ready for the Home Assistant 2026.11+ Marketplace (hubs_protocols.building_automation) and HACS (2026.8 – 2026.10). Verified in CI with 6,554 automated tests (100.0% statement coverage across 20,243 statements in 71 integration modules), 455 Golden Corpus fixtures across 21 WHO subsystems, 520 Firmware Oracle inputs across 17 gateway targets, and authentic on-wire captures across 14 gateway models.

"In traces we find the truth."

⚠️ Upgrading from v0.9.4 (Compatibility & Zero-Friction Migration)

  • Minimum Version: Requires Home Assistant Core 2026.8+ (Python 3.14). Installations on older Home Assistant versions should remain on v0.9.4.
  • In-Place Migration: Existing v0.9.4 config entries and /config/myhome.yaml declarations migrate automatically into config-entry settings (migrate.py, legacy_yaml.py), preserving deterministic entity unique IDs (<mac>-<who>-<where>) and compat_name registry names across Home Assistant 2026.11+. Always take a full backup first and follow Upgrading from v0.9.4.
  • License: Relicensed under Apache License 2.0 (#922), matching Home Assistant Core and OWNd.

🌟 Major Capabilities in v2.0.0 (vs. v0.9.4)

  • Standalone Async OWNd 2.0.1 Engine & 11 IP Gateway Profiles: Non-blocking asyncio TCP engine (mypy --strict, 0 errors), clear-text / numeric / HMAC-SHA1 / HMAC-SHA256 handshakes, per-target priority FrameScheduler, idle command-socket recovery, and firmware-aware profiles across F454, F455, F461, MH202, MH201, MyHomeServer1, MH200N, MH200, H4890 / AM4890 (incl. Legrand 067292), F452 / F453 / F453AV, and H4684 / H/L4684 (plus F459 WHO = 1013 identification; Legrand 3578 USB/serial OpenZigBee deferred to v2.1+).
  • Home Assistant πŸ† Platinum Quality Scale (54/54 rules): Typed entry.runtime_data, OptionsFlowWithReload, in-place Reconfigure (host / port / password), self-clearing Home Assistant Repairs (actuator_fault, gateway identity mismatches, unconfigured timezone 999), PII-redacted Diagnostics, HA websession injection for UPnP, and bundled local brand assets.
  • Multi-Gateway Topologies: Standalone isolated buses, shared-bus Primary / Secondary (WHO delegation without duplicate YAML/actuator/button entities), and Warm Standby automatic failover when a primary gateway drops.
  • 11 Entity Platforms + UI Device Triggers:
    • Lighting (WHO = 1): Relays, coarse/fine dimmers, DALI DT8 tunable white & HSV color (lock_features), software-stepped fades, hardware-offloaded DIN bus timers (myhome.turn_on_timed), declared physical groups (#G), and debounced broadcast resync.
    • Covers (WHO = 2 & WHO = 1) & Door-Entry Locks (WHO = 6): Pluggable kinematics (simple, timed with ~1 s live interpolated position animation, min_motor_pulse, min_position_delta, and myhome.calibrate_cover on-bus stopwatch calibration, native Dimension 10/11 with automatic Dimension 10 promotion, and venetian slat tilt), impulse gate/garage covers with optional safety approval, and constant-time PIN lock entities + intercom call events (WHO = 6 / 8).
    • Thermoregulation (WHO = 4): Zone thermostats, 3-speed & 0–10 V fancoils (Dimension 11 / 19 / 20), Dimension 13 local knob offsets, Dimension 60 zone humidity, 99-zone 3550 (#0, *4*3100*#0## weekly program restore) & 4-zone 4695 (#0#1) central units, probe-less thermo actuator switches, and paced startup sweeps.
    • Multi-Room Audio & FM RDS Tuners (WHO = 16 & WHO = 22): F441 / F441M matrix zones, DecoderPool dynamic streaming proxy for Music Assistant / Cast / DLNA companions, anti-hiss auto-off & group handover, and F500 / F500N FM RDS tuners (media_player, number, button).
    • Energy (WHO = 18), Sensors, PIR Motion (WHO = 1), Dry Contacts (WHO = 9 / 25), Burglar Alarm (WHO = 5) & CEN/CEN+ (WHO = 15 / 25): F520 / F521 / 3522 active power (W) and unit-safe RestoreSensor energy totalizers (Wh / kWh), temperature/lux sensors, exact-timer Scenarios-mode & WHAT 39 Stand-alone PIR motion sensors, invertible dry contacts, read-only 3485 / 3486 alarm panel with optional AUX arm/disarm, and 8-action UI device triggers.
  • Expose Home Assistant to the SCS Bus (expose) & In-Band Bus Monitor (<myhome-openwebnet-bus-monitor>): Virtual WHO = 1 / 2 actuators (with H4652/2 hold-up step-up, retry deduplication, and custom Home Assistant scripts), firmware-gated WHO = 4 / 18 virtual probes, WHO = 13 bus clock sync, and zero-extra-socket 500-frame live Lovelace Bus Monitor with 1-click redacted trace export.

πŸ”§ Final Changes Since v2.0.0b18 (#906, #912–#915, #919–#923, #927–#929, #931, #933, #935, #937–#940, #942)

  • Energy Totalizer RestoreSensor Unit-Safe Restore (#907, #913, #919, #920): MyHOMESensor (sensor.py) now inherits RestoreSensor (async_get_last_sensor_data), restoring native_value alongside its stored native_unit_of_measurement (kWh β†’ Wh) so user unit overrides to kWh never divide restored readings by 1,000 across restarts.
  • Thermoregulation Dimension 19 / 20 Output Codes, Multi-Actuator F455 Zone State, Silent-Zone & Probe Fallback Polling & Standalone N4692 Knob Detents (#908, #912, #914, #919–#921, #928–#929, #933, #938, #940, OWNd#174, OWNd#178, OWNd#181): WHO = 4 Dimension 19, Dimension 20, and #20 codes 14..16 (MyHomeServer1/F461 extended fan-coil OFF speeds) and 100 (0% proportional 0–10 V / Sabiana Auto-idle) decode as inactive rather than active heating/cooling fans, and 10..13 / 17..22 follow the bt_thermo_manager active/inactive bitmask; standalone BTicino N4692 physical knob detents (Β±1..Β±3 Β°C via Dimension 13 + _local_target_base pairing, Discussion #770) update target_temperature; silent WHO = 4 zones across every gateway run a paced, result-based post-sweep poll (30 s grace) for missing temperature, knob, setpoints, remembered actuator numbers (1..9), and β€” on F455 where the zone-form *#4*Z*20## is refused β€” Dimension 19 (*#4*Z*19##) as the final authoritative read so multi-actuator zones (e.g. valve on actuator 1 + fan coil on actuator 2) report their active state and ignore repeated off echoes from already-off actuators (#940); WHERE >= 100 temperature probes wait 15 min (900 s) between fallback reads and stop on gateway NACK/timeout refusal (#938); OWNd 2.0.1 (F455Profile) sets supports_general_heating_status = False and supports_heating_humidity_request = False; live BTicino 3550 *4*3100*#0## weekly program restore trace added (#912).
  • Scenarios-Mode PIR Motion Sensor Exact Timer & WHAT 39 Safety Hold (#941, #942): Replaced the 30 s polling loop and + 15 s margin on MyHOMEMotionSensor (WHO = 1, e.g. K4659 in Scenarios mode Object 128) with an exact one-shot async_call_later timer (DIMENSION 7 + 3 s grace), while preserving a 10-minute safety hold for Stand-alone detectors that emit WHAT 39 (#777), adapting automatically if a user lengthens DIMENSION 7 at runtime, and scoping _last_updated strictly to motion/clear events.
  • Covers WHO = 2 Dimension 10 Auto-Detection & Mid-Move Target Hand-Off (#927, #935): Standard covers automatically promote to native Dimension 10 positioning upon receiving valid 0..100% position feedback on their own point-to-point WHERE, and hand off in-flight set_cover_position targets seamlessly during mid-move promotion.
  • Sound Diffusion WHO = 22 Output-Area Decoding & Quiet Single-Retry Negotiation (#916, #924, #929, OWNd#171, OWNd#176, OWNd#179–#180): OWNd 2.0.1 (building on 2.0.0) decodes <mmtype>#<area> on WHO = 22 power-on/off and notifications (WHAT 0, 1, 2, 21, 22, 23, 34) into output_area / multimedia_type rather than a source, and logs single-attempt session negotiation closes that immediately recover on retry (MH201) at DEBUG instead of WARNING.
  • HA Core 2026.8+ Floor, DeviceInfo Dataclass Compatibility, Shared-Bus Topology & Diagnostics Accuracy (#915, #921, #931, #937, #939): Eliminated deprecated mapping-style DeviceInfo access for Home Assistant 2026.12+ (core#192323), aligned the minimum Home Assistant Core floor to 2026.8.0, kept Bus Topology selectable when a secondary/standby is the last MyHOME entry, stopped follower/standby gateways from re-creating primary-owned YAML WHO = 14 / WHO = 9 / 25 entities, updated diagnostics.py (device_count + recursive migrated_yaml_platforms redaction), and clarified expose 2-wire LED/ACK behavior.
  • Marketplace 2026.11+, Apache-2.0 Docs & Unified Golden Corpus (#906, #922, #923, #929, #942): Added Home Assistant 2026.11 Marketplace categories (hubs_protocols.building_automation) and compliant hacs.json; refreshed Apache-2.0 starting README.md, canonical /latest/ manual, and 7 AST-backed CI doc-contract gates; unified tests/golden/corpus.json (455 fixtures across 21 WHOs via scripts/sync_golden_corpus.py) and zero-tolerance CI Trace-Shape Coverage Gate (tools/golden/check_trace_shape_coverage.py).

πŸ›οΈ Founding Tribute & Ceremonial Final Sign-Off: @anotherjulien

In 2020, @anotherjulien created both MyHOME for Home Assistant and the OWNd protocol library from scratch, giving the BTicino and Legrand community its open-source home in Home Assistant. Beyond laying that original groundwork, he created the OpenWebNet Encyclopedia (1,530+ commits and its structured, provenance-backed Machine KB powering openwebnet-mcp), providing high-quality, machine-readable protocol, diagnostic (WHO = 1001 / 1004 / 1013), and device-model (MHCatalogue.db / OPEN.db Objects & Modules) insights that dramatically accelerated and grounded v2.0.0 engineering. As an honor to where this journey began and the knowledge base that powered it, we invited @anotherjulien to give the ceremonial final sign-off on PR #232 to bring v2.0.0 home to master.

🌟 Dedicated Recognition: @gdluck

A special, heartfelt thank-you goes to @gdluck for an extraordinary body of engineering and countless late-night hours across the entire OpenWebNet-HA stack β€” authoring 328 commits across 4 repositories (137 commits / 46 merged PRs in MyHOME, 145 commits / 42 merged PRs in OWNd, 40 commits in own-firmware-oracle, and 6 commits in openwebnet-mcp) and wiring up a live multi-gateway hardware lab (F461, F455, F524, MH200, 3550 99-zone central unit, KW4691, F430/2, F430/4, F411/4, F418, F429, F428) to verify every hypothesis on physical SCS hardware:

  • Thermoregulation (WHO = 4 / 1004): Solved the separation of Dimension 12 (setpoint in force after knob offset) from Dimension 14 (commanded setpoint) (#791, #810, #812, #820), Dimension 13 startup local knob offset reads (#902), Dimension 20 actuator status & hvac_action derivation (#792, OWNd#140), Dimension 19 multi-actuator F455 zone state & repeated actuator-OFF arbitration (#940), the unified Dimension 19 / 20 output-code table & bt_thermo_manager active/inactive bitmask (OWNd#174, OWNd#178), result-based paced silent-zone post-sweep polling across all gateways (#873, #933), 15 min (900 s) probe fallback reads with NACK/timeout refusal latching and #886 FIFO desync protection (#938), 41-zone MyHomeServer1 timeout analysis (#886), 3550 central unit flags and *4*3100*#0## weekly program restore (#880, #884, #894, #912, OWNd#169), and WHO 4 .actuator / #4#IF disambiguation (OWNd#168, OWNd#181).
  • Protocol Engine (OWNd), Encyclopedia Audit & Golden Corpus: Led the 7-part OpenWebNet Encyclopedia & openHAB comparative audit (#893, OWNd#155–#161), hardened WHO 4 Dimension 22 (OWNd#136, OWNd#151, #849) and WHO 18 Dimension 52 4-digit year crash guards (OWNd#157), implemented WHO 0 (WHAT 40–46), WHO 1 preset/step/timer builders & WHAT 39 motion-end (OWNd#135), WHO 18 Dimension 1200, WHO 22 output-area decoding (OWNd#176, OWNd#179, OWNd#180) & bare-power crash refusal (OWNd#163, #898), WHO 25 Scenario Plus (WHAT 11–15), WHO 13 Dimension 27, WHO 1001 Dimension 11, and WHO 1004 diagnostics, fixed idle command-session reopen (OWNd#167) and single-retry negotiation logging (OWNd#171), and co-built the canonical 455-fixture Golden Corpus (OWNd#173, OWNd#175, #929).
  • Firmware Oracle, Covers, Lighting & Shared-Bus Topologies: Built the OwnPlantEngine (plant-f461-bench), thermo-zone-requests, thermo-dim22, who13-identification, and ownd-audit-frames suites and 3488 HOMETOUCH emulation target in own-firmware-oracle; delivered timed cover 0.5 s early end-stop settle (#847) and unknown startup state (#795, #820), fine dimmer Dimension 1 refresh after coarse WHAT 2..10 echoes (#851, #852), 0004 β†’ 04 Area-0 canonicalization (#798), post-auth manual gateway identification (#804), shared-bus follower deduplication (#896, #915), lone-follower Bus Topology recovery (#939), and live plant trace fixtures across F461, F455, F459, F454, MyHomeServer1, 3488 HOMETOUCH, and 3550 (#799, #810, #812, #815, #823, #861, #862, #865, #871, #872, #912).

πŸ’¬ A Personal Note from @GreenGrassBlueOcean

"I would like to thank everybody for one hell of a ride. My annoyance with my constantly crashing MH200 is what led me to pause my work on quantitative programming to build this. I never expected to find so many people who stepped up to help me along the way. Having a background in systems engineering turned out to be exactly what this project needed β€” I knew very little about the WHO protocol or all the different gateways at the start, but you learn extraordinarily fast once you begin recognizing how everything fits together through all the traces, insights, and help shared along the way." β€” @GreenGrassBlueOcean

πŸ‘₯ Heartfelt Thanks to Our Maintainers, Contributors & Trace Providers

Our deepest thanks to everyone across the OpenWebNet-HA community who made v2.0.0 possible:

Docs: https://openwebnet-ha.github.io/MyHOME/

Upgrade Guide (from v0.9.4): https://openwebnet-ha.github.io/MyHOME/latest/migration/upgrade-from-094/

Discussions & Feedback: https://github.com/orgs/OpenWebNet-HA/discussions