Repository navigation
test(trace): add authentic MyHomeServer1 WHO 25 scenario plus trace and replay test (#466) - #673
Merged
Conversation
…nd replay test (OpenWebNet-HA#466) Captured from a physical BTicino MyHomeServer1 gateway (FW 2.87.13) by @TheDarkWizard on 2026-10-09 in response to the community call for real-world WHO 25 scenario plus traces (OpenWebNet-HA#466). Validates gateway acceptance, SCS bus relay, and OpenWebNet monitor echo of Scheduled Scenario PLUS frame *25*11#0*11## (~82.8 ms RTT), unblocking OpenWebNet-HA/OWNd#91 and OpenWebNet-HA#671. Co-authored-by: TheDarkWizard <9061870+TheDarkWizard@users.noreply.github.com>
This was referenced Oct 9, 2026
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
GreenGrassBlueOcean
merged commit Oct 9, 2026
0433228
into
OpenWebNet-HA:v2-phase1-architecture
16 checks passed
GreenGrassBlueOcean
deleted the
test/issue-466-myhomeserver1-scenarioplus-trace
branch
October 9, 2026 17:36
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
Authentic on-wire bus trace captured from a physical BTicino MyHomeServer1 gateway (FW 2.87.13), closing the hardware verification gap for WHO 25 Scheduled Scenario PLUS (
*25*11#0*WHERE##).Contributed by @TheDarkWizard on issue #466 (comment 6085724930) in response to the community call-out for real-world WHO 25 scenario plus traces (#466 (comment 6085158753)).
1. What is the problem?
Under project testing policy, new protocol features and subsystem implementations cannot be merged based solely on firmware emulator analysis or reverse engineering—they strictly require verified on-wire bus frames from a physical customer installation in
tests/fixtures/traces/.Both OpenWebNet-HA/OWNd#91 (
feat(cen): parse and build WHO 25 scenario-plus frames (WHAT 11-15)) and OpenWebNet-HA/MyHOME#671 (feat(cenplus): support WHO 25 Scenario Plus commands and events) were blocked awaiting physical hardware traces confirming:*25*11#0*WHERE##on its command session.B1 01 93 00).*25*11#0*WHERE##) on the OpenWebNet monitor session.2. How is it solved?
tests/fixtures/traces/issue_466/config_entry-myhome_MyHomeServer1_who25_scenario_plus.json):scripts/anonymize_plant_fixture.py --check.tests/fixtures/traces/issue_466/README.md):tests/test_issue_466_myhomeserver1_scenarioplus_trace.py):3. How is it tested?
test_myhomeserver1_scenarioplus_trace_replay_without_exceptions: Replays all 500 on-wire frames through the gateway dispatcher into Home Assistant without any errors or unhandled exceptions.test_myhomeserver1_scenarioplus_specific_frame_grammar: Validates parsing of*25*11#0*11##,*#18*51*113*2343##,*#4*2*60*49##, and*1*0*0014##.tests/test_issue_466*passing in WSL.scripts/verify_ha_standards.py): 54/54 rules satisfied.scripts/sync_documentation.py --check): 0 drift detected.4. Where are the traces?
Trace Files in Tree:
tests/fixtures/traces/issue_466/config_entry-myhome_MyHomeServer1_who25_scenario_plus.json(originally attached asCen&Cen+CallToAction.jsonon #466 (comment 6085724930)).tests/fixtures/traces/issue_466/README.md.On-Wire Evidence:
[tx] *25*11#0*11##(2026-10-09T17:14:12.215385+00:00): Scenario Plus ON command sent to physical gateway.[rx] *25*11#0*11##(2026-10-09T17:14:12.298174+00:00): Acknowledged and placed on physical SCS bus (translating to bus opcodeB1 01 93 00), echoing back on monitor session 82.8 ms later.[tx] *#25*11##(2026-10-09T17:14:12.300230+00:00).[tx] *25*12#0*11##. Because in OpenWebNet andbt_luciOFF takes no#0parameter (*25*12*WHERE##), the gateway did not echo12#0, confirming the exact grammar distinctions implemented in OWNd#91.Co-authored-by: TheDarkWizard 9061870+TheDarkWizard@users.noreply.github.com