Skip to content

Harmony 350: keys

Fifty five keys and no screen. Five groups are the ones Logitech's setup guide names, and the rest is the keypad of any television remote. Which number the remote's own keypad scanner gives each key is below: read in the firmware, narrowed in configurations, and checked by pressing every key with an infrared receiver listening, which tied 44 keys to their code11, and nine more on a configuration that binds them12. The drawing's table carries those 53 and nothing else.

The drawing, reference/silhouettes/h350.svg, is generated from packages/silhouettes/src/models/h350.ts, traced from the vector button page of Logitech's setup guide and counted shape by shape1. The Harmony 300's drawing takes every shape from it, since the two share one case.

The keys Logitech's setup guide names

  1. Watch TV button: "Powers devices on/off for your Watch TV Activity".
  2. Device buttons: "Set the remote to control specific devices", four of them, each with a short press and a two second press. They print TV/Media, Cable/PC, AVR/Game and DVD/Music under "My Devices"1, or in an earlier printing TV / AVR, Cable/DVD, BD / Media and Game/MP3 on the same four places, so a device key is known by its place rather than its printing2. The drawing showed the earlier printing until it was corrected.
  3. Favorite Channel buttons: "Configure these buttons for quick access to favorite TV channels", five.
  4. Color buttons: "Navigate menus and select options on some TVs, cable/satellite receivers, DVRs, and Blu-ray players". Four, red, green, yellow and blue on the drawing.
  5. Power button: "Select one of the Device buttons, then use the Power button to turn that device on or off."

All five from the guide's "Buttons" and "How the remote works" pages2. The rest is an ordinary keypad: menu, guide, info and exit, the direction pad and OK, volume and channel, mute, DVR, Live, previous channel, the transport keys, digits, clear and enter1.

Every key on the drawing

55 keys on the drawing h350, 55 on the keypad and 0 that the screen speaks for. 53 carry a scan code: 44 heard by pressing each key with a receiver listening, its code the one binding of the configuration on the remote that sends what was heard11; 9 heard by pressing each key with a receiver listening, on a configuration that binds it, its code the one of the 56 that, raised at that point of the presses, gives what was heard12. 1 are narrowed to a set of candidate codes and not decided.

key kind name from scan code screen zone printed on or beside it
CablePc keypad printed 1 (0x01)12 Cable/PC
Favorite5 keypad printed 2 (0x02)11 5
Power keypad printed 3 (0x03)11
DvdMusic keypad printed 4 (0x04)12 DVD/Music
TvMedia keypad printed 5 (0x05)11 TV/Media
WatchTV keypad printed 6 (0x06)12 Watch TV
AvrGame keypad printed 7 (0x07)11 AVR/Game
Favorite1 keypad printed 8 (0x08)12 1
Favorite2 keypad printed 9 (0x09)12 2
Menu keypad printed 10 (0x0A)12 Menu
Favorite3 keypad printed 11 (0x0B)12 3
Exit keypad printed 12 (0x0C)11 Exit
Red keypad printed 13 (0x0D)11
DirectionLeft keypad printed 14 (0x0E)11
VolumeMute keypad printed 15 (0x0F)11
Number4 keypad printed 17 (0x11)11 4, ghi
Number7 keypad printed 18 (0x12)11 7, pqrs
Clear keypad printed 19 (0x13)11 Clear
Number0 keypad printed 20 (0x14)11 0
SkipBack keypad printed 21 (0x15)11
Rewind keypad printed 22 (0x16)11
Record keypad printed 23 (0x17)11
Number1 keypad printed 24 (0x18)11 1
UpArrow keypad printed 25 (0x19)11
DownArrow keypad printed 26 (0x1A)11
Green keypad printed 27 (0x1B)11
Yellow keypad printed 28 (0x1C)11
Blue keypad printed 29 (0x1D)11
FastForward keypad printed 30 (0x1E)11
DirectionRight keypad printed 31 (0x1F)11
PrevChannel keypad printed 32 (0x20)11
Guide keypad printed 33 (0x21)11 Guide
Favorite4 keypad printed 34 (0x22)12 4
Input keypad printed 35 (0x23)11 Input
Info keypad printed 36 (0x24)11 Info
Number6 keypad printed 37 (0x25)11 6, mno
SkipForward keypad printed 38 (0x26)11
Number3 keypad printed 39 (0x27)11 3, def
Stop keypad printed 40 (0x28)11
ChannelDown keypad printed 41 (0x29)11
DirectionDown keypad printed 42 (0x2A)11
Play keypad printed 44 (0x2C)11
Number9 keypad printed 45 (0x2D)11 9, wxyz
Pause keypad printed 46 (0x2E)11
Number2 keypad printed 47 (0x2F)11 2, abc
Number5 keypad printed 48 (0x30)11 5, jkl
VolumeUp keypad printed 49 (0x31)11
Select keypad printed 50 (0x32)11 OK
DirectionUp keypad printed 51 (0x33)11
VolumeDown keypad printed 52 (0x34)11
Number8 keypad printed 53 (0x35)11 8, tuv
Enter keypad printed 54 (0x36)12 E, Enter
ChannelUp keypad printed 55 (0x37)11
Dvr keypad printed not measured DVR
Live keypad printed one of 43 or 56 Live

