Repository navigation
test(traces): add live MH200 Dimension 1 probe trace for relays and dimmers (#733) - #763
Merged
GreenGrassBlueOcean merged 1 commit intoOct 20, 2026
Conversation
…immers (#733) Live BTicino MH200 (firmware 2.1.0) capture, event session only and anonymised: a *#1*0## sweep, then *#1*W*1## to three ON relays, one OFF relay and two ON F418U2 dimmer channels. Relays answer a Dimension 1 request with their plain WHAT status and no level, so a post-sweep probe cannot promote a relay; dimmers answer with *#1*W*1*LEVEL*SPEED##. ON dimmers first answer the general request with a plain *1*1*W## and send their level later in the same sweep. The replay tests pass standalone on v2-phase1-architecture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Oct 21, 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
Adds the live trace and replay tests for the post-sweep dimmer capability probe of #733 / PR #742: what an on/off relay and a dimmer answer to a Dimension 1 request (
*#1*WHERE*1##).tests/fixtures/traces/issue_733/myhome_trace_MH200_dim1_probe_2026-10-20T19-22-47.json. It holds 107 event-session frames from a physical BTicino MH200 (firmware 2.1.0,WHO=13device type4), recorded with themyhome-gatewayMCP. It is anonymised: no IP, MAC or device names, and the gateway clock frames are removed.tests/fixtures/traces/issue_733/README.mdtests/test_issue_733_mh200_dim1_probe_trace.py. They pass standalone onv2-phase1-architecture, since dimmer promotion on a Dimension 1 frame already exists there.Capture
*#1*0##.*#1*W*1##to three relays that were ON (81,84,57), one relay that was OFF (11) and two F418U2 dimmer channels that were ON (29,67).Findings
*#1*81*1##,*#1*84*1##,*#1*57*1##*1*1*W##*#1*11*1##*1*0*11##*#1*29*1##*1*1*29##,*#1*29*1*200*2##,*1*1*29##*#1*67*1##*1*1*67##,*#1*67*1*174*2##,*1*1*67##WHATstatus and no level. It neither NACKs on the bus nor stays silent, so a Dimension 1 probe cannot promote a relay to a dimmer. Command-session ACK/NACK are not in the capture.*#1*W*1*LEVEL*SPEED##, framed by two*1*1*W##.29and67first answered*#1*0##with a plain*1*1*W##, and sent their level (*1*10*29##,*1*9*67##) only later in the same sweep.Tests
ONOFF) lights, the replies promote only the two dimmers toBRIGHTNESS.🤖 Generated with Claude Code