Skip to content

346. MyHarmony's tilt sensor setting is one flag instruction, 3F F101, that the compile leaves out when it is off

todo-compile-650.md 4.3.3. The tilt sensor wakes the remote when it is picked up. It is set in MyHarmony's "Remote Backlight Settings" dialog, beside the glow time, and the service then reads TiltSensor as false. The test record's Harmony 650 was compiled with it off (h650_tilt_off_config), with nothing else changed since section 345's compile with the Remote Assistant off (h650_assistant_off_config), where the sensor was on.

The only difference is one instruction, 3F F101, and one binding. With the sensor on, three lists hold the instruction: timer 0's list [1F E900, 3F F101], and two lists that end in it, [7F 08B2, 3F F101] and [7F 08B2, 72 0225, 3F F101]. With it off, no list holds it: timer 0 queues 1F E900 directly and its list is gone, [7F 08B2, 3F F101] is gone with base slot 9 entry 2's binding of event 0x17, which ran it, and the third list is one instruction shorter. Two lists fewer, 28 bytes fewer. The other five timers, the parameter block, the screens, the screen texts and every state variable's starting value are the same.

Corrected by section 347. This said the two lists ending in the flag were each one instruction shorter with the sensor off. One is; the other is gone, and so is entry 2's binding of event 0x17, 54 bindings where the compile with the sensor on has 55. The 28 bytes close on that reading and not on the first: two lists of 7, their two table entries of 3, the binding of 5 and the one instruction of 3. The count of lists fewer was right, which is why the sentence beside it was not checked.

Timer 0 is the one section 292 found running ten seconds after the screen light's own timer, queueing [1F E900, 3F F101]. So with the sensor on, the remote sets this flag when it goes quiet and in the two other places, and with it off it never does. What the flag does in the firmware is not read, and neither is what 1F E900 selects; the two lists ending in the flag are not traced to their callers here.

What the sensor does is seen at the bench, on the 650 with the sensor on: tilting the remote while its screen is dark lights the screen, and so does pressing a key. A key pressed while the screen is dark is registered as well, which was observed with less certainty and not measured with the infrared receiver. That the flag is how the configuration arms the sensor is the reading the two compiles suggest: it is not checked by writing the compile without it and tilting the remote.

For the 650 track this is the last of the three settings: a configuration built by us sets the sensor on by carrying the flag where Logitech does and off by leaving it out. The starting configuration was compiled with it on, at its default.

Sources. MyHarmony's screen for where the setting lives, Logitech's service for the value, and the two Logitech files; the firmware was not read.

Scope, decision 16

The Harmony 650, one setup. The Harmony 600 and 700 list the same setting and are not compiled with it off.

Falsification

A Logitech compile with the sensor off that holds 3F F1xx, or one with it on that does not.

Where it lands

  • packages/codec/test/help.test.ts: timer 0's instruction in both files, the three lists holding the flag and none with it off, and what does not change.
  • reference/remotes/harmony-650/features.md, the TiltSensor row.

Section 345 | the archive | section 347. Section 346 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.