Skip to content

What Logitech's compiler writes for the Harmony 600, 650 and 700

A Harmony 600, 650 or 700 does nothing useful until a configuration is written to it, and nobody writes that configuration by hand. A person describes their devices and activities in Logitech's software, and Logitech's service compiles the description into the file the remote runs. This page says what that compiler puts into the file for these three models: not how the bytes are laid out, which is the configuration format, but what the compiler chooses to write.

Two kinds of thing come out of it:

  • The remote's own plumbing, the same on every configuration of a model but for a handful of settings: the lists that answer the battery, the USB cable, the screen light and the keys, the firmware's own status screens, and the timers. A person sets none of it.
  • What follows from the setup: for each device a set of pages listing its commands, a list of the devices to choose from, a menu of the activities, and for each activity a "Starting" screen, a working screen of commands and a map of what every key does while it runs, plus the variables that remember which device is on and on which input.

In short, and each of these is worked out further down:

  • Every page is the four buttons around the display. A device's commands, the device list and the activity menu are all pages whose labels sit beside those four buttons, with a page counter at the top when there is more than one page12.
  • The activity menu shows two activities a page, each across both buttons of a row3.
  • An activity's keys come from two of its devices: the volume keys from the one that takes the volume, every other key from the one that changes channels or plays, each running that device's own command for the key4.
  • Starting an activity shows "Starting" and its name, switches the devices on and to their inputs, and ends on the activity's working screen5.
  • A device's commands wait for the delay between devices only inside an activity's start, All Off and Help, never when the device is used on its own6.

Logitech's compiler runs on their service and is not in hand, so every rule here is read off its output: first thirteen compiles of the three models2, later twenty two to twenty four, two of the Harmony 600, thirteen of the Harmony 650 and seven of the Harmony 7007. Where this project's codec rebuilds a part, the function that does it is named, since it is the rule in executable form: the rebuild is compared byte for byte with every compile the rule was read on, and a blind control, every byte the rule claims to generate overwritten with 0xEE before the rebuild, shows that the rule produced the result and not the input7.

The firmware's own wiring on arch 14

The plumbing every configuration carries: the lists, timers and key bindings that connect the firmware to a configuration8. Built by buildWiring in packages/config/src/families/harmony-600-650-700/wiring.ts from a description describeWiring reads, byte for byte on the thirteen compiles2 and on six later Harmony 650 compiles8, and with the tree the lists call on 22 compiles and on one compile with no activity9, every generated byte overwritten in the input first. Not overwritten, and so read, are the frame, which piece each table entry names, each piece's length and each table's entry count, and the skin. checkWiring compares a configuration's wiring with its own rebuild. Skins 66, 71, 72 and 73; the European 650 and 700 are not read, and no compile shows a Harmony 700 with the Remote Assistant off10.

structure generated the description's
base slot 2 16384, 0x1E0000, 0x200000 nothing
base slot 4 code k to mode N + k, k 0 to 29, fallback N, N the firmware's screen count nothing
base slot 15 nine groups, the model's values nothing
base slot 12 the firmware's timers, their durations but one, kind 1 the glow time; a device's timer whole and its index
base slot 8's leading list eleven instructions, the firmware's screens the quiet list's index
base slot 9 entries 0 to 4 tags, flags 1, order, every binding's opcode the shared lists' indices; each activity key's entry, or empty; the activity count, the entry count less six
the leftover entry its four bindings and three lists, two bindings and two lists without Help the lists, maps, S, F and Delay Fixing mode they name, and its own index, which start selects
base slot 10's front the lists up to the clock's hour list, in order, and so their indices what they call
the shared lists boot, events, everyKey, elevenKeys, quiet, the timers' lists their indices and what they call
the tree they call9 every list below, but the three carried their indices, the low battery flag, the tour's mark, Off's mode, the tour's first screen where shown, and on the 700 the Assistant's variable and a location map
settings glow time, tilt sensor, Remote Assistant, the Harmony 700's boot step 3F F715, the tour shown, the restore of saved delays, Help

The firmware's screens are the first modes of base slot 6, and their count is the event map's N, fourteen or nineteen8:

600, 650   0 add an Activity here   1 add Activities   2 USB Connected   3 Low Battery   4 blank
           5 Insert batteries   6 Unable to charge   7 Update Successful   8 Upgrade Successful
           9 blank   10 Ready to learn   11 Command Received   12 blank   13 Terminate Entry     N = 14
700        0 to 3 the four cycling frames, then the 600's list with Please charge your remote
           after Low Battery                                                                 N = 19

The leading list, the entry points the firmware queues by index11:

0 enter Terminate Entry      1 call start          2 call startUsb       3 call startTour
4 call startUpgraded         5 enter blank 9/14    6 call quiet          7 enter Ready to learn
8 call learned               9 enter blank 12/17   10 call quiet
start         [call boot, call reset, 1F FF00|leftover, call start.last]; without the restore of saved
              delays [call boot, 1F FF00|leftover, call start.last]