Generated from packages/silhouettes/src/models/h350.ts by make remote-reference-write. Change the source, not this block.

Scan codes

Each key raises a number from 1 to 56, which the firmware computes from where the key sits on a grid of fourteen lines of four, and a configuration binds that number directly: nothing translates between the grid and the key maps9. The key maps bind it with an event type in the top two bits, so 0x80 plus the code is a press, 0x40 plus the code a release, and 0xC0 plus the code a key held past a timer; a tag below 0x40 is an event the firmware raises itself and not a key, the family's firmware page9.

key code how it is known heard
the four device keys, top left, top right, bottom left, bottom right 5, 1, 7, 4 each selects one device's map, below yes, a short and a long press each
Watch TV 6 the activity's binding yes
Power 3 a device's power toggle, in every device's map that holds codes yes
favourite 5, right of Input 2 heard sending the television's code that the configuration on the unit binds to code 2 alone yes
favourites 1 to 4 8, 9, 11 and 34, in that order heard sending the channels the configuration on the unit binds to those four codes yes
Menu, Exit, Info, Guide 10, 12, 36, 33 named by what they send yes
the arrow pair between them, up and down 25, 26 heard sending the receiver's channel up and down, the only bindings of 25 and 26 yes
red, green, yellow, blue 13, 27, 28, 29 named by what they send; the Harmony 300 prints another order on the same keys yes
Volume Up, Volume Down, Mute 49, 52, 15 named by what they send yes
Channel Up, Channel Down, Previous Channel 55, 41, 32 named by what they send yes
the direction keys up, right, down, left, and OK 51, 31, 42, 14, 50 named by what they send yes
DVR 16 named by what it sends, once, on a Harmony 300 pressed, and sent a code that OK's binding sends too, so not decided by it
Live 43 or 56 left over; no configuration binds either no
Rewind, Play, Pause, Fast Forward 22, 44, 46, 30 named by what they send yes
skip back, skip forward, Record, Stop 21, 38, 23, 40 named by what they send yes
the digits 1 to 9 and 0 24, 47, 39, 17, 48, 37, 18, 53, 45, 20 named by what they send yes
Clear, Enter 19, 54 named by what they send, once and twice, on a Harmony 300 yes
Input 35 named by what it sends, on a Harmony 300 yes

So 54 keys have a code, Live is on one of two codes, and one code of the 56 is no key at all10. This said 50 and five keys sharing a set of six codes until favourites 1 to 4 were heard. 53 of the 54 were heard. 44 of them each pressed with a receiver listening, on a unit holding a television and a receiver, and each heard sending the code the configuration on it binds to that number and no other, in the television's mode, the receiver's or both11. That settled three the configurations could not, favourite 5 and the two arrows, and agreed with the 38 they had named and the three device and power keys their bindings place. Six more were pressed and sent nothing there, because that configuration binds nothing to them, and favourites 1 to 4 sent nothing either. The other nine were heard on a configuration that binds them: each key's code is the one of the 56 that, raised at that point of the presses, gives what the receiver heard12. That settled favourites 1 to 4 and agreed with the five the configurations had placed: Menu, Enter, Watch TV and the top right and bottom right device keys. DVR was pressed and is not among them: it sent the receiver a code whose bytes OK's binding sends as well, so the press fits 16 and 50 alike, and it rests on configurations, with OK heard on 5012.

