Skip to content

feat(zigbee): add USB/serial OpenZigBee gateway support (BTicino 3578 / Legrand 088328) (#233) - #956

Draft
GreenGrassBlueOcean wants to merge 23 commits into
masterfrom
feat/233-openzigbee-serial
Draft

GreenGrassBlueOcean wants to merge 23 commits into
masterfrom
feat/233-openzigbee-serial

Conversation

@GreenGrassBlueOcean

@GreenGrassBlueOcean GreenGrassBlueOcean commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What is the problem

USB-based OpenZigBee gateways (BTicino 3578 / Legrand 088328, MyHOME_Play / MyHOME Radio) are not supported natively in MyHOME (2.0.x), and live hardware testing on a physical Legrand 3578 (fw 1.2.3) in #233 (#7087437805, #7088211437) plus @mvalla's 2.1.0b2 report and follow-up 2.1.0b3 protocol/runtime audits surfaced key protocol, UX, lifecycle, and privacy requirements:

  1. No USB/serial transport or context-gated #9 addressing in 2.0.x: MyHOME only configured TCP/IP gateways, while OpenZigBee #9 suffixes (<ADDR><UNIT>#9, 0#00#9, 0#<UNIT>#9, 0#9, #<G>#9) overlap syntactically with wired SCS addresses (*4*1*012#9##, *4*1*1#9##, *22*1*2#9##, *1*1*#9##) and Area 10 (100#9).
  2. Per-endpoint DIM 66 ACKs, *#*6## radio BUSY, ≤ 1/s RF broadcast pacing, 35 s offline scan windows, & WHO=13 lifecycle on fw 1.2.3: Multi-gang switches emit <DIM 66><*#*1##> per unit (01, then +32.5 ms 02), unpowered/floating 503-box actuators emit *#13*<ADDR>00#9*66*<INDEX>## + *#*0## (1.23 s), busy RF channels return *#*6##, leaving Supervisor disabled during per-index DIM 66 scans risks dropping unsolicited RF state frames, RF broadcasts (*13*66*## / *13*65*##) require ≤ 1/s pacing, and WHO=13 leave (WHAT 34, *13*34*<ADDR>00#9##), empty-WHERE *13*22/33/34*## indications, mid-scan WHAT 33 joins, non-WHAT 33 power-on recoveries, and runtime DIM 66 device-type upgrades must keep availability, Supervisor mode, and platform entities consistent.
  3. ZigBee dimmer DIMENSION 1 NACK, coarse WHAT 2..10 quantization, authoritative switch WHAT 0/1 vs WHAT 32 motion keepalive, WHO 2 DIM 11 without #001, & unsupported wired-SCS features: 3578 fw 1.2.3 NACKs WHO 1 DIMENSION 1 (*#1*WHERE#9*1## → *#*0## in 16.8 ms), physical +/- button presses emit level-less *1*1*WHERE#9## frames, coarse WHAT 2..10 Supervisor echoes (1/5/10/20/30/40/50/60/75/100%) overwrite fine Home Assistant brightness percentages (e.g. 32% snapped to 30%) unless retained within the matching coarse bucket, WHAT 32 is a toggle/motion keepalive rather than an authoritative switch state (WHAT 0/1), ZigBee calibrated shutter positioning (WHO 2 DIM 11) omits SCS #001 priority (*#2*<WHERE>#9*#11*<LEVEL>##), and wired-SCS features (WHO 14 actuator locks, sync_time clock writes, DIM 2/DIM 6, flash, DIM 5/7) are unsupported on 3578.
  4. Floating 503-box availability (2.394 s online echo, 10.85 s join lag), non-blocking sweep_bus, & live UI device deletion: Unplugged unicast commands return local UART *#*1## in 20 ms with no RF echo, whereas healthy online Supervisor echoes can take 2.394 s; additionally, deleting a ZigBee or SCS device in the Home Assistant Device Registry left cached runtime discovery/inventory state that prevented Sweep Bus from re-discovering the device without reloading the integration, and synchronous myhome.sweep_bus calls risked exceeding WebSocket timeouts during 35 s ZigBee scans.
  5. UI debug logging visibility, serial Bus Monitor signaling, coordinator identity isolation, & EUI-64/32-bit address redaction parity: Enabling Home Assistant's UI Enable debug logging toggle needed clean pre-framing OpenWebNet serial TX/RX wire logs ([TX]/[RX]) without suppressing < 1 s serial signaling frames (*#*1##/*#*0##/*#*6##) in the Lovelace Bus Monitor card, empty-WHERE coordinator DIM 16 needed isolation from device/SCS identity frames, and 8-octet EUI-64 + 32-bit ZigBee <ADDR> + /dev/serial/by-path/ scrubbing needed uniform coverage across logs, BusMonitor, diagnostics, services.py/websocket.py, trace_recorder, and anonymize_plant_fixture.py.

Ref #233 (kept open while @mvalla validates 2.1.0b3 on physical hardware).


What is the solution

  1. Rebase onto master (v2.0.2 @ 558b674c3), Packaging & Paired OWNd==2.1.0b3 Dependency (custom_components/myhome/manifest.json, custom_components/myhome/const.py, pyproject.toml, .github/release-notes/2.1.0b3.md):

    • Rebased cleanly (23 linear commits, 0 merge commits) onto master (v2.0.2 @ 558b674c3), paired with companion PR OpenWebNet-HA/OWNd#183 (2.1.0b3 @ ff710d915), preserving all v2.0.2 hardening (#1055–#1070, including #1062 bind_entity_lifecycle rename re-attachment with _unsub_by_unique_id cleanup, #1065 @require_admin WS gates and subentry-delete reload, and #1068 WHO=1 light_lux: / light_motion: router isolation with ZigBee #9 address.where routing).
    • Declares "after_dependencies": [..., "usb"] and "loggers": ["OWNd"] while intentionally keeping generic Silicon Labs CP2102 10c4:ea60 out of manifest.json["usb"] hotplug auto-discovery so ZHA/Z-Wave/ESPHome sticks never trigger false discovery prompts.
    • Cleanly gates off unsupported wired-SCS features on 3578 (WHO 14 startup/reconnect resync and CONF_REAPPLY_ACTUATOR_LOCKS, sync_time clock writes, DIM 2/DIM 6, FLASH, and ZigBee broadcast addresses under light: via General(allow_zigbee=False)).
  2. Context-Gated ZigBee #9 Core Addressing & Coordinator Identity Isolation (custom_components/myhome/where_grammar.py, custom_components/myhome/discovery.py, custom_components/myhome/identity.py, custom_components/myhome/validate.py, custom_components/myhome/actuator_lock.py, custom_components/myhome/device_health.py):

    • Added parse_zigbee_where, parse_zigbee_group_where, is_zigbee_where, and effective_message_where(..., address_family=...) preserving #9 / 0#<UNIT>#9 / #<G>#9 on contextless WHO 1/2/13 commands when address_family == "zigbee" while maintaining 100% TCP/SCS wire-frame equivalence (*4*1*012#9##, *1*1*#9##, 11#4#09, 100#9).
    • Syncs serial coordinator firmware via _sync_serial_transport_firmware and isolates empty-WHERE coordinator DIM 16 updates from device frames and wired SCS DIM 15 identity frames.
  3. Shared Serial Runtime, *#*6## BUSY + ≤ 1/s RF Pacing, Wire Debug Logging, & ZigbeeInventoryManager (custom_components/myhome/gateway_serial.py, custom_components/myhome/zigbee_inventory.py, custom_components/myhome/gateway.py, custom_components/myhome/gateway_sessions.py):

    • SharedSerialRuntime shares one AsyncSerialTransport (auto_restore_supervisor=False) across event/command adapters with zero-reprobe preflight handoff, reconnect-safe refcounting (hold_when_reconnecting=True), *#*6## radio BUSY retry support (busy_retry=True 500 ms + 0.5 s inventory retry without false Unavailable), ≤ 1/s RF broadcast pacing (_pace_rf_broadcast across *13*66*## and *13*65*##), and hardware-serial-scrubbed log_id wire [TX]/[RX] debug logging.
    • ZigbeeInventoryManager restores *13*66*## Supervisor mode immediately after *13*65*## + DIM 67 (before per-index DIM 66 queries so Supervisor stays active across offline timeouts) as well as on empty-WHERE *13*22*## / *13*33*## gateway indications, mid-scan WHAT 33 joins, and power-on recoveries; uses PRODUCT_INFO_TIMEOUT = 35 s with <ADDR> verification and direct *#13*<ADDR>00#9*66## fallback on index shifts; passively enriches cold nodes on DIM 66 while guarding local-DB DIM 73 replies; polls all non-00 multi-gang units before mark_unreachable; marks nodes offline on WHO=13 leave (WHAT 34); and prunes battery-only controls (257, 266, 274, 512).
  4. UI Device Deletion, Non-Blocking sweep_bus, & Runtime DIM 66 Entity Recreation (custom_components/myhome/__init__.py, custom_components/myhome/discovery.py, custom_components/myhome/zigbee_inventory.py, custom_components/myhome/services.py, custom_components/myhome/button.py, custom_components/myhome/frontend/myhome-bus-card.js):

    • Handles EVENT_DEVICE_REGISTRY_UPDATED (action="remove") by purging runtime KnownDevices, EntityRouter subscriptions (_registered_unique_ids protected against concurrent creation eviction and synchronized across #1062 bind_entity_lifecycle re-attachments), DeviceHealth entries, and ZigbeeInventoryManager cached units + pending queues (forget_product, _CURRENT_OP_EPOCH / op_epoch-stamped serial DIM 66 replies), allowing a non-blocking Sweep Bus (myhome.sweep_bus with eager_start=True, unload cleanup, and Bus Monitor gateway forwarding) or live bus frame to re-discover deleted devices immediately without reload.
    • Dispatches myhome_reconfigure_{mac} on PlatformDiscovery when DIM 66 upgrades a cold-cached node's device type at runtime so platform entities recreate immediately.
  5. ZigBee Coarse Dimmer % Retention, Per-Unit 4.5 s Watchdog, Authoritative WHAT 0/1 vs WHAT 32, & WHO 2 DIM 11 (custom_components/myhome/light.py, custom_components/myhome/light_group.py, custom_components/myhome/binary_sensor.py, custom_components/myhome/sensor.py, custom_components/myhome/switch.py, custom_components/myhome/cover.py, custom_components/myhome/cover_scope.py):

    • Actuates ZigBee dimmers (DEV_ID 258, 263, 265) via WHAT 0 / 2..10 (1->1%, 2->5%, ..., 10->100%), polls via *#1*WHERE#9## (retaining _zigbee_awaiting_status_until across queued polls, never DIM 1 or SoftwareFadeEngine), debounces physical *1*1*WHERE#9## taps (900 ms), and retains exact Home Assistant commanded percentages (e.g. 32% stays 32%) and 0..255 brightness values across same-bucket echoes, status polls, HA restarts, OFF -> turn_on(), and cross-bucket slider drags.
    • Arms a per-unit (<ADDR><UNIT>#9) 4.5 s missing-echo watchdog on contextless unicast switch_on / switch_off / light / shutter commands (*#13**66*<INDEX>## check → Unavailable on offline NACK, instant t = 0 s recovery on power-on state frames).
    • Actuates ZigBee switches strictly via authoritative WHAT 0 / WHAT 1 (removing false WHAT 32 toggle inversion) while routing WHAT 32 as motion keepalive on ZigBee MyHOMEMotionSensor (259, 268, 269, 270, without fabricated "Sensitivity" entities or DIM 5/7 polls), preserves ZigBee #9 routing under #1068's light_lux: / light_motion: router namespaces, emits ZigBee calibrated shutter writes (WHO 2 DIM 11) without #001 priority (*#2*<WHERE>#9*#11*<LEVEL>##), and supports fw <= 1.2.0 WHAT 1 <-> 2 shutter translation, 0#00#9/0#<UNIT>#9 broadcast cover scope, and (Unit N) multi-unit shutter calibration buttons.
  6. Serial Config/Options Flow, BusMonitor Card, Privacy Redaction Parity, & en/nl/fr/it Translations (custom_components/myhome/config_flow.py, custom_components/myhome/config_flow_options.py, custom_components/myhome/bus_monitor.py, custom_components/myhome/frame_safety.py, custom_components/myhome/websocket.py, custom_components/myhome/diagnostics.py, custom_components/myhome/trace_recorder.py, scripts/anonymize_plant_fixture.py, custom_components/myhome/translations/*.json):

    • Manual serial port selector (SelectSelector(custom_value=True) with POSIX flock BlockingIOError/EAGAIN/EWOULDBLOCK → port_busy), serial options hiding/popping unsupported CONF_TRANSITION_MODE & CONF_REAPPLY_ACTUATOR_LOCKS, serial BusMonitor(dedup_window=0.0) + Lovelace card skipping < 1.0 s duplicate suppression (connection_type === "serial", CARD_VERSION = "2.1.0b3"), admin-gated WS check_frame with OUI redaction support, multi-frame/unparsed-raw/EUI-64//dev/serial/by-path//32-bit <ADDR> redaction parity across all surfaces, and 100% en, nl, fr, and it translation parity across all 20 services (including start_bus_recording / stop_bus_recording).

State Diagram

stateDiagram-v2
    [*] --> CachedBoot : Load .storage ZigBee inventory (0 RF frames)
    CachedBoot --> MeshScan : Background scan or non-blocking myhome.sweep_bus
    state MeshScan {
        [*] --> RequestCount : tx *13*65*## -> rx DIM 67 (busy_retry on *#*6##, <=1/s RF pace)
        RequestCount --> RestoreSupervisor : tx *13*66*## immediately (bounded retry on NACK/BUSY)
        RestoreSupervisor --> QueryIndex : tx *#13**66*<idx>## per slot (35s timeout, yields to user TX)
        QueryIndex --> DrainQueuedJoins : Drain mid-scan WHAT 33 / passive DIM 66 + Supervisor restore
    }
    MeshScan --> Online : Reachable units registered (DIM 66 upgrades recreate entities)
    Online --> PendingEcho : Unicast light/switch/cover TX (per-unit <ADDR><UNIT>#9 4.5s watchdog)
    PendingEcho --> RetainedBucket : rx echo within TTL -> retain exact dimmer % (e.g. 32% in WHAT 5)
    PendingEcho --> VerifyReachability : 4.5s watchdog timeout -> poll non-00 units / *#13**66*<idx>##
    VerifyReachability --> Unavailable : DIM 66 NACK (with direct <ADDR>00#9 fallback) or WHO=13 WHAT 34
    Unavailable --> Online : Power-on state frame (t=0s) or WHAT 33 join -> *13*66*##
    Online --> PurgedForRediscovery : HA Device Registry delete -> op_epoch forget_product + router purge
    PurgedForRediscovery --> MeshScan : Sweep Bus / live frame re-creates Unit 1 + Unit 2 without reload
Loading

Hardware Verification

  • Round 1 (2.1.0b1, physical Legrand 3578 fw 1.2.3 on HA 2026.11.1 / serialx 1.15.1 via WSL2 USB/IP by @mvalla in #233):
    • Verified serialx enumeration (10c4:ea60 CP2102), 4-step ZigBee handshake, 11-product *13*65*## scan (12.92 s), WHO 1 status polling (confirming no trailing *#*1## ACK on fw 1.2.3), live RX/TX switching, Bus Monitor (context: "zigbee"), 2-unit DIM 66 timing (+32.5 ms), DIM 1 NACK (16.8 ms), and floating 503-box unplug/re-plug wire timings (#7088211437).
  • Round 2 (2.1.0b2 → 2.1.0b3): Addressed every finding from @mvalla's 2.1.0b2 hardware report plus full protocol/runtime audit — pre-framing [TX]/[RX] wire debug logging via UI toggle, serial Bus Monitor < 1 s signaling retention, coarse-bucket dimmer % retention (32% stays 32%), _op_epoch-guarded UI device deletion → immediate Sweep Bus re-discovery without reload, immediate *13*66*## Supervisor restore + ≤ 1/s RF broadcast pacing + per-unit 4.5 s watchdog across switch/light/shutter commands, authoritative switch WHAT 0/1 vs WHAT 32 motion keepalive, WHO 2 DIM 11 without #001, and 3578 WHO 14/sync_time gating; ready for @mvalla final pass on #233.

How is it tested

  • tests/test_zigbee_where_grammar.py:
    • Context-gated <ADDR><UNIT>#9, 0#00#9, 0#<UNIT>#9, 0#9, #<G>#9, and contextless WHO 1/2/13 effective_message_where(..., address_family="zigbee") preservation alongside TCP/SCS non-regression (*4*1*012#9##, *1*1*#9##, 11#4#09, 100#9).
  • tests/test_gateway_serial.py & tests/test_config_flow_serial.py:
    • SharedSerialRuntime reconnect-safe refcounting (hold_when_reconnecting=True), *#*6## radio BUSY retries, preflight handoff, coordinator firmware sync & empty-WHERE DIM 16/DIM 15 isolation, WHO 14 startup/reconnect skip on ZigBee, log_id wire debug logging, serial options hiding CONF_TRANSITION_MODE & CONF_REAPPLY_ACTUATOR_LOCKS, POSIX flock port_busy mapping, and EUI-64 uniqueness.
  • tests/test_zigbee_inventory.py & tests/test_device_delete_rediscovery.py:
    • Immediate *13*66*## Supervisor restore across scans, empty-WHERE *13*22/33*##, mid-scan WHAT 33 joins, and power-on recoveries, ≤ 1/s RF broadcast pacing, 35 s DIM 66 timeout with <ADDR> verification + direct *#13*<ADDR>00#9*66## fallback, cold-node passive DIM 66 enrichment & runtime entity recreation (myhome_reconfigure_{mac}), DIM 73 local-DB guard, per-unit <ADDR><UNIT>#9 missing-echo watchdog, WHO=13 leave (WHAT 34) reachability, battery-control pruning (257, 266, 274, 512), and op_epoch-guarded live re-discovery after UI Device Registry deletion without reload.
  • tests/test_zigbee_platforms.py, tests/test_zigbee_platforms_audit.py, tests/test_zigbee_dimmer_retention.py, tests/test_who14_cover_scope.py, tests/test_websocket.py, & tests/frontend/bus_card.test.mjs / tests/frontend/bus_card_xss.test.mjs:
    • Coarse WHAT 2..10 dimmer curve (1/5/10..100%), same-bucket % and raw 1/255 #G#9 group brightness retention across echoes/polls/restores/rapid slider changes, echo-TTL expiry, NACK/cancel rollback, 900 ms physical tap debounce, authoritative switch WHAT 0/1 vs WHAT 32 motion keepalive, ZigBee WHO=1 light_lux: / light_motion: router isolation, WHO 2 DIM 11 without #001 (*#2*<WHERE>#9*#11*<LEVEL>##), fw <= 1.2.0 shutter translation, 0#00#9/0#<UNIT>#9 broadcast cover scope, 3578 WHO 14/sync_time/DIM 2/DIM 6/FLASH gating, and serial Bus Monitor < 1 s duplicate-suppression bypass (53 passed across bus_card.test.mjs + bus_card_xss.test.mjs).
  • tests/test_zigbee_diagnostics_bus.py, tests/test_fixture_privacy.py, tests/test_golden_conformance.py, & tests/test_trace_golden_shape_coverage.py:
    • Multi-frame/unparsed-raw/EUI-64//dev/serial/by-path//32-bit <ADDR> redaction parity across BusMonitor, diagnostics, services.py/websocket.py, trace_recorder, and anonymize_plant_fixture.py, plus 14 context: "zigbee" Golden Corpus fixtures (who99_openzigbee.yaml) and hermetic trace-shape coverage gates.
  • Verification Gates (WSL Python 3.14.7, branch feat/233-openzigbee-serial @ 6691aec41):
    • pytest: 9,819 passed, 0 failed, 0 errors (5 snapshots passed), 36,882 / 36,882 = 100.0% statement coverage across all 79 modules in custom_components/myhome
    • ruff check custom_components tests scripts tools: All checks passed!
    • scripts/typing_ratchet.py: mypy --strict: 0 error(s) in 0 module(s); baseline 0
    • scripts/verify_ha_standards.py: 54/54 Platinum rules (20 services, en/fr/it/nl 100% parity, OWNd==2.1.0b3 pin)
    • scripts/sync_documentation.py --check: SUCCESS
    • tools/golden/validate_corpus.py --check & scripts/sync_golden_corpus.py --check: 22 files, 499 golden frames (MyHOME=499 >= OWNd=466, 33 staged MyHOME-only fixtures, 1,190 passed)
    • tools/golden/check_trace_shape_coverage.py: 0 new uncovered shapes
    • scripts/anonymize_plant_fixture.py --check tests: 694 files checked, 0 with personal data
    • node --test tests/frontend/bus_card.test.mjs tests/frontend/bus_card_xss.test.mjs: 53 passed, 0 failed
    • scripts/run_ownd_smoke.py --skip-install --target pinned: 5/5 gates PASS

Where are the traces

  • Live Legrand 3578 (fw 1.2.3) hardware captures in #233 comment #7084834900 and #7088211437 (11 products: 256 1-gang & 2-gang switches, 258 dimmer, 6 offline/floating 503-box nodes).
  • tests/golden/fixtures/who99_openzigbee.yaml (14 context: "zigbee" golden frames synced 1:1 with OWNd) and tests/golden/corpus.json (499 frames total, 0 modifications to existing TCP/SCS records).

What does the Firmware Oracle / Encyclopedia say

  1. OpenWebNet Encyclopedia (WHO = 1, 2, 13 / Machine KB):
    • Grounded in openwebnet4j (WhereZigBee, GatewayMgmt, OpenDeviceType, USBConnector, EPL-2.0), Encyclopedia Machine KB claims ownkb:claim:c000652, c000664 (≤ 1/s RF broadcast pacing), c000671, c000672 (*#*6## 500 ms BUSY backoff), c000674, c000675/c002004 (WHO 14 unsupported on 3578), c000691, c001462, c001467 (FLASH unsupported), c001471, c001475..c001478 (WHAT 32 toggle/motion keepalive vs WHAT 0/1), c001483, c001487 (DIM 2/DIM 6 unsupported), c001821, c001823, c001825, c001829, c001851 (sync_time unsupported), c001873, c001953/c001954 (>= 30 s DIM 66 offline timeout), c002682..c002685 (WHO 2 DIM 11 without #001 priority vs SCS c002612), ownkb:record:r000288, and live Legrand 3578 fw 1.2.3 hardware captures (#233).
  2. Firmware Oracle:
    • No 3578 / 088328 image is emulated in own-firmware-oracle (no Legrand/BTicino firmware image was published and the Ember bootloader is write-only; L4686SDK is wired 2-wire SCS over USB, not ZigBee); all 18 emulated TCP gateway targets (742 oracle inputs) remain validated via tools/golden/check_trace_shape_coverage.py, scripts/run_ownd_smoke.py, and tests/test_firmware_oracle_conformance.py.

Checklist

  • PR Description: Follows the structured sections above (What is the problem, What is the solution, State Diagram, Hardware Verification, How is it tested, Where are the traces, What does the Firmware Oracle / Encyclopedia say, Checklist).
  • Trace-Backed (if protocol/device change): Behavior is verified against real OpenWebNet bus traces (Legrand 3578 fw 1.2.3 in #233), openwebnet4j, and Encyclopedia Machine KB claims rather than guessed.
  • V2 Architecture: New or modified entities implement handle_event() and do not manually subscribe via async_dispatcher_connect.
  • Tests & Linters: pytest, ruff, scripts/verify_ha_standards.py, and scripts/sync_documentation.py --check pass.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@GreenGrassBlueOcean
GreenGrassBlueOcean force-pushed the feat/233-openzigbee-serial branch 2 times, most recently from 4530e00 to 3c1d4ab Compare December 1, 2026 15:04
GreenGrassBlueOcean added a commit that referenced this pull request Dec 1, 2026
@GreenGrassBlueOcean
GreenGrassBlueOcean changed the base branch from master to chore/release-2.0.2 December 1, 2026 15:04
@GreenGrassBlueOcean

Copy link
Copy Markdown
Contributor Author

@gdluck what do you think of this pr and the corresponding ownd pr? Do you maybe have time to do an audit so that i can polish it a bit more

@gdluck

gdluck commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Do you somehow have a firmware available?

@GreenGrassBlueOcean

Copy link
Copy Markdown
Contributor Author

Do you somehow have a firmware available?

Unfortunately no — we checked across all usual vendor channels and confirmed none was ever published:

  1. No vendor .fwz / .ebl package exists: Checked MyHOME_Suite 3.5.38 (all 6,586 Cookfs entries + MHCatalogue.db), assets.legrand.com/pim/AUTRE/, catalogo.bticino.it, bticino.be, homesystems-legrandgroup.com (/myhomeswupdate/MyHomePlay/), and all 18 unpacked Linux gateway rootfses in own-firmware-oracle. @mvalla also previously checked directly with BTicino support (openHAB thread, Jan 2021), who confirmed the 3578 / 088328 dongle was never field-upgradable (units shipped factory-flashed with <= 1.2.0, 1.2.3, or 1.4.5).
  2. Cannot be dumped over USB serial: WHO=13 WHAT=12 (*13*12*## → STX 03600796 ETX in the ZigBee OpenWebNet v4.0 spec, §7.1 / §11.3.1) hands off to the Silicon Labs Ember Standalone Bootloader (AN760), which only supports write-only XModem-CRC .ebl uploads (1. upload ebl, 2. run, 3. ebl info) and has no flash readback command.
  3. Hardware architecture: It is a bare-metal Silicon Labs Ember SoC (CP2102 + Ember SoC on 1.2.x, native USB EM3582 Cortex-M3 on newer revisions, and an EM3581 UART daughterboard inside the Legrand 088310 MyHOME Play Wi-Fi/Radio gateway) — so there is no Linux openserver stack to run under qemu-user. Getting bytes for a static backtrace (like L4686SDK / 3550) would require buying a second-hand 3578/088328 or 088310 on eBay/Leboncoin and dumping SWD / host SPI flash (assuming read-out protection isn't fused).

Also the device is not for sale anymore somewhere on ebay or new...

@gdluck

gdluck commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Full line-by-line, function-by-function audit of 3c1d4ab3 (vs merge-base 799a3efb, targeting chore/release-2.0.2 7fdbbdbd), cross-checked against companion OpenWebNet-HA/OWNd#183 (458e136), Legrand ZigBee OpenWebNet v4.0, OpenWebNet-Encyclopedia ZigBee specifications, and the live Legrand 3578 fw 1.2.3 traces in #233.

(Companion OWNd audit posted on OpenWebNet-HA/OWNd#183.)


Merge / Rebase Blockers (chore/release-2.0.2)


Critical

1. Outbound contextless ZigBee commands drop #9 in effective_message_where() — disables the 4.5 s missing-echo watchdog and breaks cover/scope poll matching

  • Locations:
    • custom_components/myhome/zigbee_inventory.py:1089-1120 (snapshot_rx_seq, note_unicast_command_sent)
    • custom_components/myhome/cover.py:4655-4675, 4706, 4732-4735 (_is_own_point_message, _cover_poll_targets_self, _is_from_cover_poll)
    • custom_components/myhome/actuator_lock.py:251-294 (who1_poll_targets_entity)
    • custom_components/myhome/where_grammar.py:320-331 (effective_message_where)
  • Reproduced runtime behavior:
    OWNLightingCommand.switch_on("789309801#9")      -> is_zigbee=False, effective="789309801", expose="789309801#9", parse_zigbee_where(effective)=None
    OWNLightingCommand.switch_off("789309801#9")     -> is_zigbee=False, effective="789309801", expose="789309801#9", parse_zigbee_where(effective)=None
    OWNLightingCommand.status("0#01#9")              -> is_zigbee=False, effective="0",         expose="0#01#9"
    OWNLightingCommand.status("#1#9")                -> is_zigbee=False, effective="#1",        expose="#1#9"
    OWNAutomationCommand.raise_shutter("32818401#9") -> is_zigbee=False, effective="32818401",  expose="32818401#9",  parse_zigbee_where(effective)=None
    OWNAutomationCommand.status("32818401#9")        -> is_zigbee=False, effective="32818401",  expose="32818401#9"
    
  • Root cause & impact: Entities construct outbound commands without passing gateway=, so cmd._gateway is None -> cmd.is_zigbee is False -> effective_message_where(cmd) returns bare cmd.where (stripping #9 / #01#9), whereas expose_message_where(cmd) reassembles where_param.
    1. 4.5 s missing-echo watchdog (zigbee_inventory.py:1113-1117): parse_zigbee_where("789309801", address_family="zigbee") returns None -> hits if parsed is None: return -> never arms on switch_on, switch_off, switch_on_timed, raise_shutter, lower_shutter, stop_shutter, or set_shutter_level (only set_brightness(..., gateway=profile) works). Fails on @mvalla's exact unplugged-503-box test (*1*0*789309801#9##, [Feature Request]: Support USB-based OpenZigBee gateway (Legrand 3578 / Serial Transport) #233 comment Unable to setup integration #14).
    2. Covers (cover.py:4655-4675, 4732-4735): _is_own_point_message(sent) compares "32818401" == "32818401#9" -> always False, and _is_from_cover_poll() checks only _from_status_request (missing is_status_reply), so live serial cover status replies are never recognized as poll replies.
    3. Lights (actuator_lock.py:252-294): status("0#01#9") collapses to raw_where == "0" and falsely matches all units (including unit 02); status("#1#9") collapses to "#1" and never matches ZigBee groups.

2. cover.py sends SCS #001 priority on ZigBee WHO 2 DIM 11 position writes (paired with OpenWebNet-HA/OWNd#183)

  • Location: custom_components/myhome/cover.py:3076-3078 (_handoff_timed_target), 3887-3891 (async_set_cover_position).
  • Impact: Calibrated ZigBee shutters auto-promote to _advanced = True from DIM 10, then set_cover_position calls OWNAutomationCommand.set_shutter_level(self._full_where, level) -> *#2*<WHERE>#9*#11#001*<LEVEL>## instead of ZigBee OpenWebNet v4.0 §9.5.2 *#2*<WHERE>#9*#11*<LEVEL>## (no #001).

High

3. PlatformDiscovery._on_registry_updated() / _sync_removed_registry_entries() evicts pending newly-added entities from self.known on any HA entity removal

  • Location: custom_components/myhome/discovery.py:1956-1992, 2076-2079.
  • Root cause: _create() populates self.known and _keys_by_unique_id synchronously while async_add_entities() inserts into EntityRegistry asynchronously. _on_registry_updated() subscribes globally to EVENT_ENTITY_REGISTRY_UPDATED (action == "remove", unfiltered by config_entry_id) and removes every uid not yet in self.registry_entries()[1]. During a ZigBee scan, if Unit 1 is added and any removal fires (e.g. _prune_non_actuator_entities or an unrelated HA integration) before Unit 1's registry write completes, Unit 1 is evicted from self.known. When Unit 2 arrives 32.5 ms later, _on_reconfigure builds a duplicate Unit 1, leaks a second router.subscribe callback, and hits HA's duplicate unique_id error. Affects both ZigBee and SCS.

4. async_forget_product() stale-epoch guard is defeated on serial transport and _send_lowest_tier fails to cancel written on CancelledError, resurrecting deleted ZigBee devices

  • Location: custom_components/myhome/zigbee_inventory.py:261-269, 608-610, 798, 1056-1058, 1203-1209, 1277-1283; gateway_sessions.py:2411-2420.
  • Root cause:
    1. When async_forget_product(addr) cancels an active _enrich_{addr} / _watchdog_{addr} task awaiting asyncio.wait({written}, ...) (608), CancelledError skips written.cancel(), so CommandWorkerPool still transmits the DIM 66 query.
    2. When that DIM 66 (or an already in-flight DIM 66) completes outside a full scan (_active_scan_epoch is None), sending_loop (gateway_sessions.py:2414) synchronously dispatches it onto myhome_message_{mac} -> _on_bus_message -> _ingest_dim66_event(ev) with op_epoch=None -> effective_epoch = None -> _is_stale_for_forgotten(addr, None) sees op_epoch is None, pops addr from _forgotten_at_epoch, and immediately resurrects the deleted device in _data["products"], .storage, runtime.platforms, and HA.
    3. Separately, async_run_scan() captures scan_epoch = self._op_epoch (1203) before acquiring _scan_lock (1205), so a queued scan waiting behind a boot scan can treat a post-delete sweep as stale; and async_run_scan ingests every DIM 66 twice (_on_bus_message + line 1278).

5. SharedSerialRuntime / SerialEventAdapter refcount leak and orphaned _reconnect_task

  • Location: custom_components/myhome/gateway_serial.py:84-110, 175-212.
  • Root cause:
    1. If serial drops between preflight test_connection() and SerialEventAdapter.connect(), acquire(adopt_preflight=True) decrements _refcount to 0, sees _reconnect_task running, and returns False (_held = False). When _reconnect_task reconnects, _handle_state(True) brings the event adapter online and delivers frames with _held == False and _refcount == 0; closing SerialCommandAdapter (_refcount 1 -> 0) then calls transport.disconnect() out from under the active event adapter.
    2. release() (108) gates transport.disconnect() on and self.transport.is_connected. Releasing all adapters while disconnected skips disconnect(), leaving AsyncSerialTransport._reconnect_task running in the background and later opening the port exclusive=True with _refcount == 0.

6. _verify_missing_echo() permanently marks healthy actuators Unavailable on USB gateway disconnect & ignores response address

  • Location: custom_components/myhome/zigbee_inventory.py:1142-1174.
  • Root cause: Unlike async_run_scan, _verify_missing_echo() never checks self.handler.is_connected or _terminate_listener. If the USB stick disconnects during the 4.5 s watchdog window, not info_outcome.written_ok triggers mark_unreachable(addr) and persists reachable=False to .storage, keeping healthy actuators Unavailable after reconnect until the next scan. Also, lines 1159-1162 don't verify the DIM 66 reply's address matches addr (vulnerable if product["index"] shifted or was clobbered to 0), and timeout=UNIT_POLL_TIMEOUT (6 s) is shorter than the PDF's 30 s DIM 66 wait.

7. _async_poll_zigbee_status() clears _zigbee_awaiting_status_until immediately after enqueueing -> infinite 900 ms poll loop on non-AsyncSerialTransport ZigBee transports

  • Location: custom_components/myhome/light.py:886-897.
  • Root cause: send_status_request() only enqueues on send_buffer and returns an unresolved Future (does not await reply). The finally: block immediately clears _zigbee_awaiting_status_until = 0.0 before the frame leaves the queue. On any non-AsyncSerialTransport ZigBee path where is_status_reply isn't tagged, a dimmer at 1% replying *1*1*<W>#9## always re-triggers _schedule_zigbee_what1_debounce_poll() every 900 ms.

8. Three missed _format_where_and_scope(getattr(message, "where", None), ...) sites break ZigBee scope covers

  • Location: custom_components/myhome/cover.py:5306-5315, 5613-5625, 5638-5643 (MyHOMECover.handle_event).
  • Root cause: Line 4845 passes effective_message_where(message) or raw_where, but lines 5307, 5614, and 5639 still pass raw message.where ("0" or "#1" instead of "0#00#9", "0#01#9", "#1#9"). On ZigBee scope covers, stop_where == self._full_where is always False, so the cover's own pre-move stop echo bumps _run_generation and aborts its own move.

9. validate.py accepts ZigBee broadcasts (0#00#9/0#01#9) and #<G>#9 on SCS, bypassing light.py's broadcast guard and crashing light setup with ValueError

  • Location: custom_components/myhome/light.py:196-201, 219-231 vs validate.py:201-204, 231, 498.
  • Root cause:
    1. validate.py:202 accepts ZIGBEE_BROADCAST_WHERE_RE under light:, but light.py:219 only rejects SCS general/area strings ("0", "00", ...), creating a broken point MyHOMELight for 0#00#9/0#01#9.
    2. validate.py:231 accepts #1#9 unconditionally (address_family="zigbee" hardcoded). On an SCS gateway, parse_zigbee_group_where("#1#9", address_family="scs") returns None and light.py:201 executes int("1#9") -> uncaught ValueError, crashing light platform setup.

10. Frontend Bus Monitor card drops consecutive identical serial frames within 1.0 s, defeating backend dedup_window=0.0

  • Location: custom_components/myhome/frontend/myhome-bus-card.js:453-462 (_onNewFrame) vs gateway.py:794.
  • Root cause: Backend disabled dedup on serial (dedup_window=0.0) because 200 ms dedup hid 6 legitimate back-to-back *#*1##/*#*0## frames during @mvalla's live 3578 sweep ([Feature Request]: Support USB-based OpenZigBee gateway (Legrand 3578 / Serial Transport) #233). _onNewFrame() still drops consecutive identical frames < 1.0 s apart even when connection_type === "serial", hiding real ACKs/NACKs/BUSY pairs from the UI, stats, and exported traces.

11. Privacy redaction bypasses in bus_monitor.py and scripts/anonymize_plant_fixture.py

  • Locations: custom_components/myhome/bus_monitor.py:23-60 (_redact_raw_bus_frame), gateway_serial.py:69, scripts/anonymize_plant_fixture.py:174-180, 276-307, 406-462.
  • Observed bypasses in _redact_raw_bus_frame:
    • 'garbage*#13**12*0*18*75*0*1*2*3*4' -> unredacted (^ anchor on _WHO13_SENSITIVE_TRUNC_RE misses leading UART noise).
    • '*#13**12*0*18*75*0*1*2*3*4*#*1##' -> unredacted (dropped ## fails full regex and (?!.*##$) negative lookahead).
    • '*#13**11*255*255*255*0##' and '*#13**27*MyGatewayHost##' -> unredacted (DIM 11 and DIM 27 are in _WHO13_SENSITIVE_TRUNC_RE for truncated frames but have no full-frame redaction rule).
    • gateway_serial.py:69 also appends unredacted raw corrupted prefixes into self.unparsed_raw_frames.
  • anonymize_plant_fixture.py: Neither scrub_text(), json_data(), nor findings() (--check) anonymizes or detects ZigBee 32-bit PRODUCT_DECIMAL addresses derived from hardware EUI-64 lower 4 bytes (e.g. 7668358 in 766835801#9 and zigbee_inventory.products["7668358"]).

Medium

  • ZigBee spec timing violations in zigbee_inventory.py (zigbee_inventory.py:77, 670-696, 769-773, 1233-1263, 1285-1293, 1348-1352): _SUPERVISOR_RETRY_DELAY_S = 0.25 sleeps only 250 ms after OWNd's BUSY retries (ZigBee spec mandates 500 ms) and on _restore_supervisor() fast-NACK retries (0.25 s, 0.50 s, violating the <= 1/s broadcast limit for *13*66*##). _last_supervisor_at is also stamped before awaiting queue/TX (676), and async_run_scan() does not pace *13*65*## against handshake/restore *13*66*##.
  • Online DIM 66 without index clobbers product["index"] to 0, and shrinking product_count never marks removed products unreachable (zigbee_inventory.py:626-629, 862, 886, 1270): 0 is a real 0-based DB slot; and products with old index >= product_count remain reachable: True forever in .storage.
  • Missing-echo watchdog is keyed per-node (addr) rather than per-unit (zb_where) (zigbee_inventory.py:420-421, 1094-1140): On a 2-unit switch (756759601#9 + 756759602#9), Unit 1's echo cancels Unit 2's watchdog even if Unit 2's echo was lost on RF.
  • Same-bucket optimistic shortcut in light.py fires while a different-bucket command is in-flight (light.py:1223-1248): Missing self._pending_coarse_level is None. Dragging 32% (WHAT 5) -> 42% (WHAT 6, in-flight) -> 34% (WHAT 5) causes echo Sending multiple commands will fail #1 (WHAT 6) to clear _coarse_echo_until, so echo Add support for OFF button #2 (WHAT 5) snaps HA to 30% instead of 34%.
  • myhome_device.py silently discards YAML name and entity_name on ZigBee entities (myhome_device.py:142-177): Line 144 forces device_name = f"ZigBee {zb_addr}"; setting entity_name: makes line 164 false and falls into self._attr_name = None (170), dropping both entity_name and "Unit N".
  • MyHOMESwitch ZigBee WHAT 32 toggle handler is both unreachable dead code and protocol-wrong (switch.py:786-795 & light.py:321-324): Swallowed by light.py:321 (address.key not in known), and inverting state on WHAT 32 contradicts ZigBee v4.0 (switches report authoritative *1*0/1*...##, and motion-switches emit WHAT 32 as an occupied keepalive).
  • Unsupported SCS WHO 1 / WHO 13 / WHO 14 features leaked onto ZigBee:
    • light.py:675-679: advertises LightEntityFeature.FLASH on ZigBee On/Off lights (WHAT 20..29 not in ZigBee v4.0).
    • light.py:1530-1537, switch.py:733-740, sensor.py:2429-2436: non-preset turn_on_timed emits SCS DIM 2 (*#1*<W>#9*#2*...##), and MyHOMEIlluminanceSensor.async_update() polls SCS DIM 6 (*#1*<W>#9*6##) without not self._is_zigbee.
    • services.py:423-462 (myhome.sync_time): broadcasts SCS WHO 13 clock writes (*#13**#22*...## and *#13**#0*...##) to 3578 gateways (is_follower=False).
    • gateway.py:494, 1408-1410, topology.py:831-835: _own_supports_who14_commands and is_who_available(14) return True for 3578 (no WHO 14).
  • "3578" missing from KNOWN_GATEWAY_MODELS, unguarded destructive ZigBee WHO 13 commands in frame_safety.py, and false warning on *#13**12## (gateway.py:469-474, frame_safety.py:1181-1237, 1651-1669, myhome-bus-card.js:1527-1531): Bus Monitor displays (gateway model unknown; ...) on 3578, *#13**12## triggers a false unknown_gateway_model_specific warning, and destructive *13*30*## (Create/wipe PAN), *13*34*## / *13*34*<W>#9## (Leave/eject), and *13*22*## (Reset) pass with no warning.
  • gateway_resync.py:310-314, 354-362: _known_area_map() ignores IgnoredAddresses and polls disabled ZigBee lights on broadcast resync.
  • gateway_serial.py:64-70: _on_raw_frame() calls OWNMessage.parse() without catching (ValueError, IndexError, TypeError), dropping malformed frames that raise ValueError in message __init__ from bus_monitor and unparsed_raw_frames.
  • zigbee_inventory.py:1320-1321, 1388-1390: async_run_scan() awaits _restore_supervisor() inside finally: even on task cancellation, and runs _drain_pending_unit_polls() outside _scan_lock without checking _scan_lock.locked().
  • services.py:618-634: Every ZigBee sweep_bus call registers a redundant _cancel_sweep_on_unload closure on entry._on_unload without removing it on completion (zigbee_inv._bg_tasks already cancels it on unload), leaking completed Task references.
  • diagnostics.py:815-866: _build_topology_inference_diagnostics() does not exclude serial ZigBee entries, emitting bogus SCS shared-bus pairing recommendations between a 3578 and an SCS TCP gateway.
  • websocket.py:387-406 & frame_safety.py:209: Non-admin myhome/bus_monitor/check_frame returns unredacted 8-octet EUI-64 in target_mac (unlike ws_bus_monitor_info's OUI-only mac_prefix).
  • trace_recorder.py:121, 136-138, 947, 2185: _SERIAL_BY_ID_RE misses /dev/serial/by-path/, _MAC_RE only matches 6-octet MACs (not 8-octet EUI-64s), and dr.format_mac() leaves 8-octet EUI-64s un-normalized (affecting SHA-256 gw_tag).
  • config_flow.py:187-195: Only checks errno.EBUSY (and catches SerialException before OSError), missing POSIX flock EAGAIN/EWOULDBLOCK contention (paired with OWNd/transport/serial.py:187-198).
  • Empty-WHERE WHO 13 events (*13*22*##, *13*33*##, *13*34*##): Because OWNd parses these as OWNGatewayCommand (see OWNd#183 finding Add "version" key #6), zigbee_inventory.py:1053 (if isinstance(message, OWNGatewayEvent):) ignores them and never restores Supervisor mode on interface-level reset/join.

Low

  • zigbee_inventory.py:329, 334, 355: unprotected int(...) in async_load() crashes setup on corrupted .storage.
  • zigbee_inventory.py:661 vs validate.py:390: _prune_non_actuator_entities() checks zb_where in platforms[domain], missing "{who}-{zb_where}" YAML keys.
  • gateway_sessions.py:637-649: _wheres_overlap() misses <ADDR>00#9 (product all-units) overlap with <ADDR>01#9 and 0#01#9.
  • device_health.py:401-408: _observe_lighting() misses ZigBee unit broadcast 0#01#9 (is_general=False).
  • binary_sensor.py:1215, 1374-1413: ZigBee MyHOMEMotionSensor exposes fabricated "Sensitivity": "medium" and ignores WHAT 32 occupancy keepalives.
  • button.py:695, cover.py:804, light_group.py:108: hardcoded manufacturer="BTicino" mismatches "Legrand / BTicino" on the same ZigBee device; 2-unit shutter calibration buttons lack a unit qualifier.
  • diagnostics.py:125 vs zigbee_inventory.py:519: diagnostics probes as_diagnostics() while ZigbeeInventoryManager defines get_summary() (dead method), dropping index and last_seen.
  • Minor metadata/CI drift: myhome-bus-card.js:9 CARD_VERSION still "2.0.2"; quality_scale.yaml:34 says "17 services" (now 20); anonymize_plant_fixture.py:504-505 omits a.eui64s from --mapping; .github/workflows/pypi_standards.yml:109-111 installs before extracting HA_CONSTRAINTS; scripts/run_ownd_smoke.py:254-259 omits newer modules (gateway_serial, zigbee_inventory, trace_recorder, frame_safety, services, lock).

Verified Clean

  • manifest.json (OWNd==2.1.0b3 pulls serialx>=1.8.2 as core dep; no CP2102 USB matcher), config-flow throwaway probe cleanup in finally:, EUI-64 validation & CONNECTION_ZIGBEE registry consistency, strings.json / en/fr/it/nl parity & placeholder checks, async_remove_entry storage cleanup, CoverScope 0#9/0#<UNIT>#9 routing, and fw <= 1.2.0 non-double-inversion.

@GreenGrassBlueOcean
GreenGrassBlueOcean force-pushed the feat/233-openzigbee-serial branch from 3c1d4ab to 3197fea Compare December 2, 2026 08:41
GreenGrassBlueOcean added a commit that referenced this pull request Dec 2, 2026
GreenGrassBlueOcean added a commit that referenced this pull request Dec 2, 2026
GreenGrassBlueOcean added a commit that referenced this pull request Dec 2, 2026
…, session, and config flow audit findings
GreenGrassBlueOcean added a commit that referenced this pull request Dec 2, 2026
…sensor, binary_sensor, and button audit findings
@GreenGrassBlueOcean

Copy link
Copy Markdown
Contributor Author

Rebased feat/233-openzigbee-serial cleanly onto chore/release-2.0.2 (7fdbbdbd5, 26 linear commits, 0 merge commits) at 3197feafc (2.1.0b3, paired with OpenWebNet-HA/OWNd#183 @ ff710d915), resolving all rebase conflicts and all Critical, High, Medium, and Low items from the protocol & runtime audit (#issuecomment-7319356615):

  • Rebase & Critical (where_grammar.py, cover.py, actuator_lock.py, zigbee_inventory.py): Preserved #9 / 0#<UNIT>#9 / #<G>#9 on contextless WHO 1/2/13 commands via effective_message_where(..., address_family="zigbee") without regressing SCS #9 / 11#4#09 frames, and emitted ZigBee WHO 2 DIM 11 calibrated shutter positioning without SCS #001 priority (*#2*<WHERE>#9*#11*<LEVEL>##).
  • High (discovery.py, zigbee_inventory.py, gateway_serial.py, light.py, cover.py, validate.py, myhome-bus-card.js, bus_monitor.py): Protected newly created entities from concurrent Device Registry eviction (_registered_unique_ids), stamped serial DIM 66 replies with op_epoch against forgotten products, retained SharedSerialRuntime refcounts across active reconnects (hold_when_reconnecting=True), enforced 35 s DIM 66 offline verification with <ADDR> validation + direct *#13*<ADDR>00#9*66## fallback, bypassed < 1.0 s duplicate suppression on serial in myhome-bus-card.js, and closed all multi-frame/unparsed-raw/EUI-64/32-bit <ADDR> redaction vectors.
  • Medium, Low & Golden (gateway.py, services.py, websocket.py, binary_sensor.py, switch.py, trace_recorder.py, who99_openzigbee.yaml): Enforced ≤ 1/s RF broadcast pacing (*13*66*## / *13*65*##) and 500 ms *#*6## BUSY backoff, armed the per-unit (<ADDR><UNIT>#9) 4.5 s watchdog across unicast switch/light/shutter commands, separated authoritative switch WHAT 0/1 from WHAT 32 motion keepalive, gated off unsupported 3578 features (WHO 14, sync_time, DIM 2/DIM 6, FLASH), and synced all 14 context: "zigbee" golden fixtures with OWNd.

Verification (3197feafc, Python 3.14.7): 9,683 passed (0 failed), 36,062 / 36,062 = 100.0% statement coverage, 54/54 Platinum rules (20 services, en/fr/it/nl 100% parity), 499 golden frames, 687 privacy-checked files (0 leaks), 36/36 frontend tests, and 5/5 OWNd smoke gates all green.

@GreenGrassBlueOcean
GreenGrassBlueOcean force-pushed the feat/233-openzigbee-serial branch from 3197fea to 6691aec Compare December 2, 2026 20:10
@GreenGrassBlueOcean
GreenGrassBlueOcean changed the base branch from chore/release-2.0.2 to master December 2, 2026 20:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants