KindleID e-ink frame showing Van Halen 1984

Play a record and the frame shows what is playing. Cover, title, artist, year. The Kindle isn’t listening. A Raspberry Pi on the same network has a USB mic, sends a short clip to Shazam or AudD, and the Kindle just fetches a grayscale PNG and paints it. Mine’s a Paperwhite in a wood frame, USB pointing left, sitting with the records. That Van Halen sleeve is a real result, not a mockup.

When the room goes quiet it stops showing the last track and draws the weather instead. Optional radar, and SolarEdge numbers if the inverter is on Modbus.

KindleID on the shelf next to the vinyl

Turntables and the framed Kindle

How it works

  1. Listen. USB mic on the Pi, ALSA arecord. (WASAPI if I’m developing on Windows.) Mono, 16 kHz, which is what the fingerprint wants.
  2. When to ask. A small state machine watches the level. Sound settles, send a clip. Quiet for a bit, idle screen. While something’s playing, ask again about once a minute. No point hammering Shazam on every snare hit.
  3. Identify. The clip goes to Shazam through goshazam, or AudD, or both at once and the first hit wins. Title, artist, album, year, cover URL.
  4. Render. The Pi builds a grayscale PNG for that Paperwhite. Cover plus type. Soft-rotated, because the Kindle sits on its side.
  5. Show. A KUAL extension polls http://<pi>:8080/version. New hash, download /screen.png, paint it with FBInk. Frontlight and the screensaver go through lipc.

Idle screen is the same pipe. Open-Meteo for the weather, radar if you want it, SolarEdge Modbus if the inverter answers.

KindleID idle screen, weather, solar flow, and forecast

Hardware

  • A jailbroken Kindle with KUAL and FBInk. Paperwhite 5, 6, and 7 sizes are in settings. I mount it on its side, USB on the left
  • A Raspberry Pi on the LAN. The one I tested is an original 2011 Pi 1 Model B, ARMv6, Raspberry Pi OS Legacy Lite armhf. If that board can do it, a newer Pi is bored
  • A USB microphone, or any other ALSA capture device
  • Optional: SolarEdge on Modbus TCP, for the idle screen only

Software

  • Go service on the Pi (kindle-shazam). Listen, decide, identify, render, HTTP on port 8080
  • Kindle KUAL extension Now Playing. Start kills the stock UI and runs the poll loop. If you can’t get back into KUAL, the /settings page in a browser has a restore path for the normal Kindle UI
  • Identify mode: shazam, audd, or both. AudD needs an API token
  • /settings in a browser: thresholds, which provider, location, screen size, frontlight

KindleID settings page, lat and long blurred

Deploy from a filled-in config.local.json with deploy/pi/deploy.ps1. It cross-builds GOARM=6, installs systemd and the env file, and can copy the extension over if the Kindle is plugged in over USB.

Kindle taped to a wooden frame with a 3D-printed stand