How each code is known

  • The grid and the event types are read in the firmware9. The same routine scans the keypad in the application, in safe mode and in the bootloader, so the codes the start up images react to are these codes too, the family's firmware page.
  • Six keys say what they are by what their binding does10. The key table after the configuration's LWJL marker3, the map every press is looked up in last, binds the device keys and the activity's key: 11 or 13 entries over the three Harmony 350 configurations measured5. Codes 5, 1, 7 and 4 each select one device's map, and that map sends from infrared group 0, 1, 2 and 3; on a Harmony 300 the group is the device key, TV, Cable/Sat, DVD and VCR/Aux, by position13, and the two remotes are one moulding, so the four codes are the top left, top right, bottom left and bottom right device keys. On a Harmony 350 the top left and bottom left keys were pressed and heard selecting the devices on groups 0 and 26, and on a configuration with a device on every key all four were, short press and long, the top right selecting groups 1 and 5 and the bottom right 3 and 712. They rested on the Harmony 300's order until then. Code 6 is the activity's binding, and Watch TV is the only key the face gives an activity. Code 3 switches a device on or off in every device's map that holds codes.
  • A device key on this remote changes the device when it is let go: its press switches an output pin and starts two timers, and its release selects the map. The Harmony 300 selects on the press, and has no two second press to wait for10.
  • The favourite keys are the five codes that send a favourite channel, 2, 8, 9, 11 and 34, and no other code does. The configurations do not say which is which: two Harmony 350 configurations of one setup send channels 1, 2, 3, 4 and 666 from 8, 9, 11, 34 and 2, and a Harmony 300 configuration sends 1, 2, 3 and 666 from 8, 2, 9 and 3410. Pressed one by one on a unit whose television map binds only code 2 among the five, only favourite 5, the key right of Input, sent anything, so favourite 5 is code 211. Favourites 1 to 4 are 8, 9, 11 and 34, in that order: on a unit holding a compile whose five favourites are channels 1, 2, 3, 666 and 07 on codes 8, 9, 11, 34 and 2, favourite 1 sent channel 1, favourite 2 channel 2, favourite 3 channel 3 and favourite 4 channel 66612. This page listed which is which as open until then.
  • A favourite's channel goes out digit by digit: on a set top box whose digits were each heard as a frame and one repeat, 666 arrived as three 6s 0.32 to 0.33 seconds apart, 0.21 seconds of silence between them, and 07 as a 0 and a 7 the same distance apart, with nothing after the last digit12. The configuration waits a tenth of a second after each digit; what makes up the rest of the silence is not traced, and another device's digits, being another length, would arrive another distance apart7.
  • 41 keys are named by what they send: every code a device's map sends is looked up in Logitech's catalogue, and the name most of the bindings of a code agree on is taken as the key Logitech's compile bound it to, VolumeUp on code 49 in 8 of the 10 bindings the catalogue names10. The evidence is fewer devices than the counts suggest: a map often sends another device's volume, so those 8 are three distinct codes, and the named maps of the Harmony 350 are one television compiled twice; the rest comes from the Harmony 300's files. Input, DVR, Clear and Enter rest on the Harmony 300 alone, which prints List on the DVR key and sends a command of that name from code 16. A key's accepted names include another device's word for the same function, LastView for the previous channel key, ChapterPrev for skip back, chosen after the names were counted. The colour keys rest on the command names and on the drawing's order; the Harmony 300's US printing of the same four positions disagrees with them, and its European printing agrees and was heard sending them by place, its keys10.
  • The rest the configurations narrow and cannot decide. Codes 25 and 26 are bound and never named by the catalogue here, and the arrow pair is the only pair of keys left; codes 43 and 56 are bound by nothing, and Live is the only key left10. The arrows were decided by pressing them: in the receiver's mode the upper sent the receiver's channel up and the lower its channel down, which that configuration binds to 25 and 26 alone, so the upper arrow is 25 and the lower 2611. This page listed which arrow is which as open until then.

The drawing carries the 53 codes that were heard, and Live's two as candidates; DVR carries neither, since a code goes on the drawing only once a press has decided it1112. The drawing carried none until the keys were pressed, and the four favourites as candidates and nothing on the five keys the first configuration left unbound until the second was pressed.

This page called the key table mode 0's list, which is what it is on the models with a screen4, until the family's slots were read, the family's memory page.

Not checked

  • DVR by a press that decides it: on a unit where its binding sends a code no other key's does7. Menu, Enter and Watch TV were listed here until they were heard on a configuration that binds them.
  • Whether Live is 43 or 567. Which of favourites 1 to 4 is which was listed here until it was heard.
  • What is printed on the four device keys differs between units, so a key is named by its place7. Which device key the codes 1 and 4 are on a Harmony 350 itself was listed here until the two were heard selecting their devices. How a two second press is stored was listed here until it was read: the long press device is bound to the held event, the family's firmware8.

  1. Stated by Logitech, in the manual. The test ↩↩↩

  2. Stated by Logitech, in the manual. The Harmony 350 setup guide ↩↩

  3. Measured in configurations. Section 259 ↩

  4. Measured in configurations. Section 311 ↩

  5. Measured in configurations. The test ↩

  6. Measured on a unit. The test ↩

  7. Not checked. ↩↩↩↩

  8. Read in the firmware. The test ↩

  9. Read in the firmware. The test ↩↩↩

  10. Measured in configurations. The test ↩↩↩↩↩↩↩

  11. Measured on a unit. The test ↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩

  12. Measured on a unit. The test ↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩

  13. Measured in configurations. Section 265 ↩