361. A family spelt otherwise than its definition is found by Logitech's own protocol id, and a code the family's whole block does not take is built from the definition¶
Date: 10 October 2026. Status: confirmed by construction against two Harmony One compiles for two
of the eight family spellings, three codes word for word; the misspelt spellings are found by a lookup that
agrees with Logitech's own protocol id on every command of the catalogue. Entone 56 Bit, Galaxis 16 Bit
Quad Toggle and the Ada 40 Bit, AudioAnalogue 14 bit, DAM 12 Bit and Intellibus 17 Bit spellings are
composed from the definition alone, stated and unverified per decision 15. Nothing composed this way has been written to a remote.
todo-process-logitech.md 2.3, "the 8 families left over, 4 with no rhythm and 4 whose block is refused".
An infrared command in Logitech's catalogue names its family in its own text, G:Pioneer 32 Bit Dual:()(...)(),
and the composer looks that name up twice: in the archive's protocol definitions, which state how the code
is read and sent, and in the rhythm table, protocols.ts, which holds a block measured off Logitech's
compiles or derived from their definition for each family.
Sources checked before the work started. This document, sections 228, 231, 233, 309, 348, 350 and 359.
MyHarmony's client, ../lab/work/myharmony/src/: its Command data contract carries a KeyCode string and,
beside it, a ProtocolId number, so the service names a command's family by an identifier as well as by the
keycode's spelling; section 359 found the client parses no keycode string. The raw capture behind the archive,
../lab/work/ir-archive-raw/: device_features_raw holds every command's ProtocolId, and AllProtocols
every definition's id. The archive's README: a command's protocol field is "Logitech's canonical protocol
name", and "the keycode's own spelling of it sometimes differs in case or spacing". Every container in the
lab, scanned for the families' codes. No firmware was read: which record a remote is given is the question
here, not what it does with one.
The premise, measured¶
make composecensus as section 359 left it refuses 221 commands with "no rhythm for the family" and 87 with
"the family's table block does not take this code", four family spellings each, which are the item's eight:
| class | spelling | commands | distinct codes |
|---|---|---|---|
| no rhythm | AudioAnalogue 14 bit |
108 | 35 |
| no rhythm | Ada 40 Bit |
82 | 79 |
| no rhythm | DAM 12 Bit |
29 | 29 |
| no rhythm | toshiba 32 Bit |
2 | 1 |
| block refused | Entone 56 Bit |
53 | 53 |
| block refused | Galaxis 16 Bit Quad Toggle |
30 | 10 |
| block refused | Philips Hurd 16 Bit LongToggle |
3 | 3 |
| block refused | Pioneer 32 Bit Dual |
1 | 1 |
Every "no rhythm" command is a misspelling, which section 359 suspected. Five spellings in the codesets name
no definition, 222 commands: the four above and Intellibus 17 Bit with a trailing space, one command, which
the name reader trims and so finds its rhythm row, and which a device stating a count of 0 refuses first. Each
is one definition's name in another letter case or with a trailing space: ADA 40 Bit, AudioAnalogue 14 Bit,
Dam 12 Bit, Toshiba 32 Bit and Intellibus 17 Bit. Three of the five, AudioAnalogue 14 bit, toshiba 32
Bit and Intellibus 17 Bit, have the correct spelling in other commands too, 26, 1002161 and 12 of them.
The block refused class is four families whose rhythm table row is a whole block, a tail, a quad or a
longToggle shape, and whose names read the code, so section 359's route for codes only the definition reads
did not take them either. What the 67 codes state that the row does not take:
Entone 56 Bit, 53 codes: the value in the start group alone,(0x...)()(), where the row's block sends the repeat group's; the family's other 55 commands state it in both groups.Galaxis 16 Bit Quad Toggle, 10 codes: three frames of three values each in one repeat group, where thequadshape takes three values.Philips Hurd 16 Bit LongToggle, 3 codes: three frames of three values in the repeat group, one with a fourth frame in the start group, wherelongToggletakes three values.Pioneer 32 Bit Dual, 1 code: one value,()(0xA55A6897)(), where the row's block names a second.
Logitech's own id names the family, and folding finds the same one¶
Every command of Logitech's service carries a ProtocolId, and on every command it names the keycode's
family, exactly or but for case and spacing. Over the 13293293 commands of the raw capture that carry a
keycode, one per device (370 more carry none, and an id no definition holds):
the id's definition is spelt as the keycode spells its family on 13292991, and on the other 302, every command
of the five spellings counted per device, it is the definition spelt the same but for letter case and spacing
(ids 163, 498, 428, 2 and 495). On none does the id name a different family. So the five are spellings, and
Logitech resolves each to one definition.
The archive's protocol field is that id's name, which is what makes the rule checkable without the raw
capture: over its 2067863 commands, one per codeset, the field equals the keycode's family on all but 222, and
those are the five spellings.
The rule: catalogueProtocol in packages/codec/src/composecatalogue.ts finds a code's definition by the
keycode's own spelling, and where no definition is spelt so, by the one spelt the same once both are trimmed,
runs of white space made one and letter case set aside. catalogueCode, cataloguePressRepeats and
catalogueCommandBlocks all find a definition through it, and a code so found carries the definition's name as
its family, which is what the rhythm table is looked up by. Folding cannot merge two families here: the 684
definitions fold to 684 different spellings, and a folded spelling that fitted two would find neither rather
than one of them picked, which a unit test holds. The protocol field reproduces it: on all 2067863
commands the definition catalogueProtocol finds is the one the field names. That is not an independent
closure, since the field is the id's name and the id is what the rule was read from, and on the exactly spelt
commands the rule is an exact lookup that cannot disagree; what was at risk is the fold merging two
definitions, and it merges none. The raw capture's figures are a lab measurement, rawids.py in the scratch
folder, and no regression test reads the raw capture, one pass over it taking minutes; the test holds the
archive's protocol field instead.
A misspelt code composes exactly as its correctly spelt twin: for every one of the 145 distinct codes of the
five spellings, the composer's blocks at a count of 1 and of 3 are those of the same code with the definition's
spelling. 144 are built from the definition, being of ADA 40 Bit, AudioAnalogue 14 Bit, Dam 12 Bit and
Intellibus 17 Bit, which have no whole block in the table; the toshiba 32 Bit code gets the Toshiba 32 Bit
row's block, as any code of that family does.
A code the whole block does not take goes to the definition¶
The rule: such a code is built from the definition at the device's count, the route section 359 gave a code
only the definition reads and section 348 a family with no whole block, where until now it was refused. The
refusal covered a sections row as well, Samsung 38 Bit's, and went with the rest: no code of that family
was refused by it, and no command outside the eight spellings changes verdict. The
ground is the same provenance argument: a row was measured or derived over the codes its shape takes, so for a
code of another shape it holds no evidence, and the definition states the code. make prontocheck --only agrees
with the archive's rendering on every first transmission of the four families, 108, 21402, 57031 and 27314
commands, and it reads through waveformOfArchiveCommand as the composer does, so that is the reading checked
against a second renderer, not against Logitech.
Calibration, on the codes the four rows do take: the definition at the count the row carries sends the row's own train on 4797 of 4834 distinct codes.
| family | count the row carries | same train | codes the row takes |
|---|---|---|---|
Entone 56 Bit |
1, stated | 53 | 53 |
Galaxis 16 Bit Quad Toggle |
1, stated | 1459 | 1470 |
Philips Hurd 16 Bit LongToggle |
3, TABLE_PRESS_REPEATS |
1675 | 1700 |
Pioneer 32 Bit Dual |
3, TABLE_PRESS_REPEATS |
1610 | 1611 |
Of the 37 differences 26 are about how many frames a press sends: the 25 long toggle codes stating their frame
in the start group alone, where the definition sends it once and the table three times, the ones section 350
found rebuilding at no count, and one Pioneer 32 Bit Dual code stating start and repeat groups, which rebuilds
at 5. The 11 Galaxis 16 Bit Quad Toggle ones differ in durations only. All 37 stay the table's, todo 2.4. Over every family the table holds a whole block for, the
same comparison gives 97117 of 101593.
Against Logitech's compiles¶
Every infrared record of every container in the lab, 128 distinct files, was looked up against the definition's build
at 0 to 6 repetitions of every distinct code of the five spellings and of the eight definitions involved, 5096
codes. No container holds a code of Entone 56 Bit, Galaxis 16 Bit Quad Toggle, ADA 40 Bit,
AudioAnalogue 14 Bit, Dam 12 Bit or Intellibus 17 Bit under any spelling, so those rest on the
definition alone. Three codes the block refused are held:
| container | remote | device | code | at |
|---|---|---|---|---|
| the harvest's third compile on the first test account | Harmony One (arch 12) | Pioneer VSX-90TXV, stating 3 | Pioneer 32 Bit Dual, InputVideo/Game |
3 |
| the harvest's second compile on the same account | Harmony One (arch 12) | Philips 70FA930/00S, stating 1 | Philips Hurd 16 Bit LongToggle, InputDvd and InputSat |
1 |
| three contributed configurations of one owner | Harmony 880 class (arch 8) | not known | the same Pioneer 32 Bit Dual code |
3 |
The closure is the composer's output against the two compiles' bytes, the way section 359 made it: each device
composed whole onto the Harmony 650's configuration and compared on what follows each record's opening silence.
The Pioneer: 143 of 143 records are Logitech's, in every block, the target included. The Philips: 46 of 47, both
targets included, and composed without its power steps 46 of 46. The 47th is the power step's long press version,
a Philips 13 Bit code held 3500 ms that the composer sends as 31 frames where Logitech's record holds 33; section
359's composer builds it the same way, so it is not this section's, and it is recorded here as an open difference
in section 309's long press rule, not read further. The two Philips codes are read as section 348's device count on
a multi frame code: each states three frames in its repeat group, the device states 1, and Logitech's record is
the three frames once; at 3 it would be nine. The three frames are one identical frame, so the bytes alone
equally fit a single frame at the table's 3; the device count reading is preferred because the same device's
other long toggle record, a one frame code, was written at 1, section 350. Section 350 had named these two records as codes the table's block
does not take. What no compile shows: the same codeset is served by devices stating 3 and 2 too, where the
definition sends nine and six frames; and the third admitted long toggle code states one frame in its start group
before the three, which the definition sends once, the reading the table contradicts on the 25 start group codes
above, so that code's first frame rests on the definition alone.
The controls: section 359's composer leaves the three targets out of both devices; each target built at the count its device does not state, the Pioneer's at 1 and the Philips's at 3, is no record of its compile even as a train. And switching either rule off in the composer fails the tests that state it: with the exact spelling alone three of the five new tests fail, with the block refusal restored the other two.
What it moves¶
make composecensus, a command counted as written when it composes for every device serving its codeset:
| section 359 | now | |
|---|---|---|
| commands written, of 2067863 | 2038021 | 2038315 |
| family spellings refusing a command, of 687 | 441 | 437 |
| family spellings writing nothing | 95 | 91 |
| codesets writing nothing, of 54118 | 766 | 761 |
| devices writing every command, of 257720 | 251849 | 251880 |
Of the 221 no rhythm commands 217 now write, and of the 87 block refused 77. The 14 left sit on a codeset whose devices state a count one of
its families contradicts, todo 2.2.2's refusal: the 10 Galaxis 16 Bit Quad Toggle commands their own family,
which states 1 against devices stating 3, and the 2 Ada 40 Bit and 2 AudioAnalogue 14 bit commands LG 32
Bit or Belgacom 16 Bit Quad, which state 1, which is where the census now counts them. No command that
wrote before is refused now, and none that wrote before is given another block, over every command and every
device count of the archive, compared against section 359's composer.
What is still refused in todo 2.3's two classes: nothing. The census prints neither reason any more. The
other refusal classes stand: the release group, the conflicting count and the count of 0 (2.2.2 to 2.2.4),
section 350's 64 commands whose table block and definition disagree about the frames a press sends, and section
359's 187 commands our reader declines, 134 distinct codes. Of those, HID 16 Bit (109), Roku IP (19) and Sonos IP (13) are not
infrared at all, their definitions stating no rhythm and their values no 0x, and 46 are misspelt in the
catalogue's values rather than its family names: 27 Galaxis 16 Bit Quad Toggle codes reading 0x0x, 15
MemorexO1 32 Bit codes naming a Repeat segment their definition lacks, three Toshiba 32 Bit and one Pioneer
32 Bit. Those stay refused: the first three are not codes a remote's infrared sends, and a misspelt value is a
question of what Logitech meant, which folding a family name does not answer.
Scope, decision 16¶
The word for word check is two Harmony One compiles (arch 12), three codes on two devices, composed onto a Harmony
650 configuration (arch 14) and compared on block words, the same format on both. The Pioneer 32 Bit Dual code
is seen as a train on a Harmony 880 class configuration (arch 8) too. No Harmony 600, 650 or 700 compile (arch 14)
in the lab holds any of the three codes or any code of the misspelt spellings, so on those models it is the
definition's reading. The id agreement is a property of Logitech's catalogue and not of a remote. Not checked on
the Harmony 525 (arch 9), for which nothing compiles. Nothing was sent to a remote.
The two reviews¶
The blind re-measure, given the questions and the corpus and not this section, agreed on every total: 221
commands of 144 codes in four spellings and 87 of 67 codes in four families refused before; the five spellings,
their protocol fields and the raw capture's 13292991 exact and 302 folded, ids naming the same definitions;
no collision under this folding nor under two looser ones; 4797 of 4834; the three codes in the compiles and the
Harmony 880 class files, 143 of 143 and 46 of 47; 294 commands now writing and the 14 left on a conflicting count;
the census table. It added what is now said above: that 26 of the 37 calibration differences are frame counts
and not durations, that the Philips codes at the counts 3 and 2 and the long toggle code with a start group frame
are unconfirmed, and that Entone 56 Bit and Galaxis 16 Bit Quad Toggle have no compile evidence at all. It
also noted that a family stating a count is built at the device's count only because a device stating another is
refused first, so the 10 Galaxis 16 Bit Quad Toggle codes are refused on devices stating 3 while the family's
other codes are written there from the table at its 1; that is section 348's rule and todo 2.2.2's question, left
as it is. The sentence audit, given the whole diff, found: the 14 commands' contradicting family named wrongly
for 10 of them, which are refused against their own family; "the four misspelt spellings" composed from the
definition naming the wrong four, since the toshiba 32 Bit code gets the table's row and Intellibus 17 Bit
the definition; "codes" where 187 counts commands; the raw capture's 13293293 being the commands that carry a
keycode, of 13293663; the protocol field called a closure where it reproduces the id the rule was read from; the
Philips frames identical, so the bytes alone also fit one frame at 3; a test title claiming every record where the
body holds 46 of 47; the status summary giving all 87 commands the three frame reason and calling all eight
composed; the dropped sections arm unmentioned; and docstrings counting the fifth spelling among those refused
as having no rhythm, which the blind re-measure found too. Each is corrected above, in the code and in the summaries.
It re-ran the claim that no command changes verdict or block one level down, per codeset, count and command,
2167963 pairs, and it holds.
Falsification¶
A Logitech compile holding a code of a misspelt spelling whose record is not the correctly spelt code's; a catalogue command whose protocol id names a family its keycode does not spell, even but for case; a compile holding a code a family's whole block does not take whose record is not the definition's block at the device's count.
Where it lands¶
packages/codec/src/composecatalogue.ts:catalogueProtocol, read bycatalogueCode,cataloguePressRepeatsandcatalogueCommandBlocks; the block refusal replaced by the definition's route.packages/codec/bin/composecensus.ts: the two classes as the table alone refused them, and how many now write.packages/codec/test/catalogueleftovers.test.ts: the five spellings and theprotocolfield, the collision control, the misspelt codes against their twins, the calibration with the 67 admitted, and the two devices against the compiles with their controls.docs/config-format.md, after section 359's paragraphs.
Section 360 | the archive | section 362. Section 361 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.