startUsb      [call boot, enter USB Connected]
startTour     [call boot, call the tour list]
startUpgraded [call boot, enter Upgrade Successful]
learned       [enter Command Received, 1F EB00|USB return timer]
boot          [3F F00A, 3F F632, (3F F715), 1F FE01, 1F FEFE, 1F FEFD, 1F FEFC, 1F FE02, call events]
quiet         [(700: call), call everyKey, call the Assistant's gate | 72 location map, (3F F101)]
events, everyKey, elevenKeys   [1F FB01, call]

Base slot 9's fixed entries bind, entry 0 events 0x1A to 0x1D and entry 4 events 0x18 and 0x19 to events; entry 2 the press of scans 1 to 5, 7 to 9, 11, 34 and 35 to elevenKeys, every other scan to everyKey and, with the tilt sensor on only, event 0x17 to [call everyKey, 3F F101]; entry 3 every press to everyKey, and on the Harmony 700 0x1E to 07 FFFB8. Entry 1 is per model and holds the activity keys, below12. Stored in compilerTagOrder's slot order (tagSlotOrder) with the ties 0x17 before 0x9E, 0x1E before 0x97, 0x86 before 0x2D, and 0xA3 before 0x81 on the Harmony 600 and 650 but 0x81 before 0xA3 on the Harmony 7008.

The front of base slot 10, list 0 onward: on the Harmony 700 the USB screen's leave handler; the Low Battery screen's Exit [07 FFFC, v:=0]; start, startUsb, startTour, startUpgraded, learned; entry 1's own lists in its stored order, an empty activity key's [07 FFFD, 7E add an Activity] among them; with the tilt sensor on, entry 2's 0x17 list8. Then the clock's hour list13.

The firmware's timers, in order, a device's timer at its carried index among them: light off, 10 s, [1F E900, 3F F101] or 1F E900 alone with the tilt sensor off; on the Harmony 700 four of 2 s cycling frames 1, 2, 3, 0; the screen light, the glow time; the tick, 2 s; the screen light again, 10 s; USB return, 3 s, entering USB Connected. A device's timer writes <label>_OnlinePower_2, 10 of 138.

Not established: what the tick, 3F F00A, 3F F632, 3F F715, 0F FFA0 and 0F FFA1 do; which events 0x10 to 0x30 are, 0x17 read as the tilt by the settings compile alone; what orders the timer table; what decides the boot step10.

The tree the generated lists call, measured on 23 compiles, every shape the same on every compile of a model and the Harmony 600's the 650's9. Most lists are a pair, 28 of the 40 on a Harmony 600 or 650, [1F FB0k, call T] and T = [71 form|v, then, else]14; v is one of the firmware's own variables 9, 14, 15, 16 and 17, the same number on every compile, or the configuration's low battery flag b, tour mark t or, on the Harmony 700, the Assistant's variable a. One armed is form 0x00, two armed 0x80; 0x01 and 0x04 are other operations. Within the tree's conditional lists, 40 on a Harmony 600 or 650 and 78 on a Harmony 700, a list is shared by its callers or repeated per call site as each compile has it, and the split is per model; elsewhere in the wiring sharing is the rule, everyKey alone being called from over a hundred sites. Shared are stopLights, five callers on all 23, and tour, two where the Assistant is on; on the Harmony 700 also everyKey.on, two, and entry1.0x27.shared and entry1.0x24.shared, four each. Repeated are lightOn and lightOnAgain on all 23; on the Harmony 700 also cycle0 and entry1.0x23.second, and six comparisons of one body. Each list has one name, so a shared list is one name several templates call and a repeated body is several names. Timers by their table index, 1F EB00|k start and 1F EA00|k read as stop9:

start.last          k1  T 0x00|16  [07 FFFD, enter USB Connected]
entry1.0x27.last    k1  T 0x00|9   07 FFF6
entry1.0x10.first   k2  T 0x00|9   [07 FFFD, enter Low Battery, call everyKey]        600, 650
entry1.0x10.second  k1  T 0x00|9   [07 FFFD, enter blank 4, call everyKey]            600, 650
entry1.0x30.first   k0  T 0x00|b   07 FFFD
events              k1  T 0x80|14  1F E803, (k1 T 0x80|16 1F E803, (k2 T 0x80|9 1F E800, 1F E804))
elevenKeys          k1  T 0x80|14  1F E90C, (k1 T 0x80|16 1F E90C, (k2 T 0x80|9 again, on))
everyKey            k1  T 0x80|16  lit, (k2 T 0x80|9 again, on)                        600, 650
                    k1  T 0x80|14  on, (k1 T 0x80|16 lit, (k2 T 0x80|9 again, on))     700
  stopLights        [1F EA00|light on, 1F EA00|light again, 1F EA00|light off]
  lit               [call stopLights, 1F E90C, 1F E918]; elevenKeys's arms have no 1F E918
  again, on         lit then 1F EB00|light again, 1F EB00|light on
lightTick           k0  T 0x80|17  [1F E903, 1F EB00|light off], 1F EB00|tick
idleEnter.first     k1  T 0x00|t   enter Off
idleEnter.second    k1  T 0x01|16  [3F D000, call the Assistant's gate | 72 location map]
tour                [t := 1, call quiet] skipped, [t := 1, enter the tour's first screen] shown

On the Harmony 700 the battery events run deeper trees of the same pairs over variables 9, 14 and b, entering Low Battery and "Please charge your remote", and its USB leave handler's second call is k0 T 0x00|a, 72 map; families/harmony-600-650-700/wiring.ts holds each9. Scan 4's front list with no activity at all, base slot 9's entry count less six being 0, is [marker := 0, 07 FFFD, enter add Activities], on the one Harmony 650 compile with no activity9; no Harmony 600 or 700 compile without an activity has been read10. Nor has a compile whose activities leave all three activity keys empty, which a root button map saved with the keys left out gives, so what the compiler binds scan 4 to then is not known10.

Three lists the wiring calls are the entries to other parts of the product, setup dependent, and carried rather than built9:

list what it is on
start.reset [07 FFF3, a call per saved delay, 07 FFF2], each call four lists reading one delay back from the settings store15 23 of 23
assistantGate four lists, the Remote Assistant's branch on its variable and the tour's mark 20 with the Assistant on
allOff entry 1's binding of scan 6, read as All Off's, eight lists of Help's that may offer a "Fix it now" wizard, every other path selecting the idle entry 23 of 23

None of the three is off in any Logitech compile9, and MyHarmony's client offers only the Assistant among them as a setting16; what a configuration without each looks like is described in WiringSettings in families/harmony-600-650-700/wiring.ts, and is not the compiler's. Scan 6 is read as All Off from that list, not pressed on a remote, and the Harmony 650's keys list All Off's scan as not measured10.

The device list and device mode pages on arch 14

A device's own pages, the device lists and the activity menu are one kind of screen: a page labels the four buttons around the display, and pressing one of them does what its label says. Measured first on four configurations of real setups, one Harmony 650, one Harmony 600 and two Harmony 7001.

A device list row is two instructions, where the Harmony One's is three with a beep in front1:

u8 2
u16 mode;   u8 0x7E        enter the device's mode
u16 1;      u8 0x80 + v    write 1 into the marker variable v, one per configuration

A page labels the four buttons around the display and binds only their scans, filled in this order1:

order scan corner label
1 8 top left starts at x 3, y 40
2 2 top right ends at x 125, y 40
3 9 bottom left starts at x 3, y 90
4 34 bottom right ends at x 125, y 90

The y is a one line label's in any font. A two line label starts at 25 or 75, its second line one font height below in the same font, which is 40 or 90 in the usual label fonts and 35 to 39 in smaller ones. Every one of the 184 device list and device mode pages binds a prefix of that order, 414 of 414 right hand labels on their corner pages end at 125 and 448 of 448 left hand ones start at 3, and every page holds four but the last of its mode and one page of each 700's receiver mode. A page stores its entries in another order, 9, 8, 34, 2 with an unbound scan left out, 184 of 184. Every row list is bound once: 300 of 300, none shared between two buttons or between a page and its copy1.

A corner page's chrome

A corner page carries its own chrome, with no call to a shared program1:

op 2    0, 0, background       one picture for a page of one item or none, another for more, 173 of 173
op 17   queue 0x73 operand 1       173 of 184, absent on the 11 two row list pages
op 3    the top bar
op 16   title font;    op 4 or 5 at (0, 2), the title
op 16   counter font;  three texts at y 2: n / m, on a mode of several pages only, at x 0x6A, 0x71, 0x76
                       for two to nine pages, 98 of 98; 0x63, 0x6A, 0x6F on a two row list page
op 16   label font;    the labels
op 3    the bottom bar
op 16;  op 4 or 5      the bottom bar's word: Back on a device mode, Activity or Activities on a list
op 0

A mode of ten pages or more draws the counter further left, 0x63 and then 0x5C from page 10. A mode's block is its own tagged list, then per page its program and a six byte page record, u24 list; u24 program, since these models' pages carry no lead byte, then the entry1.

A device list's paging is its counter and nothing else2: no counter on 7 of 7 one page corner lists, all of them the Harmony 600's, n/m on 135 of 135 pages of the 59 multi page lists, and a corner list's record list 0x72 under tag 0x99 and 0x73 under tag 0x2D at one page and at several, 53 of 53, so no page turn binding changes with the page count. A corner page holding one item draws the device mode pages' one item background, 7 of 7, and every two row page after the first its list's first page's picture, 30 of 30. A page added to a full list holds the new item in its first place, and a list of one page gains the counter right after its title217.

A device mode page's chrome, on the 83 device modes and 639 pages of the thirteen compiles; deviceModeChrome builds it and checks every device mode against what it builds18:

what rule agree
background OP_IMAGE at 0, 0: the look's single picture for a page of one item or none, its crossed one for more 639 of 639
look by skin and content key: 72 and 66 the colour look of 2026, 66 that of 2021 and 2023, 71 and 73 the monochrome; the one whose five pictures the configuration holds; 69, 74 and 75 not read 13 of 13
queued program 0x11 lo hi 0x73, base slot 11's first program no base slot 14 case names that opens with a one byte switch on variable 17, the sending flag19; it draws the look's corner patch 639 of 639
bars DRAW_IMAGE_AT 0,0,0,0,128,16 the top bar after the queue; DRAW_IMAGE_AT 0,0,0,0,128,128 the bottom bar before the word 639 of 639
bottom word font 1, the first set of the title's size; "Back" at floor((128 - width) / 2) = 49, y 114; drawn inline once per configuration, every other page TEXT_AT pointing at that copy 639 of 639

The corner program, which draws the sending mark, is one shape on every Harmony 600, 650 and 700 compile, 70 of 70 on 24, three runs back to back2019:

+0x00  12 11 01 00 u24 case0  01 01 03 u24 range   switch on variable 17: case 0, range 1 to 3
+0x0D  11 FA FF 07 00                              the tail: queue 0x07 0xFFFA, end
+0x12  02 72 70 u24 patch  14 u24 tail             case 0: the state's 12 by 10 patch at 114, 112
+0x1C  02 72 70 u24 mark   14 u24 tail             range: the mark at 114, 112

What 0x07 0xFFFA does is not read10.

Which corner program a mode queues follows what is running, measured on the Harmony 650's thirteen compiles21. Three programs, differing in the patch they draw:

program's patch queued by modes over the thirteen
grey every device mode, every device list but the two row one, the idle device list 87, 53 and 13
red the activity menu and every screen of an activity 13 and 58
plain every other screen: Help's, the Remote Assistant's, the delay settings, the setup prompts 2828
none the two row device list, from neither its key map nor its pages 13, one per compile

A page's own program queues its mode's corner program again, so the program is named on every page and not only in the mode's key map21.

Logitech's background pictures do not follow those states. Three of the five designed backgrounds are shared across them: the idle device list draws the device pages' crossed picture and their one item picture, and the activity menu's page of one row draws the same picture as an activity's page of one command. Of the 934 pages drawing a background, the 813 device pages are on the grey look and the 67 activity pages on the red, while the 54 idle pages are split, 25 grey and 29 red, so nothing in Logitech's pictures marks the idle state21.

What a compiled catalogue device puts where

On twenty devices Logitech compiled from its catalogue, in seven of the thirteen configurations, plus one held out; the rules are read off the output and devicemode.ts is their executable form22:

what rule agree
hard keys each of 41 scans takes the first name of its preference list the device has, else nothing; HARD_KEYS, fitted 546 of 546
screen, first PowerToggle PowerOn PowerOff Teletext List Home Eject Subtitle Aspect Timer Return NextDisc PreviousDisc Triangle Circle Square Cross, those the device has, whether or not a key holds them 474 of 476 items, both rows
screen, rest every command no key holds, sorted lower cased with - removed, then lower cased; stable
label size the first of six sizes, heights 15, 14 wide, 14, 13, 11, 10, where it is at most 59 on one line, 58 if it could split, or split with both parts at most 59; else the smallest, each part cut to a prefix plus .. 470 of 474 labels
label split at spaces as a word wrap within 584; with no space, after - not followed by -, or lower case then upper case or digit unless that is followed by -; never at /; two lines at most; where no size holds it, the smallest, split at the first space or boundary
label place one line at y 40 or 90, two from 25 or 75 one font height apart; left from x 3, right each line ending at 125
counter size 14, y 2: total ending at 125, / (5 px) before it, page before that, digits 7 px; none on one page 128 of 128
title size 14, x 0, y 2; whole if at most 125 - 14 * digits(total) - 8, else the longest prefix plus .. that is 125 of 128

The key lists and several pairs of the leading list are fitted to this population or ordered by choice, and the title limit is a fit of two measured limits, so neither is confirmed beyond it10. When this layout was measured the character map named no code for J or #, so a label holding one was not laid out22. The J has a code and a width since, with the colon, and every drawn code of the thirteen compiles resolves35; whether # has one now is not checked10.

Several devices added in one compile, read on five of Logitech's compiles that each added two or three catalogue devices to a Harmony 650 or 700 configuration, fourteen devices in all23:

  • The added devices' identifiers are consecutive, each one past the one before, and in the order of their rows on the device lists, 5 compiles of 523.
  • A device mode's power key sends the plain command, never the records the device's power transition sends, 0 of 13 devices23.
  • Of the eleven devices whose catalogue entry gives an input plan, five got an input variable and six did not. Whether one was given matches whether the catalogue's power on resets input states on ten of the eleven; the eleventh got an InputType state of nine values, which its power on resets, and no input variable23. What decides it is not read10.

A device mode's key map

A device mode's own list binds every key: 47 entries on all 21 device modes of the four configurations, the four corner scans bound to nothing, one 0x72 and one 0x73, and every other key an action list or nothing, 547 of 547 bound keys sending that device's command1. On the thirteen compiles' 83 device modes deviceModeKeyMap builds it18:

what rule agree
key map tags presses of the 41 HARD_KEYS scans, the four corners and scan 25 (0x99), and 0x2D: 47 83 of 83
key map order compilerTagOrder: the case hash masked to 16 slots doubled while over three quarters full, 64 here; 0x2D before 0xA4, the one shared slot 83 of 83
fixed entries 0x99 0x72 on (record << 8) \| counter, the record the activity menu names, one of two with the same keys and byte identical targets; 0x2D 0x73 the queued program; corners nothing; the rest 0x7F or nothing 83 of 83

The slot order holds on all 6921 mode and page lists of two tags or more in the thirteen. The order inside a shared slot is insertion order and not the tag's, 0xC3 and 0x87 being stored both ways, so only the device mode's measured pair is answered18. Which of the two records is named follows no index, lower on seven compiles and higher on the six power hold ones, so it is read off the activity menu18.

The two row list

One device list per configuration is laid out in two rows instead of four corners: a device per row bound to both of that row's scans, 2 and 8 or 9 and 34, each binding running a row list of its own, its label at y 35 or 79 and x = floor((128 - width) / 2), 21 of 21. Its pages all draw one picture, the corner lists' crossed one on the 650 and 700s and one of its own on the 600, and carry no queued 0x731. Its counter sits at 0x63, 0x6A, 0x6F, ending at 11817.

Nothing enters it, on the thirteen compiles24: no 0x7E anywhere in the container names its mode, counted as the bytes lo hi 0x7E over the whole file, 0 on every compile against at least one for every corner list and every row menu, 232 lists; no event map value is it; no page or program is shared with another mode; and no configuration instruction is a run time builder, 0x7B or an opcode 0x1F to 0x3E with operand high byte 0xF7. The firmware's mode switch has four direct callers and takes its number only from an 0x7E operand, the event map's value or fallback, or the mode stack, on all five application builds of these models; a host can also queue an 0x7E through command state 0x34 or write the mode bytes through 0xB1, neither a route for a person25. Its mode number differs per compile, from 166 to 337, and its record list is 0x72 under tag 0x99, the corner lists' centre key operand24. So a page in it is not visible on a remote; the corner lists, four to a page, are the device lists a person reaches, along with the Help key's "Select device" picker, whose rows run 0x7E directly and which is not counted as a corner list24.

Every page of every menu, built from its number, its menu's page count, its fonts and its labels, on the 79 menus and 164 pages of the thirteen compiles: 40 activity device lists of 75 pages, 13 idle ones of 24, 13 two row lists of 43 and 13 activity menus of 22. fourSlotMenuChrome builds a kind's chrome and checkFourSlotMenuPages checks every page against the page built17:

what rule agree
kind the idle device list is the corner list the activity menu's 0x99 entry reaches: 0x72 on (record << 8) \| counter, and that record's case for the counter's starting value queues 0x7E on it; every other corner list is an activity's own; a list whose first page is two row is the two row list the route lands on a corner list on 13 of 13 compiles; the kind of the other 66 menus follows from it
background corner lists: a device mode page's single picture on a page holding one device, its crossed one for more; two row list: the look's rows picture on every page, which is the crossed one on both colour looks and one of its own on the monochrome look; activity menu: activitiesSingle for one activity, activitiesFull for two 164 of 164
queued program corner lists: the device mode pages' corner program; two row list: none; activity menu: the corner program drawing the look's activitiesPatch, base slot 11's second such program on the colour looks and the first on the monochrome, which is the device pages' own there 164 of 164
bars as on a device mode page, the top bar after the queue, the bottom bar after the labels 164 of 164
title "Devices" on every device list, "Activities" on the activity menu, at 0, 2 in the font the page selects 164 of 164
counter only where the menu has two pages or more; n, /, m at x 0x6A, 0x71, 0x76, or 0x63, 0x6A, 0x6F on the two row list, y 2 164 of 164
labels corner lists: the corner places above; rows: centred, y 35 and 79; one line on every row page; as many places as the page's own list binds 164 of 164
bottom word "Activities" on the idle list, "Activity" on an activity's own list and on the two row list, "Devices" on the activity menu; the first font of the title's size that spells it, as on a device mode page, centred, y 114 164 of 164
font selects one only where the font changes 164 of 164
texts by reference every text a menu page draws by reference points at the lowest addressed inline copy of the same glyph codes in the configuration, and every text drawn inline is that copy 164 of 164
page record six bytes, u24 list; u24 program 164 of 164

The fonts are read off the configuration and not built17. Not read: a two line label on a row, a tenth page, and the European skins 69, 74 and 75, whose look is not read10.

The activity menu

The activity menu lists the activities two to a page, each across both buttons of a row, and it is found by its record, not its rows26: it is the one mode whose own key map maps the centre key's press, 0x99, through 0x72 on a record keyed by the activity counter and binds scan 4's press, 0x84. That is the menu its activity rows find on 23 of 23 Harmony 600, 650 and 700 compiles with an activity, and it finds the menu on the one compile with none, in its mode 101. fourSlotActivityMenu; the rows' rule is activityMenuByRows26.

It is the two row layout, on the four configurations: each activity on both buttons of one row, 13 of 13, its label centred at y 35 or 79, 13 of 13, and each binding and each copy's binding running a row list of its own, 52 of 523:

u8 2
u16 0xFF00 | entry;  u8 0x1F       select the activity's base slot 9 entry
u16 0;               u8 0x80 + v   write 0 into the device mode marker, the device rows' v, 4 of 4

The menu marker v is one variable per configuration and every row of both kinds writes it, on the 27 configurations of a Harmony One, 600, 650 or 700 that the marker census and the thirteen compiles read together28: 2256 lists of a device row's shape write it 1 and 282 of an activity row's shape write it 0, none anything else, and its record is first 0, max 3, no transition and no name, 27 of 27. No action list reads it, 0 of 27. Rows are not its only writers: outside them it is written 0 once on each of the 27, and 1 a further 2 to 9 times on each Harmony One configuration. Its index differs per configuration, fifteen distinct over the 272829. menuMarkerOf; menuMarkerVariable in statetables.ts is the record. The write outside the rows is base slot 9 entry 1's: its scan 4 press binding calls a list whose first instruction writes the marker 0, on 24 of 24 Harmony 600, 650 and 700 compiles, the rows agreeing on every one26. So a configuration with no row still names its marker. fourSlotMenuMarkerWriter; the Harmony One is not read for it10.

Its paging is its counter and nothing else, on the thirteen compiles30: no counter on 6 of 6 one page menus, n/m on 16 of 16 pages of the 7 multi page ones at x 0x6A, 0x71, 0x76, the corner lists' positions and not a two row device list's, in the font the device mode pages draw their counters in, 7 menus of 7, and the record list 0x72 under tags 0x99 and 0x84 and 0x73 under tag 0x2D at one page and at several, 13 of 13. A menu of one page gains the counter right after its title when it grows3017.

Its pictures differ from the device list's330: a page of one activity holds it on scans 8 and 2, label centred at y 35, and draws the picture the activities' working screens draw on a page of one command or none, 4 of 4, which is neither its menu's first page picture nor any device list page's; a full page draws a picture of the menu's own that no page outside the menu draws, 4 menus of 4, and a full page after the first draws the first page's picture, 5 of 5. So a page growing from one activity to two takes the full page's picture.

Its order is not the person's to choose on these models: MyHarmony offers its reorder screen only to a remote carrying the ActivityReorder capability, and the Harmony 600, 650 and 700 do not31.

An activity's start and its screens

Pressing an activity shows a "Starting" screen with its name, switches its devices on and to their inputs, and ends on its working screen, a page of commands shaped like a device's page. The parts:

The enter list

Every activity's enter list opens with its own start up screen, then writes 1 into the variable every command's delay step tests, and ends by writing 0 into it, 13 of 133. So the delay between devices acts inside an activity's start, and also in All Off and in Help, which raise the same variable; a device's own command pressed in device mode reaches no list raising it, below32.

The enter list in full, 13 of 135:

u16 startup;         u8 0x7E       the activity's own start up screen
u16 1;               u8 0x80 + S   the start variable
...                                the devices' writes
u16 activity;        u8 0x80 + c   the activity counter
u16 1;               u8 0x80 + F   a flag, one variable per configuration
u16 deferred;        u8 0x7F       [3F D000, 7E working] on one Harmony 600 compile, 3 of 3; the other
                                   10 call a list testing one variable, entering a Remote Assistant
                                   screen, then the working screen
u16 0;               u8 0x80 + S

The devices' writes are power on, then the inputs in the order the devices were switched on, then power off: 40 of 40 activities, 72 input writes. A device with no power variable can have its input written too, 1 case33. A device MyHarmony keeps on between activities is left out of the power off writes, below.

S and F are stated by the Off key map, 13 of 13, the Harmony 700 pair counted twice28: base slot 9's idle entry, the key map the remote installs when no activity runs, whose enter list maps CurrentLocation through base slot 14, brackets both its lists with them:

tag 1:  [0x7F, 0x72 on CurrentLocation, S:=1, F:=0, 0x7F, 0x72 on CurrentLocation, S:=0]
tag 5:  [S:=1, F:=0, 0x7F or 0x72 on CurrentLocation, 0x72 on CurrentLocation, S:=0]

26 lists of 26: tag 1 in that shape 13 of 13, tag 5 opening with 0x7F on 12 and with 0x72 on one Harmony 600 compile. Every activity's enter list raises the same S and F, 40 of 40, and every command prelude tests that S, 6100 of 6100. Both are records first 0, max 1, no transition and no name, 13 of 13; 51 other unnamed variables on the thirteen hold the same record, so the record alone does not single either out. Their indices are the configuration's own: S from 46 to 59 and F from 28 to 4428. startSequenceOf in families/harmony-600-650-700/start.ts reads them; startSequenceVariables in families/harmony-600-650-700/statetables.ts is the record.

The start up screen

A start up screen is a mode of one page with an empty list, 00 00, and 54 bindings to nothing, 13 of 13; its program is [02 picture, 10 02, the title, three fixed lines from y 82, 00], the fixed lines the same across a configuration's activities, 4 of 45. The title is "Starting" and the name, broken greedily at 126 pixels onto y 5 and 19, each line centred at floor((128 - width) / 2)34. 126 is the Harmony 650's, and its compiles do not tell it from a limit of 127 to 130. On the Harmony 600 and 700 the compiles bracket the limit only between 116 and 130 and between 123 and 163, so 126 is applied there by assumption10. Font 2 holds only the letters the texts drawn in it use, the start up titles and the status and battery messages5.

The working screen

A working screen is a four corner device mode page whose queued 0x73 has operand 2 on the 650 and 700 and 1, as a device page's, on the 600s, with "Devices" at 40, 114 where a device page has "Back", 27 pages of 27, the device pages' title and label fonts, and a picture of its own for a page of one command or none and another for more, 4 of 4. Its record is two entries: scan 25 as 0x72 on the first of the two records for the key under Devices below, then a 0x73, 13 of 135.

Its commands are its devices' own screen items: on the ten compiles that are not customised by hand, every working screen item, 64 per copy and 23 distinct, is an item of one device's own screen pages, the same list under the same label, so a command is named by its device and label (activityScreenRows). Which commands, and in which order, is the platform's soft button list and an input4. They fill four corners a page in the order given, and a label is broken onto two lines as a device page's: kept whole without a space or within 58 pixels, else greedily at spaces within 58, any threshold from 55 to 58 placing all 2037 measured corner labels, at y 25 and 40 (75 and 90 in the bottom row), each line placed on its own435. No corner label line in the page's label font is wider than 59 pixels, and the one 60 pixel word is drawn in another font4.

The records keyed by the activity counter

Four base slot 14 records are keyed by the activity counter, on 4 of 45:

record keys an activity's case the idle value's
working screen, 1 activities and idle enter the screen its start sequence ends on, 13 of 13 queue a further record
the key under Devices, 2 with the same cases activities and idle enter its own device list, "Activity" at the bottom enter the one saying "Activities"
keypad map, 1 activities only 0x1F with 0xFF00 | entry, its own, 13 of 13 none

Their key sets follow from the counter28: values 0 to its maximum, the idle value its first, the activities the rest36; on the thirteen the counter is activityStateVariables' record exactly, the idle value at the maximum, and each of the four is stored in compilerCaseOrder, the key under Devices having two records on every compile. Every key there is below 16, where that order is ascending, so this pins nothing beyond ascending. Which record is which is still read off what its cases do. activityKeyedRecords.

The keypad map record exists exactly where an activity does: it is in every Harmony 600, 650 and 700 compile holding an activity, and Logitech's one compile with no activity has none27. It is named once per file, by the case 0 program of a record of one case, and nothing found maps through that record, so what runs the keypad map record is open2710. Starting an activity installs its keypad map without it, since the activity menu's row and the activity key both select the set themselves27.

Every device list's scan 25 evaluates a record keyed by CurrentLocation whose one case, for 0, queues the working screen record: the 17 those records enter and one more per configuration, 21 of 215.

An activity's two screens and its cases, built

On the 40 activities, 63 working pages and 186 cases of the thirteen compiles; activityScreenChrome builds them and checkActivityScreens checks every activity against what is built37:

what rule agree
start up record presses of scans 1 to 54 bound to nothing, in compilerTagOrder; one page, list 00 00; page record six bytes 40 of 40
start up program 02 0,0 picture by content per look, 10 02, the title lines, the three fixed lines, 00 40 of 40
start up title "Starting" and the name, broken as above34, y 5 and 19, each floor((128 - width) / 2); the name is the working screen's title on every page 40 of 40
fixed lines "Please keep the", "remote pointed at", "your system", centred, y 82, 96, 110 40 of 40
start up texts by reference to the lowest addressed inline copy of the same glyph codes, or that copy 163 of 163
start up font font 2, read off the configuration's start up screens, not built 40 of 40
working background activitiesSingle for one command or none, the look's workingSeveral for more 21 and 42 pages
working queued program the activity menu's corner program 63 of 63
working chrome a device mode page's bars; "Devices" in the bottom word font, centred, 40, 114, by reference to its one inline copy or that copy 63 of 63
working record 0x99 0x72 on the activity menu's (record << 8) \| counter, then 0x2D 0x73 on the queued program, in compilerTagOrder 40 of 40
case shape 11 u16 operand u8 opcode 00, five bytes, in all four records but the working record's idle case 186 of 186
case operands working: the mode the start sequence ends on, 40 of 40; Devices idle: the list the activity menu's route reaches, 26 of 26; Devices activity: one activity device list, the same in both records, no other activity's, 40 of 40, which one read; keypad map: read, activityKeyedRecords as stated

Not confirmed beyond these compiles: the fixed lines' wording in any language but English, and their places for a start up font that is not 14 high10.

An activity's own device list

An activity's own device list is the idle one reordered, 13 of 1338: the idle list's record entries, page count, rows per page, backgrounds, title and counter, with the activity's devices first in the order its enter list writes their power variables 1, then the rest in the idle list's order, and "Activity" at 39, 114 where the idle list has "Activities" at 35, 114, both in font 1. A device with no power variable stands in the enter list's power group as 00 0000, 3 of 13. Each label is the idle list's instructions for that device moved to its new corner, x 3 or ending at 125 on a column change and 50 pixels on a row change, 63 of 63. Each row runs a list of its own, byte identical to the idle list's row list for that device, 63 of 63.

Built by activityDeviceList, and checked against every activity list of the 23 compiles with an activity, 78 of 82 lists, 149 pages and 515 rows, the other four being one French Harmony 650 compile's, which is not read; on the Harmony 650, 53 of 57. The counts are per configuration; the 22 checked hold 13 distinct sets of devices39:

part built as standing
rows every idle list device, the activity's first in its enter list's power order, then the rest in the idle list's order, four to a page in FOUR_SLOT_ITEMS order the rest's order read: it is the two row list's on 23 of 23 and ascending device identifier on 17 of 20, and neither builds it
row lists [7E mode, marker := 1], one per row on the page and another on its pool copy 515 of 515 rows bind different lists on the page and the copy
record 0x99 0x72 on (record << 8) \| CurrentLocation, the one record whose single case, for 0, maps the counter through the working screen record; 0x2D 0x73 on the device pages' corner program; compilerTagOrder every device list and the activity menu's 0x84, 151 of 151 on 23 compiles
pages menuPageParts for an activity device list, "Activity" at 39, 114 in the first font of the title's size spelling it 149 of 149, texts compared by place and glyph codes
text form every text by reference to its lowest inline copy where one exists, inline otherwise 22 of 22 configurations
labels each device's font and glyph lines as the idle list draws it read: letters and fonts unbuilt

Composed again from the idle list, the 78 lists draw the compiler's raster on 149 pages of 14939. Not known: the order of the devices an activity does not switch on; and a label's font, where a candidate rule, the list's main label font unless a line would be wider than 59 pixels in it or it lacks a glyph, fits 143 of 143 labels and was fitted on them10.

The idle device list, the activity menu and Off, built whole

Their whole records, by screenrecords.ts, on 22 compiles, 2 Harmony 600, 7 Harmony 700 and 13 Harmony 650, byte for byte, 41, 43 and 22 pages; one French Harmony 650 compile is not read7.

part built as
which mode is Off the first 0x7E reached depth first from the list the Off key map's enter list calls first, idleEnter.first, 22 of 22. The mode "Do you want to turn off your system now?" is not Off: entered by Help lists, a wide own list, both its calls [07 FFF5, 1F FF00 \| idle entry], 22 of 22
own list idle list: 0x99 0x72, 0x2D 0x73; activity menu: 0x99 0x72, scan 4's press 0x72, 0x2D 0x73; both narrow; Off: the 54 keypad presses bound to nothing in compilerTagOrder
entry, page record the mode entry of kind 040; six byte page records, u24 list; u24 program
page list each button's press calling that button's list, in FOUR_SLOT_STORED_ORDER; a device row one corner, an activity row two buttons, scans 8 and 2 or 9 and 34; 00 00 on Off
copy the same bindings calling each button's other list, in place, paired by rank in mode page order41
row lists device [7E mode, marker := 1], activity [1F FF00 \| entry, marker := 0], one per button on the page and one on the copy; 286 and 312 lists
programs menuPageParts for the menus; Off fixedLineScreenParts with "Turning system off", font and picture as a start up screen's
text form by reference to an inline copy outside the three records where one exists, else inline once and by reference after
menu order the description's, since no owner of these models chooses one31

Read, not built: the mode numbers, the rows' labels (font and glyph codes), each button's base slot 10 lists, the marker variable, the fonts, the own lists' operands, the pictures by content, and the addresses of the texts drawn by reference outside the three records, which the pass over every text generates734. A blind control overwrites every other byte of the three records with 0xEE, 17326 over the 22, and the rebuild is unchanged7. Not known: any wording but English, and any architecture but this one10.

The firmware's own screens, built whole

The screens the firmware shows on its own, "USB Connected", the battery and learning screens and the "add an Activity" placeholders, built by firmwarescreens.ts on 22 compiles: 2 Harmony 600 and 13 Harmony 650 with modes 0 to 13, 7 Harmony 700 with modes 0 to 18, byte for byte4235. Every one is one page, laid out in mode order, own list, program, page record, entry; its page list and copy are 00 00. 5435 bytes on a Harmony 600 or 650 and 8864 on a 700, lists included42.

own key map screens bindings, all in keyMapEntries' hash order43
placeholder the two "add an Activity" screens every key event swallowed, 00 00 00, but scan 25's press, 07 FFFC; mode 0's is the table after the end marker on the 600 and 650
battery blank, Insert batteries, Unable to charge, the 700's four frames and "Please charge your remote" tag 0x06, the enter handler, writing 1 to lowBattery, the wiring's low battery flag; every key event swallowed
low battery Low Battery the battery map, and scan 25's press calling lowBatteryExit, wiring front list 0, or 1 on the 700
usb USB Connected tag 0x06 and every key event but the three presses calling key, those keys' releases and repeats included; tag 0x07 calling cleared, on the 700 the wiring's front list usbLeave, whose first call is cleared; the presses of scans 11, 12 and 51 calling step 1, 2 and 3
none Update and Upgrade Successful, the learning screens and the blanks after them none: 00 00

The lists "USB Connected" runs, u its variable, one per configuration: key [07 FFFF, u := 1], cleared [07 FFFF, u := 0], step k [1F FB0k, 7F test k], test k [71 8000|u, 7F advance k or 07 FFFC on k = 3, 7F key], advance k [07 FFFF, u := k + 1]. So the presses of scans 11, 12 and 51 step u and the third pops the mode, while every other key event, the three keys' own releases included, resets it42. How a person completes the sequence is not read and not tried on a remote, and what 07 FFFF does is not read10.

screen lines, font, y x
add an Activity on this button body: "Use the Harmony" 30, "setup software to" 45, "add an Activity on" 60, "this button." 75; then the bottom line, the bar and "Exit" 0
add Activities body: the first two lines of the above, "add Activities." 60; the bottom line 0
USB Connected large: 96 centred
Low Battery large: 5; the bottom line centred
Please charge your remote, 700 large: "Please charge your" 5, "remote" 19 centred
Insert batteries body: 61 centred
Unable to charge body: "Unable to charge" 61, "batteries" 76 centred
Update Successful body: 61 centred
Upgrade Successful body: "Upgrade" 61, "Successful" 76 centred
Ready to learn body: "Ready to learn" 46, "command from" 61, "other remote." 76 centred
Command Received body: "Command" 61, "Received" 76 centred
Terminate Entry body: 61 centred

Each program is the background picture at 0, 0, its lines with a font selected only where another is in effect, the bottom line where it has one, and the end. Centred is floor((128 - width) / 2). A text is inline the first time these screens draw it in mode order and by reference after; no text is drawn by reference to a copy outside them42.

Read, not built: the wiring's description, the body and large fonts, each screen's background and bar picture off its own address fields, and "USB Connected"'s variable and list indices. A blind control overwrites every other byte with 0xEE, 136493 over 21 compiles, and the rebuild is unchanged42. The French Harmony 650 compile is not read, and neither is any wording but English10.

Every text, generated

Every text a configuration draws, by screentexts.ts on 22 compiles, byte for byte: each text's glyph codes spelled from its word in its font, its place by its screen kind's rule, and its form, for every text in the configuration34.

what rule agree
form the first text in address order to draw a run of glyph codes draws it inline, opcode 5; every later one is opcode 4 pointing at that copy's codes, its start plus 3. Matched on the codes alone, whatever font the copy is drawn in, and on whole runs: a run equal to the tail of an earlier one is drawn inline 63992 of 63992 draws on 24 compiles, the French one and the one with no activity included
corner page title 0, 2
page counter n, /, m chained so that m ends at 125, y 2; on the two row list at TWO_ROW_COUNTER_X, ending at 118. Decided by the screen kind; on the built pages the same split as the page program holding an opcode 17 or none
corner label from x 3, or ending at 125; one line at y 40 or 90; two lines at 25 and 25 + h, or 75 and 75 + h, h the font's height
row label, two row list and activity menu centred, y 35 and 79 143 and 78 draws
bottom word centred, y 114
start up and Off heading broken greedily at 126 pixels onto y 5 and 19, each line centred, as a start up screen's
fixed lines centred, y 82, 96, 110
firmware screens the templates above

Every place row holds on the 22 byte for byte, 16070 draws on screens built here: firmware 542, fixed line 403, corner page 14325, two row list 528, activity menu 27234.

Not built: help, the Remote Assistant and the delay screens, the one text programs no page draws, which the two delay countdowns reach, the welcome tour and the thirty status screens, 44300 draws over the 22. Their texts keep their glyph codes and places as read; their form is generated, since a reference may cross between a built and a left out screen either way34.

Read, not built: each text's word through the character map, and its font; a label's lines, by the rule of a compiled device's page above. A text whose codes the character map does not resolve keeps its codes and is still placed and given its form, 3 on built screens of the 223435. A glyph code of 128 or more is not read. A built text's place is read to find its role and placed again from the role. A blind control overwrites every byte of the texts the description does not read with 0xEE, 205792 over the 22, every byte of the texts in the layout, and every text's place in the container the description navigates, and the rebuild is unchanged: given the roles, the rules regenerate every place, form and address. That navigated container still holds the opcodes, codes and reference addresses, and is the second input34. A configuration whose wiring or menus are not read is not built; any wording but English is not read10.

The letters themselves are Logitech's artwork. A configuration this project builds draws its own, by this project's choice4445; the firmware facts a shared glyph relies on are on the Harmony 650's display page.

The welcome tour and the Remote Assistant

The welcome tour is ten screens, and in Logitech's skipped form no instruction anywhere enters any of them, 19 of the 2242. Its start list, the wiring's tour, [mark := 1, 7F quiet] in that form, is called by startTour and, with the Remote Assistant on, by the Assistant's gate [71 8000|mark, 7F tour, 7E assistant screen]; the mark is also read by [71 mark, 7E Off], which idleEnter.first calls4211. Leaving the start list out as well needs those three lists changed and the mark variable dropped from base slot 1342.

The Remote Assistant is a branch on one variable46. Its screen's "Turn off Assistant" writes 1 into the variable the chain before the working screen tests, and enters the working screen. Over the thirteen compiles that chain is [1F FB00, 7F [71 80vv, 7E assistant, 7E working]] on 37 activities of 12 configurations, vv one unnamed variable per configuration seeded 0, maximum 1, no transition, written only ever 1 and never reset; each such configuration also has one shared "If any devices are still On" assistant screen. One Harmony 600 compile has no chain, no assistant screen and no such variable46. What MyHarmony's RemoteAssistant setting changes is not established: every saved settings reply gives true, so no compile with it false exists to compare47.

The delay step before every command

Every command list opens with a 0x7F call, 422, 188 and 372 on one Harmony 650, 600 and 700 configuration each: 0x1F loading 1, then a list testing a variable against it with 0x71 and, while it matches, calling a list of the device's own that is one 0x72 on that device's InterDeviceDelay variable through a base slot 14 table. The variable is 52, 46 and 59, and every list writing it sets it to 1 and back to 0 inside itself, 31, 27 and 504832.

Both operands are constants around the start variable, over the thirteen compiles, 6100 send lists of 6100 opening with the prelude: load is 0xFB01 on all of them, and condition is 0x0000 | S, equality and one arm, S being the variable every activity's enter list sets to 1 as its second step, after the start up screen, and to 0 as its last, 40 activities of 40, one S per configuration49. SEND_PRELUDE_LOAD and sendPreludeCondition.

Those writers are, and are only, each reached by one tagged list entry32: an activity's handler lists, tag 1 (its start), tag 2 (left) and tag 5 (selected again); the Off key map's tags 1 and 5, which is All Off, whose 0x72 queueing the all off list sits between raising the variable and lowering it; and a mode's enter handler, tag 6, on 16 of the 69 screens drawing "Exit Help" on the 650 and on every "Attempting to fix" screen. A leave list, tag 2, is the bare pair and sends nothing. No device mode record, page key, call, transition or queued instruction names one. So the delay between devices applies in an activity's start, in All Off and in Help, which a Help key pressed in device mode reaches through the Off key map46, and not to a device's own command pressed in device mode:

writers of the start variable a Harmony 650 a Harmony 600 another 600 a Harmony 700 another 650
activity, tags 1, 2 and 5 3, 3, 3 3, 3, 3 2, 2, 2 5, 5, 5 6, 4, 6
the Off key map, tags 1 and 5 2 2 2 2 2
Help question, tag 6 16 12 12 27 22
"Attempting to fix", tag 6 4 4 3 6 5

Each table case is read48: 21 cases, 0 to 20 tenths, each a screen program queueing 0x67 with (group << 8) | value for the device's own group, so tables differ per device in that byte only, stored in the order 0 to 15, 17, 16, 19, 18, 20. load and condition are private to each command, delay shared by the device, 1598 of 1598.

What the queued entry does is measured on a Harmony 650, and not read in the firmware6: the value holds back the device's own command by a tenth of a second per unit, 15 units lengthening the silence before that device by 1.506 s in a start and 1.505 s in All Off, while the same change to the device sent before it left the start's silence at 0.620 s. The wait begins once the device sent before it has gone, so it does not count down alongside the other devices' waits as a per device quantity would, if the list's instructions all run before its first code goes out, which is not measured. Whether it holds back a device queued after it is not measured, and neither is the Harmony 600 or 70010. sendPreludes and interDeviceDelayCases; composeDevice emits all of it on these models.

A delay saved on the remote is read back over the configuration's own at every start, by the restore list start.reset above15.

Arch 14's entry 1 and an activity's key map

On these models the prefix and the left over entry are generated, entries 0 to 4 and the leftover entry's bindings, order and lists, 13 of 138; the firmware's own wiring above has them.

Entry 1 holds the activity keys (Harmony 600, 650 and 700)12. It is a prefix entry nothing selects, and its press entries for the three activity keys are one of two four byte forms in all 13 Logitech compiles measured:

key scan press entry
Watch TV 5 80+scan, FF00 + n, 1F: select entry n, an activity's key map
Watch a Movie 1 the same
Listen to Music 7 the same, or 80+scan, p, 7F: call list p = [07 FFFD, 7E m], push the mode and enter the "add an Activity" mode m (mode 0 on the 600 and 650, mode 4 on the 700)

Both forms are the same length, so putting an activity on a key or emptying one is a same length edit: setActivityKey and clearActivityKey in packages/config/src/families/harmony-600-650-700/activitykeys.ts, and composeActivity's activityKey. Emptying needs list p to exist already: Logitech compiles it only while some key is empty, 6 of the 13, which are two setups12, and adding it is a length change. Appending the list first works: appendActionLists with [07 FFFD, 7E m] and then clearActivityKey, written to a Harmony 650 whose compile had all three keys taken, opened the "add an Activity" screen50. The Harmony One is not compared10.

Which activity a key gets is not its type alone51: an activity saved again as Custom, its group read back as 0, kept the Listen to Music key in Logitech's compile, and an activity Custom from the start held none. Over fifteen compiles a key is empty exactly where the activities number two, Listen to Music each time. MyHarmony assigns the three keys in a button map of their own, its "Customize Activity Buttons" screen, which offers no empty choice52.

A device kept on between activities

A device kept on between activities, MyHarmony's per device power setting (IsPoweredOnBetweenActivities)52, has its write of 0 left out of the start of every activity that does not use it, and nothing else changes: it is still switched on by the activities that use it and still in the All Off list51. Measured on one device in one compile pair on the Harmony 650. keepDeviceOn applies it to the activities a configuration holds, and activityPowerTargets's keepOn to an activity composed after; applied to the compile without the setting, the starts equal the compile with it.

An activity's key map

An activity's key map is built from two roles (Harmony 600, 650 and 700), measured on the 40 activities of the 13 Logitech compiles4:

keys press entry runs
VolumeUp, VolumeDown, Mute (scans 14, 15, 16) the volume device's own device mode list for that scan
every other scan the control device's own device mode list for that scan: the channel changing device, else the one that plays
UpArrow, DownArrow (26, 27), unbound in the control device's own map its DirectionUp, DirectionDown lists (50, 42); right on 5 distinct activities and wrong on 4 in the 13 compiles, and right on all 3 it fires on in two contributed Harmony 650 configurations
ChannelUp, ChannelDown (31, 32), where its own map runs the DirectionUp and DirectionDown lists there its SkipForward, SkipBack lists (38, 21); fires on one activity, a disc player's, and agrees with Logitech's stated map there
Exit (12), where the control device's own screen has an item labelled Exit that item's list; the same one activity

The same base slot 10 list as the device's own map, never a copy: 1254 of the 1328 activity key bindings, and none of the other 74 runs a list with the same codes. The result is Logitech's set key for key on 20 of the 40 activities, about 14 distinct; the other 20 are nine copies of one activity, four keys each, and 11 activities of three configurations customised by hand. On two Harmony 650 configurations set up by other owners it is Logitech's on 4 of 6 activities and 223 of 226 keys, the three others on the one activity each that a user may have edited4. A display device that neither changes channels nor plays contributes no key. Scans 26 and 27 are UpArrow and DownArrow and 50 and 42 the pad's, decided from the device maps, the 600's keys. activityKeysFromRoles in packages/config/src/compose/activityroles.ts. Help, scan 3, is the one key the roles do not give: every activity's map binds its release to the activity's own "Attempting to fix the problem" mode and its repeat to [07 FFFD, 7E <Delay Fixing>], 40 of 40, while no device mode binds scan 3 at all, 0 of 83, so Help is the running activity's own binding and not a device's46.

A pass through device, one in an activity that MyHarmony gives no role, an HDMI switch the picture only passes through, is switched on in the activity's start and set to its input, and bound no key and no screen item53. Measured on one Logitech compile with the role stated, a Harmony 650's; a contributed Harmony 700 configuration has the same shape with the role inferred. Nothing in a configuration states the role: a display device with no key and no screen item looks the same. activityFromRoles in packages/config/src/compose/activityroles.ts.

Read with gspm.handler_sets and gspm.handler_index54.

The screen sections by category, arch 14

Screen bytes are the bytes the byte accounting gives base slots 6, 7 and 11, the picture bank and base slot 17's two bytes on these models (SCREEN_OWNERS). Base slot 14 is excluded. Each is in exactly one unit, the thing a generator emits whole, and each unit is one of three categories55:

category means units on a Harmony 650
fixed emitted for every setup, content independent of it the 44 head modes of the mode table (7 binding a keypad, 37 binding nothing), the 10 tour modes, Off, 15 of the 19 pictures, the glyphs those and the dynamic programs draw where their count agrees across compiles, the font set holding only such glyphs, base slot 17's two bytes
dynamic draws state the remote holds at run time, by switching on a state variable the 5 base slot 11 entries no value map names (three icons switching on state variable 17, the sending flag19, and the two delay countdowns) and the 4 pictures only they draw
setup exists, repeats or holds content because of the devices, activities and names device modes, device lists, start up screens, help, Remote Assistant, the activity menu and working screens, every case program (keyed by a device's delay or the running activity, or refused by the census), glyphs only setup screens draw and the few whose count varies, the other font set headers, the three tables whose lengths count modes, programs or fonts

Fixed means the same look: addresses, glyph codes, font indices, the operands of instructions that index a numbered table, which variable a state write writes, and the number of a switched state variable above 17 are placement and abstracted away. On the Harmony 650, 40 of the 55 fixed modes are also byte identical once relocated and 15 have to be re-encoded with the configuration's own numbers55.

On four Harmony 650 compiles the screen bytes run from 628447 to 681067: fixed 471328 or 471329, dynamic 13391 on each, and the setup's 143727 to 19634855. Fixed is per model and per service generation: 53 of the 55 fixed modes and all 19 pictures recur on the 2026 Harmony 700 compiles, none of the modes and 2 of the pictures on the Harmony 600's55. Read with screenUnits, attributeScreens and screenCategoryTotals.

The Harmony 650's pictures, nineteen across its 13 compiles, 18 or 19 in each, every one byte identical wherever held; HARMONY_650_PICTURES names each by its content key56.

kind pictures bytes
simple enough to state as a rule, built by buildPictures the plain background (fill 0x2945, 128 by 128), the top bar (16 rows, one colour each), the bottom bar (16 rows from row 112, inset 22, 20, 19, 18, 17, 17, then 16, end pixels in their own colour on rows 113 to 119), three corner patches (fills 0x2945 12 by 12, 0xB944 and 0x4A49 12 by 10) 41066
designed artwork device page crossed and of one item, activity menu of two and of one, working screen crossed, start up picture, corner mark, and the four firmware screen pictures of USB Connected, Low Battery, the battery blank screen and the upgrade and learn blank screens 327891 where all are held
drawn only by the delay screens Help opens the black delay picker with a dotted cross and the black delay screen with a dotted line 65546

The six rule pictures are also Logitech's bytes on the five Harmony 700 compiles of 2026; the top bar and the red patch on all seven Harmony 700 compiles, and the top bar on both Harmony 600 compiles56.

A device's inputs, and the state tables built

How the compiler wires a device's power, its on and off sends and its three delays, is sending.

A device's inputs, measured on the thirteen compiles33, and the same on the Harmony One but for the send, which is two instructions there, its compiler page57. Two layers of one byte variables, each a record with first 0 and second the number of values less one:

variable values transitions
<label>_Input_<n> the catalogue's inputs.list, numbered by Logitech's InputOrder one per value from -2 (0xFFFE), or, where the inputs step with next, one per ordered pair of distinct values
<label>_<state>_<n> one of the catalogue's states, its values in order a value with a select gets one transition, from -2 for setType 1 and -3 (0xFFFD) for setType 2; a state with next gets one per ordered pair

The catalogue's fields named here are Logitech's58.

  • A transition i to j of a stepping variable runs the one step body (j - i) mod n times, so it steps forward and wraps: 128 of 128 stepping transitions33.
  • A transition's instruction: the null instruction (opcode 0, operand 0) for an input with no commands, 6; an inline state write 0x80 | variable for an input whose only step writes one state, 103; otherwise 0x7F to a list, 340 inputs and every one of the 243 state transitions. A body that is one send runs the send list itself; a longer one is a list of 0x7F send list calls, bare 0x7C waits and state writes33.
  • A send's 0x7C quantity: an input's own sends and its next wait the input delay in tenths, or the key delay where the input delay is 0; a state's sends wait the key delay33.
  • A write Logitech's catalogue marks as recording rather than setting (DevActionType 1)58 is a call to a two instruction list, [0x07 0xFFFF, 0x80 | variable]33.
  • One input that steps gives a variable of one value and no transitions; one input that does not step gives none. A state no input writes, directly or through another state, is not compiled33.
  • The catalogue's power.onReset becomes one list per state, [0x07 0xFFFF, 0x80 | variable value], called from the power variable's 0 to 1 list after the power on delay, in the catalogue's order (on the Harmony One the same shape): 13 of 13 lists on the eight device instances that compose, and a fourteenth on a device that does not compose has the same place and flag59. The value is the named value's index, told apart from "always the first value" by one catalogue entry only; where the catalogue names a value the variable does not declare, twice, the compile writes 0, unexplained: one of the two is a state of one value and the other names index 0 of another state59. Without it a -3 variable keeps its value across a power cycle and a second start asking for the same value sends nothing60.
  • An activity's enter list writes power on, then the inputs in the order the devices were switched on, then power off, then the counter: 40 of 40 activities, 72 input writes33.
  • Unexplained: four -3 transitions whose only step is a Select press are absent from one television's compile, a Panasonic TH-42PA30; a Panasonic TX-P42GT30E of one Harmony 700 compile holds InputType and no Input; and the Chromecast of one Harmony 600 compile holds a one value input variable and is not identified33.

inputPlan, composeDeviceInputs, activityStartTargets and deviceStateMachines in packages/config/src/compose/inputs.ts; packages/config/test/compose/inputs.test.ts.

The state tables, built from a description13. buildStateTables in packages/config/src/assembly/statetables.ts, with the four slot family's facts of packages/config/src/families/harmony-600-650-700/statetables.ts, rebuilds all thirteen compiles' base slots 0, 13 and 14 byte for byte. What it generates rather than carries:

what value on these models
records 7 to 17, first / max 0/2, 0/3, 5/7, 0/7, 0/32, 0/1, 0/32, 1/1, 0/3, 0/1, 0/3, no transitions
the clock's transitions minute, day, month: {-2 to 0, 0x1F 0xF2nn} incrementing hour, month, year; hour: {-2 to 0, 0x7F list}, the list [0x1F 0xF203, 0x1F 0xF204] incrementing day and weekday, its index the configuration's
index narrow first 0, max 65277, no transitions, unnamed, stored straight after record 17; purpose not read on these models (on the Harmony One it is the clock pickers' variable)
a variable's width one byte for a maximum up to 100, two from 254; between is not pinned
a device's eight delay variables PowerOnDelay and InterDeviceDelay max 65277, their Default copies max 254, all two bytes; PowerOnDelayFlagCounter 0/5, InterDeviceDelayFlagCounter 0/3, both FixingTriggered 0/100, one byte; 83 of 83 devices, deviceDelayVariables
CurrentActivityState_0 and CurrentLocation the activity count for both value and max, and 0/0, activityStateVariables
the start variable and the flag 0/1 each, unnamed, no transitions, startSequenceVariables; their indices are the description's28
the menu marker 0/3, unnamed, no transitions, menuMarkerVariable; its index is the description's28

Carried: which variables there are, their stems, values, maxima and transitions in stored order, and the order of their indices within each width, which no hash of their names fits13. A value can exceed its maximum: DefaultPowerOnDelay holds 65535 under 254 for one device of one Harmony 650 compile, so "at most second" holds for the populations it was first measured on6162 and not for every compile13. The constants are this architecture's: on the Harmony 880 and 885 records 7 to 12 and 15 to 17 hold the same values while 13 and 14 hold 1/1, 0/1, the Harmony 525 differs from record 8 on, and on both, as on the Harmony One, the 0/65277 variable at index narrow is the only two byte one while one byte maxima reach 121, inside the gap not pinned here13.

Read with gspm.state_table, gspm.state_records and gspm.state_index; stateTable and stateRecords in packages/config636461.


  1. Measured in configurations. Section 285 ↩↩↩↩↩↩↩↩↩

  2. Measured in configurations. Section 312 ↩↩↩↩↩

  3. Measured in configurations. Section 289 ↩↩↩↩

  4. Measured in configurations. Section 323 ↩↩↩↩↩↩↩

  5. Measured in configurations. Section 290 ↩↩↩↩↩↩↩

  6. Measured on a unit. Section 335 ↩↩

  7. Measured in configurations. Section 356 ↩↩↩↩↩

  8. Measured in configurations. Section 347 ↩↩↩↩↩↩↩↩

  9. Measured in configurations. Section 360 ↩↩↩↩↩↩↩↩

  10. Not checked. ↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩

  11. Measured in configurations. Section 286 ↩↩

  12. Measured in configurations. Section 314 ↩↩↩

  13. Measured in configurations. Section 324 ↩↩↩↩↩

  14. Read in the firmware. Section 140 ↩

  15. Read in the firmware. Section 303 ↩↩

  16. Stated by Logitech, in their client. Section 360 ↩

  17. Measured in configurations. Section 334 ↩↩↩↩↩

  18. Measured in configurations. Section 330 ↩↩↩↩

  19. Read in the firmware. Section 369 ↩↩↩

  20. Measured in configurations. Section 374 ↩

  21. Measured in configurations. Section 366 ↩↩↩

  22. Measured in configurations. Section 325 ↩↩

  23. Measured in configurations. Section 331 ↩↩↩↩

  24. Measured in configurations. Section 326 ↩↩↩

  25. Read in the firmware. Section 326 ↩

  26. Measured in configurations. Section 375 ↩↩↩

  27. Measured in configurations. Section 379 ↩↩↩

  28. Measured in configurations. Section 329 ↩↩↩↩↩↩↩

  29. Measured in configurations. Section 239 ↩

  30. Measured in configurations. Section 316 ↩↩↩

  31. Stated by Logitech, in their client. Section 351 ↩↩

  32. Measured in configurations. Section 335 ↩↩↩

  33. Measured in configurations. Section 321 ↩↩↩↩↩↩↩↩↩

  34. Measured in configurations. Section 358 ↩↩↩↩↩↩↩↩

  35. Measured in configurations. Section 368 ↩↩↩↩

  36. Measured in configurations. Section 273 ↩

  37. Measured in configurations. Section 336 ↩

  38. Measured in configurations. Section 294 ↩

  39. Measured in configurations. Section 352 ↩↩

  40. Measured in configurations. Section 52 ↩

  41. Measured in configurations. Section 69 ↩

  42. Measured in configurations. Section 357 ↩↩↩↩↩↩↩↩

  43. Measured in configurations. Section 315 ↩

  44. Chosen by this project. Decision 19 ↩

  45. Chosen by this project. Decision 22 ↩

  46. Measured in configurations. Section 333 ↩↩↩↩

  47. Stated by Logitech, by their service. Section 333 ↩

  48. Measured in configurations. Section 287 ↩↩

  49. Measured in configurations. Section 319 ↩

  50. Measured on a unit. Section 341 ↩

  51. Measured in configurations. Section 340 ↩↩

  52. Stated by Logitech, in their client. Section 340 ↩↩

  53. Measured in configurations. Section 339 ↩

  54. Measured in configurations. Section 39 ↩

  55. Measured in configurations. Section 317 ↩↩↩↩

  56. Measured in configurations. Section 363 ↩↩

  57. Measured in configurations. Section 393 ↩

  58. Stated by Logitech, in their catalogue. Section 321 ↩↩

  59. Measured in configurations. Section 332 ↩↩

  60. Measured on a unit. Section 332 ↩

  61. Measured in configurations. Section 86 ↩↩

  62. Measured in configurations. Section 120 ↩

  63. Measured in configurations. Section 35 ↩

  64. Measured in configurations. Section 60 ↩