Skip to content

test(trace): add authentic MyHomeServer1 physical plant trace and replay test (#649) - #655

Merged
GreenGrassBlueOcean merged 2 commits into
OpenWebNet-HA:v2-phase1-architecturefrom
GreenGrassBlueOcean:test/issue-649-myhomeserver1-live-trace
Oct 7, 2026
Merged

GreenGrassBlueOcean merged 2 commits into
OpenWebNet-HA:v2-phase1-architecturefrom
GreenGrassBlueOcean:test/issue-649-myhomeserver1-live-trace

Conversation

@GreenGrassBlueOcean

Copy link
Copy Markdown
Contributor

Authentic MyHomeServer1 Physical Plant Trace & Replay Fixture

Contributed by @gdluck from an authentic physical MyHomeServer1 installation on #649 (comment 6046117228).

Following our established architectural standard for physical bus traces (#648, #646), this PR permanently locks in this empirical ground truth in-tree with full documentation and a deterministic replay test suite.

Hardware Profile

  • Gateway: BTicino MyHomeServer1 (Server MyHOME_Up, FW 3.87.13, IP 192.168.0.218)
  • WHO 13 Identification: Code 130 (*#130**1*1*0*3*1*8##)
  • Plant Devices:
    • Thermostat Zone 60 (heating, no central unit #0)
    • Energy meter F520 (address 51)
    • Lighting relay actuator (address 43)

Changes

  1. tests/fixtures/traces/issue_649/live_test_monitor_2026-10-07.log: verbatim raw monitor session capture (107 frames).
  2. tests/fixtures/traces/issue_649/myhome_trace_MyHomeServer1_live_2026-10-07.json: structured trace archive with ISO timestamps, frame metadata, parsed message types, and human-readable logs.
  3. tests/fixtures/traces/issue_649/README.md: complete hardware profile, side-by-side live vs. emulator comparison table, and empirical findings.
  4. tests/test_issue_649_myhomeserver1_live_trace.py: deterministic replay test replaying all 107 frames through the event dispatcher without exceptions, plus grammar and semantic assertions for key frames.

Co-authored-by: gdluck 9041273+gdluck@users.noreply.github.com

…lay test (OpenWebNet-HA#649)

Captured from a physical BTicino MyHomeServer1 gateway (FW 3.87.13)
by @gdluck on 2026-10-07 across thermostat zone 60, energy meter 51,
and lighting relay actuator 43.

Co-authored-by: gdluck <9041273+gdluck@users.noreply.github.com>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

…es, and raw log parity (OpenWebNet-HA#649)

- Accept live_test_monitor_2026-10-07.log as authentic ground truth
- Clarify JSON archive as derived fixture under proposed OWNd season decoding
- Mark 37-command comparison table and F520 frames as comment evidence
- Document unmentioned zone 39, zone 50, and dimensions 40/48/59 traffic
- Clarify actuator 2 vs fan speed semantics on zone 60
- Add test_myhomeserver1_live_trace_log_to_json_raw_equality for 1:1 parity
@GreenGrassBlueOcean
GreenGrassBlueOcean merged commit b356ac5 into OpenWebNet-HA:v2-phase1-architecture Oct 7, 2026
16 checks passed
@GreenGrassBlueOcean
GreenGrassBlueOcean deleted the test/issue-649-myhomeserver1-live-trace branch October 7, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants