LogbookChumby Classic

My leather Chumby lives again: first I imitated it, then it played its own widgets

Log
38 of 39
Date
Reading
4 min read

The Chumby is a small connected device in soft leather, with a 320 × 240 touchscreen. Inside, Linux and a Flash player that runs “widgets”: a clock, an aquarium, a countdown. In April 2012, Chumby Industries stopped selling its devices. Its former chief technology officer bought the assets and kept a minimal service alive. Mine, a Classic on firmware 1.7, was sleeping on a shelf.

I wanted to put it back to work, and pay tribute to it along the way. As with the other objects in this logbook, my assistant wrote the code; I held the device, made the calls and checked on the screen.

The beige leather Chumby Classic on a shelf, screen on the original Clock widget: Friday, 00:29, 4 December 2026.

First, imitate it

On day one, the Chumby did only one thing: fetch a 320 × 240 image from my computer every second, and show it. Then it had to be touched. The screen is resistive, it is calibrated by hand, and it has a flaw: the moment the finger lifts, it reports position (0, 0). So the points read during the press have to be averaged, never the last one kept.

Then came the tribute. To make the screen look like a Chumby, I wanted the maker’s own sources only: the official 2007 screenshots, found in the Wayback Machine, and the original control panel file, still on the device. That file holds its colours, shapes and fonts. The Agenda Bold font came out of it as is. It has no accents: they were built from its own glyphs, so the Chumby speaks French in its original font.

The result looked a lot like a Chumby. But it was only a picture, drawn by another computer.

Then, the real thing

On the evening of 1 December, a surprise: chumby.com still answers. It serves a free channel, “Unsubscribed”, with a single widget, the Clock. The original control panel downloads and restarts.

The mechanism that changed everything fits in one sentence. At startup, the panel loads the account’s channel, then looks for a profile.xml file on the USB stick, and adds its widgets to the channel. The Chumby wiki documents the format. Each widget is a Flash file and an 80 × 60 thumbnail.

I put in three widgets from back then, including Aquarium, by Yan Thériault: clownfish seen from above. The Chumby plays them itself, in its own panel.

The Chumby shows its original control panel: channel "Unsubscribed", Clock widget, 01 of 5, and the round buttons Night, Music, Settings, Alarms.

My own screen became one widget among the others. With no Flash compiler at hand, it was assembled byte by byte, by a small program: 1,263 bytes that load an image every second and send back every touch. The Chumby no longer imitates; my screen moves into the Chumby.

What the screen does

In the four clips below, nobody touches the device: the taps are sent from my computer, and the screen shows sample data. The interface is in French.

The Chumby goes from its original clock to my home screen: the time in large type, and on the left the weather, messages, reminders and the state of my machines.

One tap opens the list of applications, in the big pills of the original panel. Here, the stopwatch.

The timer is set with buttons, 30 seconds here. The wait is cut in the edit. At zero, the screen switches to an alert; a touch stops it.

The weather, by the hour, then over four days.

Switching widgets remotely

For the clip below, nobody touches the device. A camera films it, and the order to switch widgets leaves from my computer.

The numbers

Measure Value
Screen 320 × 240, resistive touch
System Linux 2.6.16, 62 MB of memory
Widgets on the channel 5
My widget 1,263 bytes
Image refresh every second (0.2 s to download, 0.1 s to display)
Vertical range of the touch panel from 3,540 at the factory down to 882 at its lowest

What broke

  1. The wiki recipe. To keep a calibration, the wiki suggests storing it on the stick. But the system copies it back at every boot, and wipes any calibration made since. The panel had lost two thirds of its vertical range within the day.
  2. The touch panel itself. Its vertical range changes from one day to the next (3,540, 1,287, 882, then 3,266), while the horizontal one stays steady. Only one axis affected: I suspect a loose contact on the ribbon cable, without having checked.
  3. Touch too far off. One evening, I could not reach the setting that opens remote access. The fallback, found in the wiki: an empty file named start_sshd at the root of the stick opens it at boot.
  4. The USB stick. Formatted by the Mac, it was invisible to this 2011 kernel. It needs an old-style partition table (MBR) and FAT32.
  5. The Wi-Fi. It drops now and then. Reconnecting from the Chumby’s settings brings it back.
  6. The Flash player’s memory. During the shoot, some taps got lost. The player keeps every address it has already loaded in memory: a tap on the same pixel as an earlier tap produces the same address, and never leaves. Worse, when you come back to my widget, it replays the old images before the new ones. The fix fits in one line: add a random number to each address. In place since 4 December, it weighs 40 bytes, and three taps on the same pixel now all get through.

What’s next

An RSS feed widget, the same way. And if the touch panel keeps drifting, open the device to clean the ribbon connector.

Sources

Lire en français