Repository navigation
v2.0.2
π§ Release: v2.0.2 β Post-v2.0.1 Patch Release
Patch release v2.0.2 of MyHOME for Home Assistant (Home Assistant 2026.8+ / Python 3.14; OWNd 2.0.3).
π Security & Safety
- Bus Monitor Card XSS Hardening & Admin-Only
myhome.send_message(hacs/default#15020, #1027): Escaped all dynamic HTML sinks in the custom Bus Monitor card (myhome-bus-card.js) and restricted interactivemyhome.send_messageservice calls to Home Assistant administrator accounts (matchingmyhome/bus_monitor/send; automations and system calls without a user context remain allowed). Upgrade note: dashboard cards, scripts, or Template Alarm Panels invoked interactively by non-admin Home Assistant users can no longer callmyhome.send_messagedirectly; use native entity actions or a state/event-triggered automation instead. - Gateway-Aware Firmware Oracle Crash Guards Across Bus Monitor UI & Backend (#1036): Unified client-side (
myhome-bus-card.js) and backend (frame_safety.py,where_grammar.py,services.py,websocket.py) safety enforcement across all13blanket crash rules and model-specific Firmware Oracle verdicts (includingMH202WHO = 14dimension writes,WHO = 22Dim #6 >= 33warnings, andL4686SDKclock-reset guards), with amber pre-send confirmation prompts in the Bus Monitor card. - Pre-Release Security, Privacy, Lifecycle & Platform Audit Hardening (#1065): Restricted all
7Bus Monitor / calibration-trace WebSocket endpoints (websocket.py) and interactivemyhome.sync_time/myhome.sweep_buscalls (services.py) to Home Assistant administrators (automations/system calls remain allowed), anonymizedexposeentity_ids and redactedsubentry_idULIDs in diagnostics (expose.py,diagnostics.py), wired deterministic privacy scrubbing into Bus Monitor card Copy Trace / Export Trace (myhome-bus-card.js) and hardenedtrace_recorder.pyscrubbing for leading-zero WHO/dimension tokens, leading-punctuation hostnames, and 8-octet ZigBee EUI-64 MACs, moved frontend card file checks off the event loop with headless-HA guards (__init__.py), reloaded config entries onexposesubentry deletion without stale duplicate-key rejections (__init__.py,config_flow_expose.py), switched repair reloads toasync_schedule_reload, scoped companion/empty-device pruning safely across config entries and composite devices (discovery.py,button.py), added missing shared-bus topology and cover-calibration repair translation keys across all four locales, and removed redundant hardcoded entity icons in favor oficons.json.
β¨ New Features
- Lossless Gzipped OpenWebNet Bus Trace Recorder (#1046): Added admin-only
myhome.start_bus_recording,myhome.stop_bus_recording, andmyhome.bus_recording_statusactions writing atomic.jsonl.gztrace segments (O_CREAT | O_EXCL | O_NOFOLLOW) with deterministic privacy scrubbing (OPEN/HMACauth frames, configured passwords/PINs,WHO = 5#<code>alarm PINs, andWHO = 13/WHO = 10xxnetwork/MAC/DeviceID frames while preserving bare*#<WHO>##status queries), routine in-bandEventSessionRunnerreconnect transition logging,CommandWorkerPoolcmd_donetracking, strict per-sessionmax_bytes/500 MiBdirectory quotas, and diagnostics integration.
π Bug Fixes
-
WHO = 14Actuator Lock Preservation, Reconnect Resync,F455/F450Gating & Scope End-Stop Self-Heal (#1032, #1051, #1052, #1056, #1059):- Preserved
actuator_lockedacross startup/post-ACKWHO = 1/WHO = 2status and dimension polls (_recent_who1_polls/_recent_who2_polls, including*#1*0##,*#1*0#4#II##, andDim 4replies), gatedWHO = 14lock/unlock buttons on refusingF455/F450gateways (pruning on Generic βF455/F450resolution), addedWHO = 14shared-bus secondary delegation and inbound*14*0/1*W##routing, and reloaded affected primaries across secondary lifecycle changes (#1032). - Automatically re-applied persisted
*14*0*<WHERE>##actuator locks on gateway reconnect and mid-flight startup in-bandOWNEventSessionrecoveries before discovery sweeps (_startup_reapply_in_progress), kept failed/cancelled/timed-out writes deferred in_deferred_startup_lock_keysfor retry (delivered_ok), closed secondary catch-up, cancellation, write-timeout, and reconnect-supersede lock resync edges (#1059), added thereapply_actuator_locksOptions Flow toggle, and self-healed covers on delayed scope end-stop frames (#1052,#1056,#1059).
- Preserved
-
Cover In-Flight Move Anchoring During Stop Probe, Failed-Stop Settle Recovery & Intentional Queued-Stop Log Fix (#1047, #1048, #1054): Anchored confirmed in-flight P2P/scope moves arriving while
_pending_cmd == "stop"or outsideECHO_WINDOW(_confirmed_move_anchor), preserved_probing_p2p_directionacross_begin_stop()so covers starting under a staleWHO = 14lock still reconcile travel and slat tilt (#1054), re-armed wall settle if a timed cover'sSTOPwrite fails or is cancelled so it never stays stuckopening/closing, and eliminated falseERRORlog entries when an intentionalstop_cover/stop_cover_tiltcancels a queued move or tilt write (#1048). -
Gateway Profiles, Firmware Backtrace Alignment,
OWNd 2.0.3& BTicino3488Support (#1039, #1031):- Upgraded the pinned protocol library to
OWNd 2.0.3and aligned MyHOME gateway capability tables, WHO TX/RX routing (peer_handles_who_tx,remote_blocked_who),L4686SDKclock-read guard (*#13*0*[01]##), andgateway_tier()/_is_isolated_numeric_span()delimiter guards with full firmware backtraces (742-input /10,517-row 13-gateway oracle snapshot). - Added full BTicino
3488/ Legrand067259gateway support (model selector, non-overridingWHO = 1013OBJECT_MODEL = 128observation, Tier 2 /WHO = 8-only topology classification, 2-worker session limit with 1-worker default,*#4*0#0*20##startup actuator sweep, broadcast*#4*0*60##humidity polling, andF452/F452VvsF453/F453AV/MH200Nstartup alignment). - Hardened
WHO = 4thermoregulation handling againstbt_termofirmware disassembly findings: extendedWHO = 4modeWHATs (104/204/304,107/108/207/208,402/407/408/410,502/507/508/510),validate_thermo_trigger_commandcrash guards (CRASH-01/03/04),WHAT 40(*4*40*Z##,local_offset_release) coalescedDIM 13+DIM 12refresh, fan-coilDIM 11re-polling on season change after single-emptyDIM 19, preservingHVACMode.AUTOon standaloneDIM 7(*#4*Z*7*3*0##) across trailing season frames, normalizing zero-padded zone addresses (zone: "02"β2), guarding thermo-switch discovery for4001/4002pump_callframes, and validatingWHO = 4interface tokens.
- Upgraded the pinned protocol library to
-
Zone-0 Circulation Pump Actuators (
WHO = 4,0#1..0#9) (#1038, #1040): Added full support for zone-0 circulation pump actuators (0#1..0#9, including#4#IFrouted forms) as read-onlybinary_sensor(RUNNING) or controllableswitch(MyHOMEThermoSwitch) via subentries and YAML, tracking4001#Z/4002#Zrequesting zones, gating direct*#4*0#N*20##reads on refusing gateways (F450/F454/F459Gen C*#4*0#0*20##fallback;H4684/MH200Gen A refusal), preserving pump devices across platform reconfigures, and archiving anonymizedMyHomeServer1#1038traces. -
Clean DEBUG Logging for Echoed
WHO = 4OWNHeatingCommandFrames (#1063): StoppedGatewayEventDispatcher.process_messagefrom logging validWHO = 4OWNHeatingCommandframes echoed on the monitor stream (Gen D actuator#20writes like*#4*3#2*#20*1##,#5/#7/#30β#32writes, non-polled active/standby#11/#14writes, and echoed requests) asUnsupported message type, usingOWNd'shuman_readable_logor structuredHeating dimension write/Heating commandDEBUG logs while preserving entity dispatch and#11/#14zone re-reads. -
Climate Off-Season Fan Mode Hiding & Write Guard (#1045): On mixed zones where Dimension 19 proves the active season's side has no fan coil (e.g. heating valve + cooling fan coil during winter), dynamically hide
ClimateEntityFeature.FAN_MODE/fan_mode(preventing dead UI controls, winterscene.createβscene.turn_onfailures, and area-wideclimate.set_fan_modeaborts), refuse direct off-season*#4*Z*#11*S##writes without optimistic drift, and keep season state synced across Dimension 7 (_apply_zone_state) and mode-with-season frames (_remember_season). -
Climate
myhome.yamlcool/standaloneAutodiscovery Parity & DynamicTARGET_TEMPERATURE(#1053): Stoppedvalidate.py(climate_schema) from injectingcool: Falseandstandalone: Falsewhen omitted inmyhome.yamlso YAML central units keep heating + cooling by default (fixingstate=unknown/ post-restartstate=offon cooling central units like*4*2101*#0##), YAML zones learn cooling and standalone/plant topology from the bus identically to autodiscovery across bothclimate.pyandsensor.py(MyHOMEActuatorOutputSensor), andheat: falsezones that later learn cooling dynamically gainClimateEntityFeature.TARGET_TEMPERATUREalongsideHVACMode.COOL(explicitcool: true/falseandstandalone: true/falsecontinue to pin behavior). Upgrade note: installations that keptmyhome.yamlon disk auto-heal on reload asentry.options["migrated_yaml_platforms"]is refreshed; users who already deletedmyhome.yamlonv2.0.0/v2.0.1after thelegacy_yaml_importednotice still have the earlier injectedfalsedefaults inmigrated_yaml_platformsand can clear them by temporarily restoringmyhome.yamlwithoutcool/standalonefor one reload (then removing it again) or by removing and re-adding the gateway entry. -
Climate Silent-Zone
Dim 12Poll & Inferred-Mode Provenance Hardening (#1061, #1064): Tracked when a zone's mode is only inferred from a#0central-unit broadcast or anF455synthetic*4*311*#Z##frame (_mode_inferred) so silent-zone polling (*#4*Z*12##/*#4*Z*14##), post-discovery*#4*Z##polling (_core_zone_state_reported), standalone detection/restore (async_restore_last_state,_is_off,_mark_standalone_detected,MESSAGE_TYPE_SEASON), and Dimension 7 no-op frames cannot mask a standalone thermostat's real heating/cooling/off/protection state. -
WHO = 4Temperature Probe &WHO = 1Illuminance/Motion Sensor Router Key Isolation (#1068): IsolatedWHO = 4temperature probes (thermo_temp:),WHO = 1illuminance sensors (light_lux:), andWHO = 1motion/PIR sensors (light_motion:) onto dedicatedFrameRouterkeys, eliminating double-delivery ontoMyHOMEClimate(preserving#383protection-nominal setpoint restoration),MyHOMEMotionSensor, andMyHOMELight/MyHOMESwitchon shared addresses, closing#967phantom-probe bypasses on empty*#4*<probe>*0##/*#4*<probe>*15##requests, and guarding against foreign-where_param, invalid-interface, empty-reading, central#0/#ZDim 0, and write-frame leaks. -
Central Unit Cross-Season Settle Wait & Warm-Standby Failover (#1069): Waited briefly (
_CENTRAL_SEASON_REPORT_TIMEOUT = 2.5 s) for the central unit's fresh target-season operating-mode report (*4*102/*4*202) before transmitting*4*3100*...##on cross-season switches (#03550 and#0#N4695) so fast bare-metal gateways (F455, includingWHO = 4warm-standby failover) no longer race and drop program restore, with freshness-gated post-settle checks and cleanasync_on_removeabort /#1062rename re-arm. -
4-Zone Central Unit (
4695/#0#N/#Z#C) Schedules, Grammar, Discovery & Restore Hardening (#994, #1067): HandledQUIRK-10unnumbered#0#NscheduleWHATs (1100/2100/1200/2200), pairedDIM 12βDIM 13/WHAT 40wake bursts with a5.0 s_FOUR_ZONE_BURST_WINDOWand ordering guard (_arm_four_zone_unpaired_dim12), canonicalized zero-padded#0#01..#0#09routing and routed#0#4#4#II_health_address, hardened#Z#Ccontrolled-zone grammar and conditioning reports, guarded 4695-only#ZNACK retries, preventedZoneDiscovery.correct_saved_central_addressno-op self-deletion, matched MACs case-insensitively in_rehome_master_output_sensors, guarded holiday and opposite-seasonDIM 12frames, cleared stale_local_target_temperatureacross season switches, and made active-schedule restore offset-safe. -
Timed Cover
set_cover_positionAuto-Stop & Echo Handling onDimension = 10-Emitting Actuators (#1043, #1044): Fixed stationaryDimension = 10stop echoes (*#2*<WHERE>*10*10*<LEVEL>*β¦##) relayed by pre-move-STOP gateways (F461,F454,F459,F460,MyHomeServer1,3488,H4890,MH200N) bypassing_handle_echo()on covers kept on a timed strategy (not _advanced, e.g. manualtravel_timecalibration orstrategy: timed), which previously cancelled_auto_stop()before motor start, treated Home Assistant's own move as an external full run, or overwrote the timed stop estimate with an uncalibrated actuator level. Also consumes paired*2*0*<WHERE>##βDimension = 10stop-echo bursts in either order, protects timed Venetian slat pulses (slat_tilt: truewithoutadvanced: true) against pre-move and pulse-stopDimension = 10echoes, invalidates_run_generationon external/in-flightDimension = 10stops, preservesassumed_state(position = None) onstrategy: simple, and learns100 %/0 %endpoints when anunknowntimed cover is already at its physical limit without falsely flaggingstop_before_move. -
Venetian Tilt Restore, Ignored Address Normalization, Motion Dedup & Orphan Pruning (#1033): Persisted and restored Dimension 10 Venetian blind
tilt_levelacross Home Assistant restarts, normalizedIgnoredAddresseshandling (WHO = 4, leading zeros,#/hyphen keys,WHO = 22#4#speakers,button.pystartup enforcement), unified Area-00WHO = 1motion detector addresses (0004β04) so outbound PIR queries (*#1*04*5##/*#1*04*7##) succeed onbt_luci/F450gateways while preserving registry unique IDs, and pruned orphaned companion/button entities on manual deletion (including unified#0#N4-zone central units andMyHOMEImpulseCover). -
Guided Cover Calibration Repair Flow, Ownership, Timeout & Reload Safety (#1035, #1060, #1066): Added a guided Start/Stop cover calibration repair flow, improved calibration button UX, detected legacy cutoff behavior, synced live entity renames, updated cover strings to generic wording across all locales (
#1035), enforced strict liveWHO = 2cover matching and manual-timing run ownership checks before sendingSTOP(#1060), ensured pressing Stop or dismissing the dialog still stops a moving cover after a mid-run config-entry reload, and transmitted a safety*2*0*<WHERE>##STOP+ clean motion settle whenCALIBRATION_RUN_TIMEOUT(180 s) expires on non-stop-reporting actuators (_last_stop_generationguard,#1066). -
Live
entity_idRename Lifecycle Re-Attachment (#1062): Re-attachedFrameRoutersubscriptions, gateway availability callbacks,WHO = 14lock manager bindings,CoverFamily/ scope & impulse cover timers,MyHOMELightGroupmember tracking (including member removal, disabled-member handling, and HA2026.12+restoredunavailableplaceholders),MyHOMELockauto-relock timers, media player pools, andwatch_zone_actuatorsreconnect watchers across UIentity_idrenames (including round-tripA β B β Arenames) with zero outbound bus frames and no state clobbering. -
Config & Options Flow Form Preservation on Rejected Submits (#1037, #1041): Preserved the user's chosen gateway model across rejected Options Flow submits (
#1037) and preserved audio, topology, and port fields across rejected Config Flow submits (#1041). -
Diagnostics, Bus Monitor, Media Player & Cover Poll Fixes (#1026): Redacted
copied_fromin diagnostics, counted both UI and YAML platforms accurately, filteredWHO = 16zones and#4#IIbus interfaces properly, preservedBusFrameWHEREvalues, and skipped redundant cover status polls. -
Complete Localization Parity (
en,fr,it,nl) & Translation CI Gate (#1028): Broughtnl,fr, andittranslations to 100% key parity withstrings.jsonand enforced translation completeness in CI.
π Documentation
- One-Click My Home Assistant Marketplace Repository Badge (#1024, #1029): Added and polished the official My Home Assistant
marketplace_repositoryone-click badge (owner=OpenWebNet-HA,repository=MyHOME,category=integration) inREADME.mdanddocs/getting-started/installation.md, guarded by an anti-drift check intests/test_ha_standards.py. - 13-Gateway Firmware Oracle Metadata &
3488Parity Sync (#1034): Synchronizedtests/golden/README.md,tests/golden/SOURCE.yaml,docs/protocol_conformance_matrix.md,ROADMAP.md,docs/roadmap.md,services.py/services.md,gateway.pycomments, and3488conformance/reversal tests withchore/release-2.0.2's742-input /10,517-row13-gateway oracle snapshot (verdicts_sha256:af4654d6β¦,0timeouts,129crashes,2,080nack/outrows).
βοΈ CI & Tooling
- Owner Governance, Release Ancestry Guard & CI Verification (#1042): Added
.github/CODEOWNERSwith@OpenWebNet-HA/owners/@gdluck, enforced compulsory non-author Owner review and release ancestry guards viascripts/verify_repo_governance.py. OWNdPinned Smoke Lockstep Scoping (#1050): ScopedOWNdprofile/oracle lockstep verification inscripts/run_ownd_smoke.pyandtests/test_firmware_oracle_conformance.pyto the pinnedOWNdsmoke target so upstreamOWNddev/latestadditions do not break pinned release CI.- Live Community Verification Traces & Golden Corpus Expansion (#1021, #1022, #1023):
F454(FW 2.0.50) Bus Sweep & Climate/Lighting Capture (#1021): Archived a 240-frame (186 rx,54 tx) physicalF454FW 2.0.50sweep coveringWHO = 1, 2, 4, 13, 1013(tests/fixtures/traces/f454_2_0_50_sweep_2026-11-26/) with provenance, privacy, and end-to-end Home Assistant replay tests.F459(FW 2.1.5) Full Debug Log &14Golden Corpus Fixtures (#1022): Archived a sanitized2,943-lineF459FW 2.1.5full debug log (tests/fixtures/traces/f459_full_debug_log_2026-11-26/) expanding trace-matrix coverage forWHO = 25&WHO = 1001, and staged14schema- and builder-verifiedcommunity-plant-capturefixtures (467 β 481corpus records,295 β 309golden shapes) intests/golden/.F4544-Zone Central Unit (#0#1)v2.0.1Verification Trace (#994, #1023): Added an 18-frame liveF454FW 2.0.51+46954-zone central unit verification trace (tests/fixtures/traces/issue_994/) and end-to-end replay test confirming central-unit setpoint propagation and direct subordinate zone writes onv2.0.1/OWNd 2.0.2.
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