Repository navigation
test(f461): add live F461 2026-10-18 trace for F411/4 lights, F411/2 5s shutter, and Expose bus verification - #753
Merged
GreenGrassBlueOcean merged 1 commit intoOct 19, 2026
Conversation
…5s shutter, and Expose bus verification
|
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
Adds the 2026-10-18 live physical BTicino F461 (
firmware 2.0.11/WHO=13model code200/WHO=1013code134,134.15.5.0) multi-session (cmd+evt) capture and replay test suite covering the expanded physical test plant and empirical bus verification of PR #750 declarative Expose:tests/fixtures/traces/f461_live_2026-10-18/myhome_trace_F461_live_2026-10-18.json(73evtframes inframes, 294 chronologicaltx/rx/resultentries inrows, RFC 5737 scrubbed IP192.0.2.92and MAC00:03:50:00:04:97)tests/fixtures/traces/f461_live_2026-10-18/README.mdtests/test_f461_live_shutter_expose_trace.pyPlant Topology (
2026-10-18)2.0.11(WHO=13code200,WHO=1013134.15.5.0)WHERE="06",WHERE="07"Light 1(06) andLight 2(07), Group#1, and General0WHERE="05"Zone 2Key Empirical Hardware Findings
1.
WHO=1PhysicalF411/4Lights (WHERE="06","07"), Group#1Dim 15 & General0(run1_lights_group_and_general)06or07ON causes theF411/4/F461to emit the individual status frame (*1*1*06##/*1*1*07##) followed immediately by the Group#1aggregate status frame*#1*#1*15*1##(at least one light in Group#1is ON), and*#1*#1*15*0##when all members of Group#1are OFF.#1(*#1*#1##) returns both individual point states (['*1*0*06##', '*1*0*07##']).#1commands (*1*1*#1##,*1*0*#1##) emit individual point status frames for both06and07(*1*1*06##,*1*1*07##) plus*#1*#1*15*1##/*#1*#1*15*0##.0commands (*1*1*0##,*1*0*0##) physically switch bothF411/4channels (06and07) and emit*1*1*0##+*#1*#1*15*1##onevtwithout individual point frames; subsequent point resync polls (*#1*06##,*#1*07##) confirm both relays switched.2.
WHO=2PhysicalF411/25-Second Timed Shutter (WHERE="05") (run2_shutter_05_travel_and_reversal)*2*1*05##) emits a 4-frame sequence onevt:['*2*1000#0*05##', '*2*0*05##', '*2*1000#1*05##', '*2*1*05##'](gateway pre-move STOP command translation, actuator STOP confirmation, UP command translation, and actuator UP confirmation).*2*0*05##) emits['*2*1000#0*05##', '*2*0*05##'].*2*1*05##*2*2*05##) emits['*2*1000#0*05##', '*2*0*05##', '*2*1000#2*05##', '*2*2*05##'], followed 5.0 s later (dt = 6.22 stotal) by the physicalF411/2actuator's spontaneous hardware end-of-travel*2*0*05##frame onevt.3. Live
F461Verification of PR #750 DeclarativeExpose(run4_expose_virtual_bus_verification)WHO=2Virtual Cover (WHERE="25"): Sendings:*2*1*25##,s:*2*2*25##, ors:*2*0*25##for an unpopulated virtual cover immediately broadcasts['*2*1000#0*25##', '*2*1000#1*25##'],['*2*1000#0*25##', '*2*1000#2*25##'], and['*2*1000#0*25##']on the event monitor session before returningNACK(~0.55 s) on the command session. Replaying these exactevtbursts throughExposeManagerconfirms that_pre_move_stop_guardand_tx_echo_guardabsorb both frames without triggering self-oscillatingcover.stop_cover/cover.open_covercalls.WHO=1Virtual Light (WHERE="08"vs Populated"06"): Populated06ACKs in ~215 ms and echoes*1*1*06##/*1*0*06##onevt. Unpopulated08transmits on the 2-wire SCS bus and returnsNACKafter 2.06 s on*1*1*08##/*1*0*08##/*1*5*08##(no retry when markedis_exposed), whereas Dimension#1write*#1*08*#1*150*0##is ACKed in 126 ms.WHO=4Virtual Temperature Probe:bt_termoon F461 parses*#4*W*0*TTTT##(without#0) as a Dimension 0 read request (*#4*2*0*0999##returns Zone 2's actual measured temperature*#4*2*0*0249##; unpopulated50/000/102time out after 2.1 s withNACK), whereasOWNHeatingCommand.write_temperature("50", 21.5)(*#4*50*#0*0215##, with#0on a 2-digit probe address) is ACKed in 155 ms.WHO=13Bus Clock &WHO=18Virtual Energy Meter (WHERE="51"):WHO=13clock queries (0,1,22) and#0writes (*#13**#0*...##) ACK and echo onevt;bt_energyACKs*#18*51*113*450##,*#18*51*51*12345##,*#18*51*54*320##,*#18*51*#1200#1*1##,*#18*51*#1200#1*0##, and*#18*51*113##in ~140–200 ms.Verification
pytest tests/test_f461_live_shutter_expose_trace.py tests/test_device_health_corpus.py tests/test_trace_oracle_validation.pyruff check custom_components tests scriptsscripts/verify_ha_standards.py&scripts/sync_documentation.py --check