docs(who2): document LN4660M2 centralized control and advanced automation commands - #34
Conversation
|
Thanks for putting this together — there’s useful material here, and the catalogue/device work looks solid. I also reran the repo checks locally and everything passes mechanically. I do think we need a few changes before merging, mostly around evidence boundaries rather than the core content:
One smaller thing: the The LN4660M2 material itself is definitely worth keeping — I mainly want to preserve the Encyclopedia’s usual distinction between specified, observed, and inferred behavior, and make sure the Machine KB reflects the same thing. |
…tion commands - Clarify WHO 2 published command vs event session grammar for WHAT 10/11/12 - Document observed LN4660M2 on-wire frames with provenance link to MyHOME issue #445 traces - Note N_CONF=6 for LN4660M2 is corroborated from installation documentation - Register reviewed atomic claims and section identities in Machine KB - Add .gitattributes LF normalization for *.jsonl and knowledge/**
b2d3450 to
e849212
Compare
|
Thanks for the thoughtful and precise review @anotherjulien! All points have been addressed in the latest rebased commit (
|
|
Thanks a lot for taking the time to work through the review so thoroughly — the update addresses the main points really well. The command/event distinction is much clearer, the public trace provenance is now present, I only spotted a couple of small things left:
Neither feels worth asking you to go through another substantial round of changes. I’m happy to take care of those last inconsistencies myself and make sure the human-facing Encyclopedia and Machine KB end up aligned. This PR is also a nice concrete example of the question we’ve started discussing in the canonical-evidence discussion. We collect traces like these specifically to understand and document protocol and device behaviour, so there’s a strong argument that the canonical, sanitized evidence should live alongside the knowledge it supports in the Encyclopedia. That would make this kind of provenance much easier to preserve mechanically: an Encyclopedia claim could point directly to a stable evidence ID/hash, while MyHOME could derive or generate its test fixtures from the same evidence. In other words, the Encyclopedia would own the evidence and the documented knowledge derived from it, while MyHOME would own the tests derived from that evidence. No need to solve that architectural question in this PR, of course — I just think this is a good real-world example of why the discussion matters. Thanks again for the careful follow-up — this is in very good shape now. |
|
thx! |
Overview
This PR documents the BTicino LN-4660M2 (and sibling models
H4660M2,AM5860M2,067558) centralized cover controller, OpenWebNet Advanced Automation (WHO 2) General frames, and reconciles the Machine KB with reviewed atomic claims.Changes
functional/who-2-automation/what.md:*2*10#PRIORITY*WHERE##,*2*11#STEP#PRIORITY*WHERE##,*2*12#STEP#PRIORITY*WHERE##) from the Published event session grammar (*2*10#PRIORITY#SELECTOR*WHERE##, etc.).WHERE = 0), which emit event-style multi-parameter frames withSELECTOR = 1.functional/who-2-automation/addressing.md:A=GENtargeting General scopeWHERE = 0.WHERE = 0do not identify the transmitter source address and expand into point-to-point status telemetry (DIMENSION 10) from downstream actuators, with links to the public trace fixture.device-model/physical-devices.md:LN4660M2to theN_CONFphysical configurator positions table as6 (corroborated)from installation documentation (A,PL,Ar,PLr,M,Pre).LN4660M2,H4660M2,AM5860M2, and067558resolving to Item1579, model object46, firmware205, and single slot key object529("Shutter control").Machine Knowledge Base:
c007494–c007505) across the 4 new sections.test_claim_framework.py,test_build_infrastructure.py, andtest_phase12_consistency.py.Repository Infrastructure (
.gitattributes):*.jsonl text eol=lfandknowledge/** text eol=lfto enforce deterministic LF line endings across platforms for Machine KB artifacts and hashing.Verification
python build.py) and validation (python check.py): PASSED.knowledge/tests/andknowledge/tools/): 54/54 PASSED.check_esg.pyandcheck_ecv.py): 0 objective failures across all 146 pages.