Boombox documentation
Boombox is a Bluetooth speaker built on a Radxa ZERO 3W. A phone streams audio over Bluetooth, and the speaker plays it through an I2S DAC, a MAX98306 stereo class-D amplifier (or a TPA2012) and two 3-inch 4 Ω full-range drivers.
The speaker is set up and controlled from a web interface, which is a TYPO3 site running on the board itself. If the speaker cannot join a known Wi-Fi network, it opens its own setup network with a captive portal.
flowchart LR
phone["📱 Phone"] -- "Bluetooth A2DP / AVRCP" --> radxa["Radxa ZERO 3W<br/>BlueZ · bluez-alsa · TYPO3"]
radxa -- "I2S (digital)" --> dac["UDA1334A<br/>I2S DAC"]
dac -- "line level (analog)" --> amp["MAX98306<br/>2 × 3 W class D into 4 Ω"]
amp -- "bridge-tied" --> spk["2 × 4 Ω / 5 W<br/>3-inch full-range drivers"]
browser["💻 Browser"] -- "Wi-Fi · http://boombox.local" --> radxa
Contents
The releases list every version with the files to download and what changed.
Hardware
| Document | What it covers |
|---|---|
| Bill of materials | Every part, why it was chosen, alternatives |
| Wiring | Pin-by-pin wiring with diagrams, jumper and gain settings, power budget |
| Assembly and first power-on | Build order, enclosure, the checks to run before the speaker plays |
| 3D models | The printed parts and the FreeCAD document, in a 3D viewer |
Software
| Document | What it covers |
|---|---|
| Architecture | How the parts fit together: agent, web app, Mercure, captive portal, security model |
| Device setup | Flashing Armbian, the Debian package, install.sh, first boot |
| Configuration | Every setting on the device and in the web interface |
| Development | DDEV, the simulated speaker, tests, the emulated device |
| Storage | SD cards, USB sticks and servers (SMB, SFTP, WebDAV, FTP, S3) for the music and the recordings |
| Backup | What a backup holds, scheduled backups, and restoring onto a new image |
| Accessibility | The WCAG 2.2 AA target, what the specs check, patterns for new controls |
| Using the speaker | First setup, pairing, Wi-Fi, settings, factory reset, the live log |
| Home Assistant | Adding the speaker to Home Assistant, its entities, announcements, security |
| Recording | Recording what phones play: settings, the Recordings page, how the tap never holds up the music |
| MQTT | The speaker on an MQTT broker, ESPHome style: topics, entities, security |
| Spotify | Spotify Connect, and your Spotify playlists under Playlists: connecting your account, what works, security |
| Backend modules | Insights (this documentation in the backend) and the Model viewer for 3D models, with Bambu Studio |
| Prometheus metrics | The web server, the board and the speaker for Prometheus: addresses, metrics, security, a Grafana dashboard |
| Advanced customization | Your own extensions on the speaker: the composer overlay, what a release does with it, when it fails, what an extension can reach |
| Troubleshooting | Symptoms, causes and fixes, from no sound to no Wi-Fi |
The short version
- Build the hardware. Follow Wiring exactly, and set the amplifier's gain to 12 dB before you connect the speakers.
- Flash the Boombox image (Armbian with the package installed) onto a microSD card, edit
boombox.txton it and boot the Radxa. See Device setup. - Install the Debian package:
sudo bash boombox-setup.sh ./boombox_<version>_all.debon the board, ormake install HOSTS=root@boombox.localfrom a checkout. - Join the
Boombox-XXXXWi-Fi with the setup secret printed by the installer, log in, and pick your home Wi-Fi. - Open http://boombox.local, choose Pair a new device, and pair your phone.