Repository navigation
test(traces): ingest Issue #767 MH200N pre-09W29 F414 dimmer 61 capture - #776
Merged
GreenGrassBlueOcean merged 1 commit intoOct 22, 2026
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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 authentic
MH200NOpenWebNet bus capture submitted by@wave68runnerin Issue #767 ("Dimmer F414 behind MH200N only dims via coarse presets, ignores Dimension 1 writes") and adds deterministic replay and verification tests against it.Motivation / Context
In Issue #767,
@wave68runnercaptured a 43-frame bus trace of a BTicino F414 DIN-rail dimmer atWHERE="61"behind a BTicino MH200N gateway (firmware 1.0,who13_code = 44,MH200NProfile):WHO=1translation frames (*1*1000#30*61##/*1*1000#31*61##) and standard coarseWHAT 2..10preset status frames (*1*9*61##,*1*10*61##,*1*8*61##..*1*5*61##).DIMENSION 1(*#1*61*1##) or written via fine-percentageDIMENSION 1(*#1*61*#1*<level>*0##), the pre-09W29F414firmware replies withSPEED = 240(0xF0, factory unprogrammed / coarse-only speed sentinel):*#1*61*1*130*240##,*#1*61*1*178*240##,*#1*61*1*146*240##,*#1*61*1*181*240##,*#1*61*1*140*240##.SPEED = 240(0xF0) onDIMENSION 1replies and switchesOWNLightingCommand.set_brightness()for thatWHEREaddress to standardWHAT 2..10coarse preset commands (*1*<preset>*61##).Hardware & Topology Captured
MH200N(firmware1.0, MAC prefix00:03:50,who13_code = "44",MH200NProfile, Home Assistant2026.9.4, integration2.0.0b15,OWNd 2.0.0b10)2026-10-21T18:11:09.762Z–2026-10-21T18:11:48.784Z(39.0 s,43frames:35 rx,8 txacrossWHO=1andWHO=13)09W29BTicino F414 dimmer atWHERE="61"(Area6, PL1)frames[0..25],18:11:09.762–18:11:17.717): Physical / iMyHome switch ON (*1*1000#1*61##->*1*9*61##at90%), 7 step-up sequences (*1*1000#30*61##->*1*10*61##at100%), and 5 step-down sequences (*1*1000#31*61##->*1*9*61##,*1*8*61##,*1*7*61##,*1*6*61##,*1*5*61##from90%down to50%).frames[26..32],18:11:32.774–18:11:40.358):WHO=13DIMENSION 22gateway clock broadcast (*#13**22*20*11*32*001*03*21*10*2026##), followed by Home Assistant turning61OFF (tx *1*0*61##->rx *1*0*61##) and back ON (tx *1*1*61##->rx *1*5*61##+tx *#1*61*1##->rx *#1*61*1*130*240##).frames[33..42],18:11:41.636–18:11:48.784): Home Assistant sending fourDIMENSION 1fine-percentage writes (78%,46%,81%,40%) answered by*#1*61*1*<level>*240##, followed bytx *1*0*61##->rx *1*0*61##(OFF).Technical Changes
tests/fixtures/traces/issue_767/myhome_trace_MH200N_all_2026-10-21T18-12-44.json:@wave68runner'sMH200N+ pre-09W29F414installation.tests/fixtures/traces/issue_767/README.md:tests/test_issue_767_mh200n_f414_trace.py:rx/txframe counts (35 rx,8 tx), andDIMENSION 1speed = 240(0xF0) replies.MyHOMEGatewayHandler,FrameRouter, andMyHOMELightforWHERE="61", verifying automaticColorMode.BRIGHTNESSpromotion from*1*9*61##, coarse step-up/step-down state tracking (90%->100%->90%..50%), OFF/ON toggling,DIMENSION 1status polling, and compatibility with bothOWNd 2.0.0b11and OpenWebNet-HA/OWNd#134.Verification & Testing
pytest tests/test_issue_767_mh200n_f414_trace.py tests/test_trace_oracle_validation.py tests/test_device_health_corpus.py tests/test_trace_replay.py -q(249 passed)OWNd(withOWNd#134) and pinnedOWNd==2.0.0b11wheelruff check tests/test_issue_767_mh200n_f414_trace.py(0 violations)python scripts/verify_ha_standards.py(PASS)python scripts/sync_documentation.py --check(PASS)Impact & Breaking Changes
09W29F414dimmers behindMH200N.Refs #767
Refs OpenWebNet-HA/OWNd#134