Repository navigation
test(traces): ingest Issue #669 MH202 visitor doorbell call and wall control traces - #751
Merged
GreenGrassBlueOcean merged 2 commits intoOct 18, 2026
Conversation
… wall control traces (#669)
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…mDiscovery, FrameRouter, and who22_tuner_listener
GreenGrassBlueOcean
deleted the
test/issue-669-mh202-doorbell-wall-traces
branch
October 18, 2026 13:28
This was referenced Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ingests the two follow-up authentic
MH202+F441M+ video intercom OpenWebNet bus captures submitted by@nicolacavallo84in Issue #669 (comment6248843326) and adds protocol-validated replay tests against both captures through the productionPlatformDiscovery,FrameRouter,route_pseudo_zones,MyHOMESoundSource, andwho22_tuner_listenerpipeline.Hardware & Topology Captured
MH202(Firmware1.0)F441M(pairedWHO=16/WHO=22dual-dialect emission on the bus)31,41,51,61,71,81WHERE=4000, caller ID20) and indoor video station (WHERE=11/ unit1)1. Visitor Doorbell Call & Lock Release (
myhome_trace_MH202_all_2026-10-18T10-27-48.json, 61 frames)10:27:00.492Z–10:27:01.368Z):31,61,51,41,71,81) to volume1via pairedWHO=16(*#16*<EA>*1*1##) andWHO=22(*#22*3#<E>#<A>*1*1##) Dimension 1 frames.10:27:01.281Z–10:27:01.285Z):*8*1#1#4#20*11##: 4-componentWHO=8call initiation (WHAT=1#1#4#20,Kind=1Entrance Panel PE1,MMType=4Audio+Video,Caller=20embedded inWHAT, directed to indoor unitWHERE=11).*8*9#1#4*20##(+4 ms):WHO=8Caller Address Notification (WHAT=9#1#4,WHERE=20).10:27:25.455Z–10:27:26.201Z):*6*22*1##(WHAT=22, L4686SDK "Open lock with external unit in conversation" at unit1) followed+26 mslater by*6*10*4000##(WHAT=10, "Open lock" at entrance panel4000).~717 mslater, lock relay pulse release frames*6*24*1##(WHAT=24at1) and*6*23*4000##(WHAT=23at4000).10:27:30.852Z–10:27:33.268Z):*6*9**##: Camera OFF (WHO=6, WHAT=9, WHERE=*).*25*32#1*31##: Dry-contact / IR sensor OFF event (WHO=25, WHAT=32#1where32= contact OFF / IR not detected and1= unsolicited event,WHERE=31,OWNDryContactEvent.is_on == False).31->0,41->6,61->7,51->6;71and81remain at1).2. Audio Zone Wall Controls (
myhome_trace_MH202_all_2026-10-18T10-34-13.json, 146 frames)10:33:32.011Z–10:33:35.201Z):41(Area 4, Point 1) emitsWHO=22commands (*22*0#4#4*6##All Sources6OFF in Stereo Area 4,*22*1#4#4*2#3##Source2#3ON in Stereo Area 4,*22*21#4#4*5#2#3##and*22*2#4#4*5#2#3##General Source5#2#3activation in Area 4,*22*1#4#4*3#4#1##Speaker3#4#1ON in Stereo Area 4) interleaved withWHO=16matrix routing*16*3*143##(Environment4-> Source3), amplifier ON*16*3*41##, and source ON*16*3*103##.WHO=22Dimension 12 status (*#22*3#4#1*12*1*4##,*#22*2#3*12*1*4##) and full DSP status dump on3#4#1(Dim 1 Volume=6, Dim 2 High=30, Dim 4 Low=30, Dim 17 Balance=10, Dim 20 Loudness=1, Dim 18 3D=0, Dim 19 Preset=3).10:33:34.822Z–10:33:50.997Z):WHO=22step commands*22*3#1*3#4#1##(Volume UP+1) and*22*4#1*3#4#1##(Volume DOWN-1), while the gateway broadcasts paired*#16*41*1*<vol>##and*#22*3#4#1*1*<vol>##volume reports (6 -> 15 -> 5 -> 12 -> 7).10:33:51.905Z–10:33:52.610Z):*22*0#4#4*3#4#1##(WHO=22Speaker3#4#1OFF),*16*13*41##(WHO=16Amplifier41OFF), and*#22*3#4#1*12*0*10##(WHO=22Dim 12 standby state0).Verification
pytest tests/test_intercom_ducking_trace_replay.py tests/test_trace_oracle_validation.py(76 passed)test_mh202_visitor_doorbell_call_trace_replay: validates all 61 frames parse cleanly viaOWNMessage.parse, verifiesWHO=8(*8*1#1#4#20*11##,*8*9#1#4*20##),WHO=6(*6*22*1##,*6*10*4000##,*6*24*1##,*6*23*4000##,*6*9**##),WHO=25(*25*32#1*31##OWNDryContactEvent.is_on is False), andWHO=9(*9*1*6##,*9*0*6##) semantics, and confirms viaPlatformDiscovery+FrameRouterthat all 6 powered-off amplifiers remain strictlyMediaPlayerState.OFFduring ducking and restoration while an active streaming group continues undisturbed and 0 phantom entities are created.test_mh202_wall_controls_trace_zone_41_lifecycle: replays all 146 frames throughPlatformDiscovery,FrameRouter,route_pseudo_zones,_sound_route_keys,MyHOMESoundSource, andwho22_tuner_listener, verifying that Zone41routes to Source3on*16*3*143##, wakes on*16*3*41##, wakesMyHOMESoundSource103on*16*3*103##while routing2#3/5#2#3frames viawho22_tuner_listener, tracks the exact on-wire volume trajectory (6 -> 15 -> 5 -> 12 -> 7), and powers off cleanly on*16*13*41##with 0 phantom entities discovered.ruff check custom_components tests scripts,scripts/verify_ha_standards.py, andscripts/sync_documentation.py --checkall pass with 0 issues.Refs #669, #667