Using the speaker
First setup
- Plug in the speaker and wait about a minute.
- On your phone, open the Wi-Fi settings and join
Boombox-XXXX. The password is the setup secret on the label (four groups of four characters, e.g.R7JE-798M-UBJU-GR5K). - The setup page opens by itself. If it doesn't, open a browser and go to any address, or to http://10.42.0.1.
- Log in: user owner, password: the setup secret. The first time, the speaker asks you to choose your own password (at least 8 characters). From then on you log in with that one; see The owner's password.
- On the Wi-Fi page, tap your home network, enter its password and tap Connect. The speaker leaves its setup network, so your phone drops back to your normal Wi-Fi.
- Open http://boombox.local (on Android, if
.localnames don't work, use the speaker's address from your router).
If the password was wrong, the setup network Boombox-XXXX comes back within a minute. Join it again; the Wi-Fi page shows what went wrong.
The owner's password
The pages are for the user owner. Its password goes through three stages:
- Before the first login it is the setup secret from the label.
- At the first login the speaker asks for a password of your own before it shows anything else. That one replaces the setup secret for the login. The setup secret stays the Wi-Fi password of the setup network
Boombox-XXXX. - Afterwards you change it under Settings → Password, which asks for the current one first.
Log out sits next to Power… on every page (at the foot of the menu, or as an icon at the top right on a phone).
Forgotten your password? On the speaker, as root, set it back to the setup secret:
cd /var/www/boombox/current
sudo runuser -u www-data -- php vendor/bin/typo3 speaker:setup-user --password-stdin < /etc/boombox/setup-secretThen log in with the setup secret (sudo boombox-agent secret shows it) and choose a new password, as at the first login. Nothing else changes. A factory reset (Settings → System) sets the password back the same way, but also clears all settings.
Pairing a phone
- Open Bluetooth and tap Pair a new device. For two minutes the speaker is visible as "Boombox", or whatever name you gave it.
- On the phone, open Bluetooth settings and choose the speaker.
- The phone is paired, trusted and connected, and the pairing window closes. Outside that window nobody can pair with the speaker.
Paired phones reconnect by themselves. After a restart the speaker reconnects the last phone if Reconnect the last device on start is on.
Now playing
The start page shows the title, artist and progress, with previous, play/pause and next buttons and the phone's volume. These work like the phone's own controls (AVRCP). The small badge shows the Bluetooth codec in use (SBC, aptX, …). A playlist's or Spotify's song can be moved within: click or drag the progress bar, or focus it and press the left and right arrows, five seconds a press. The bar shows the jump at once and a run of presses goes to the speaker as one request, so it steps on from where you left it.
Two volumes are involved:
| Control | Where | What it is |
|---|---|---|
| Phone volume | Now playing | The phone's stream volume. The phone's buttons move it too. |
| Speaker volume | Now playing, the bar at the bottom of every other page, Settings → Audio → Volume | The speaker's own level. It can never exceed the volume limit. |
Playlists and the music library
The speaker also plays by itself, without a phone. The Playlists page has two parts:
- Music (its own page, below Playlists), in three parts:
- Add music: drop MP3s or whole folders, or use Choose a folder / Choose files (phones and tablets). They go into the folder open in Your music, and folders keep their structure. Files go up in pieces, two at a time; a dropped connection picks up where it was. If a file is there already, it is skipped, kept next to the new one, or replaced, as you choose. Other files, hidden files and MP3s over 200 MB are left out and listed.
- Your music: browse the folders (a click on a folder's row opens it) and search all of them. Listen plays a song in the browser and turns into Stop; a line along the bottom of its row shows how far it is - click or drag it to jump. Add to playlist… on a song or a folder opens a dialog with your playlists as checkboxes - tick several to add it to all of them, or make a new one on the spot. Delete… removes a song or the open folder, after asking. With several music libraries (Settings → Storage), Library chooses the one to browse; uploads go to the one marked for them, whichever is on show.
- Music folder: where on the speaker's storages the music is kept: the folder of the library uploads go to. Another folder shows in Your music at once.
- Playlists: create one, open it, and Add songs… opens a dialog: tick songs and whole folders from the music libraries, the recordings and each SD card or stick that is mounted (a tab each, named like it under Settings → Storage), across folders and searches - the footer counts what is ticked - and Add to playlist puts them at the end in the order you ticked them (a song ticked twice, or in a ticked folder, goes in once). Drag a song by its handle to any place - the others make room as it passes; from the keyboard, focus the handle, press Space, move it with the arrow keys and press Space again (Escape puts it back). Remove songs and play from any song. The playlist plays on the speaker; Now playing shows it, with previous, play/pause, next and stop. A click on the playing song's line - in the playlist or on Now playing's bar - jumps there. Under the transport, Now playing has Shuffle and Repeat. Shuffle plays every song once in random order (the song that plays goes first); a playlist started as a whole then begins anywhere. Repeat goes round with each press: off, all songs (a new round, in a new order when shuffled) and this song. Next still moves on from a repeated song. Both belong to the speaker, not to one playlist, and are forgotten when the agent restarts.
- Add radio stations… puts internet radio stations between the songs. Search by name and country - the most listened come first, from the free Radio Browser directory, and only the search leaves the speaker - and Add each one you want. Or paste a station's address: a stream, or a
.plsor.m3uplaylist from the station's website. A station plays live, so it has no line to jump in; when it stops, the speaker tries it again three times, then plays the next entry. Next moves on as from a song. With Settings → Recording → Song covers on, Now playing shows the station's logo.
When something else starts while a playlist plays (a phone over Bluetooth, media from Home Assistant), it takes over and the playlist waits. Once the speaker is quiet for three seconds, the playlist picks up where it was. An announcement pauses the playlist only while it speaks. With Settings → Audio → Playback → Something new starting to play: Waits the other way round: a phone that starts is paused, and the Playlists page says what plays and offers Play anyway.
Home Assistant sees a playing playlist as the speaker's media player: title, position, "Playlist: name" as the source, and its transport.
The e-Paper display
A speaker with the Waveshare 2.13" e-Paper HAT shows what plays: the song's cover in black and white (the speaker's logo when there is none: yours, or the Boombox), title, artist, the phone or the playlist with the song's place in it, play or pause, the time (1:14 / 3:07) and a bar. While music plays it updates every second, quietly: only what changed is redrawn, a new song too, without the panel flashing black and white. Emoji in your text, a song or a playlist name are drawn in black and white (Symbola); several joined into one, such as a family, appear side by side. While the speaker starts it shows Starting beside the Boombox, until the speaker is ready; in standby it shows Standby and how to wake it.
Quiet updates leave faint grey ghosts over time. The panel clears them with its black and white flashing only out of sight: once after nobody touched it for three minutes, right before it goes to sleep, and once when the speaker starts. Waking up, pausing, the menu and the volume never flash. When nothing plays - a paused phone or playlist too - it shows, as set under Settings → Display, a logo with a text of yours of up to four lines (the room, say), or the last song, paused where it stopped. The logo is the one under Settings → Theming → Logo: shown in black and white, as tall as the Boombox, trimmed to what is on it and set against the left edge.
The knob
With a knob beside the display (install.sh --knob=on):
| Do | Outside the menu | In the menu |
|---|---|---|
| Turn | Volume, shown big for a moment | Move up and down; on Volume, change it |
| Turn left past the first row, 3 clicks | — | Up a level; out of the menu at the top. The title shows ‹ Back and a box per click |
| Press | Play or pause whatever plays (phone, playlist, Home Assistant) | Choose; on Volume, done |
| Double press | Next song (phone or playlist) | — |
| Triple press | Previous song | — |
| Hold (½ s) | Open the menu | — |
| Back button (optional) | — | Up a level; out of the menu at the top |
Settings → Display → Knob chooses what a press, a double and a triple press do (play or pause, next song, previous song, mute or unmute, standby, nothing) and how quickly the presses must follow each other (200–1000 ms, 400 by default). A press waits that long for the next one before it acts; with nothing on the double and triple press it acts at once. The Try it pad on the page counts presses the same way, to find a time that suits you.
The menu has Playlists (play one on the speaker; when something else plays and new playback waits, it offers Play anyway), Volume & output (volume, mute, which output to play through, listen on speakers or headphones), Bluetooth (open pairing, disconnect a phone), Info (the speaker's name, web address, IP address and Wi-Fi, then the setup network Boombox-XXXX and its password, the setup secret from the label) and System (Standby, Restart or Shut down the speaker). Standby happens at once: nothing plays, the amplifier, Bluetooth and the TV screen are off, Wi-Fi stays on for the pages, and the display shows Standby and how to wake it. Any turn or press of the knob wakes the speaker (that turn or press does nothing else), and so does anything that starts to play, a playlist from the pages or a stream from Home Assistant. Use Standby rather than Shut down when you want to switch it on with the knob again: the Radxa ZERO 3W has no power button, so after a shutdown only unplugging and plugging it in starts it. Restarting and shutting down ask first, with Cancel chosen, and the display says what happens, then shows the logo and your text again, as at start, which it keeps while the speaker is off. After shutting down, wait 10 s once the logo is back before unplugging it. The menu closes by itself after 30 s.
Logo and colours
Settings → Theming → Logo takes a logo of your own: an SVG, PNG, JPEG, GIF or WebP up to 1 MB. It replaces the Boombox everywhere, at the top of the pages, as the browser's icon and on the e-Paper display. An SVG is cleaned of scripts and outside references as it is stored. Reset logo brings the Boombox back. The panel keeps its picture without power and sleeps after three minutes without a change.
Settings → Theming → Colours sets four colours of the pages: the accent (buttons, links, switches, the mark beside the open page), the menu background, the open page in the menu (automatic: a tint of the accent) and the page background behind the cards. Click a hex field for the colour picker below it, type a hex code or take a swatch (the Boombox red #aa3a50 comes first). A click elsewhere or Escape closes the picker: the page shows it at once and keeps it. Text on a colour turns dark or light by itself. Each colour has its own Reset, and Reset all colours brings the Boombox's own back. Phones in dark mode keep their dark backgrounds and only take a tint.
On a speaker with a TV (see The Boombox on your TV), the logo, on the menu's colour (the one the logo is made for: a white logo needs a dark menu), is also what the TV shows while the speaker boots. A change reaches the boot image within a minute or two and shows from the next boot on.
Password
Settings → Password changes the password you log in to these pages with (the user owner). It is not a Wi-Fi password: your Wi-Fi's is on the Wi-Fi page, and the setup network Boombox-XXXX keeps the setup secret from the label.
Settings
- Output: choose where sound comes out: the built-in amplifier (I2S DAC), HDMI, or a USB sound card.
- Volume limit: the loudest the speaker may play, whatever a phone asks for. With the MAX98306 at 12 dB, keep it at or below about 90 % (80 % with the TPA2012 at 12 dB).
- Volume after switching on: the level the speaker starts at.
- Listen on: play through the speakers or on headphones and active speakers. On headphones the amplifier stays off and a separate, lower volume limit applies, so switching never blasts your ears.
- Standby: the amplifier switches off after this much silence, and on again when music starts. This needs the amplifier enable line to be wired.
- Song covers: look up the playing song's album cover online and show it on Now playing and the TV. Off by default: when on, the artist and album (or title) of each new album go to MusicBrainz' Cover Art Archive and Apple's iTunes Search. Each cover is fetched once and kept on the speaker, up to the size you choose (50 MB, about 1,000 albums, by default); when it is full, the covers shown longest ago make room. Clear… deletes them all. An album without a cover is asked for again after a week; when the speaker is offline, it tries again after a minute, then twice as long each time. Phones do not hand their cover over Bluetooth to the speaker.
- Sounds: the speaker plays something when it is ready for phones after switching on, when pairing starts, and when a device connects or disconnects. Each of these moments holds a list: built-in sounds, your own, and text the speaker says out loud in German or English. With several, one is picked at random each time; with none, the moment is silent. Play next to an entry lets you hear it, Add a sound or text adds one (up to 8 per moment), and Play sounds switches all of them off.
- Your sounds: upload your own as uncompressed WAV files, up to 10 seconds and 2 MB, 20 in all. Uploading under a name you already used replaces that sound. When you delete a sound, the moments that used it get their built-in sound back.
- Reset sounds to defaults: brings back the built-in sounds, removes spoken texts and keeps your uploads. A factory reset deletes the uploads too.
- Storage (not shown to the TV): include an SD card or USB stick plugged into the speaker, or add a shared folder from the network, and keep the music or the recordings there. See Storage.
- Backup (not shown to the TV): back up the speaker now or by a crontab schedule, choose what is in it, how many are kept and where, and delete one. See Backup.
- Network name: the speaker is at
http://<name>.local. - Home Assistant: let Home Assistant find and control the speaker. See Home Assistant.
- MQTT: announce the speaker on an MQTT broker, as ESPHome devices do. See MQTT.
- Spotify (not shown to the TV): connect your Spotify account, and its playlists show under Playlists. Choosing the speaker in the Spotify app needs no setup. See Spotify.
- Password: change the
ownerpassword. The setup secret on the label keeps working for the setup network; a factory reset restores it as the login password too (see The owner's password). - Power saving (not shown to the TV):
- Switch the screen off after: after this much silence the TV's picture and the HDMI port switch off, and come back as soon as something plays. Sound over HDMI stops with them, so a phone's first second may be lost; prompts and Home Assistant wait for the screen. Off (Never) by default.
- CPU speed: how the processor picks its speed. Lowest power plays music fine but makes the pages slower.
- Wi-Fi power save: the radio dozes between messages. Pages and Home Assistant may answer later, and on some boards Bluetooth music stutters. Changing it reconnects Wi-Fi once.
- Standby / Restart / Shut down: Standby (see the display's menu) becomes Wake up while the speaker is in standby. Shut down is also on every page, at the foot of the menu (on a phone, the power icon in the top bar). After shutting down, wait for the LED to go off before you unplug.
- Factory reset: forgets all Wi-Fi networks, paired devices and settings, and sets the login password back to the setup secret. Type
RESETto confirm. The speaker restarts and opens its setup network.
The Boombox on your TV
With a TV on the speaker's HDMI port, the TV can show the speaker's pages, larger than on a phone so they read from the sofa, and plays the music through its own speakers when HDMI is the output.
- Set it up once on the speaker, with the TV on and connected: answer yes to the TV question of the package (
sudo dpkg-reconfigure boombox), or runsudo install.sh --system --hdmi=always --tv=on, thensudo install.sh --app. Reboot. The TV is turned on with the set-up. - Under Settings → System → TV, Show the speaker on a TV turns it off and on again. While it is on, the TV shows Now playing (or the start page you chose) after a few seconds, and again after every restart of the speaker.
- Choose what the TV may do:
- Only look: it shows everything, but changes nothing.
- Control playback: it may also play, pause, skip and set the volume. This is the default.
- Everything but your account: it may change settings too. It never changes your password or these TV settings, and never reads the Home Assistant key.
- Choose Size of the pages: how large the TV draws them, from 75 % to 250 % (150 % is the default). A screen far away or a small one wants more, a big one close by less. A TV that is already showing the pages follows at once.
The TV logs in with an account of its own, tv, whose password nobody needs: only the speaker itself can log in with it. Turn the switch off and the TV shows just "Boombox".
The TV's remote
The TV's own remote works the pages, over HDMI-CEC (every maker calls it something else, see the table below):
| Key | What it does |
|---|---|
| Arrows | Move the focus between the controls; the focused one has a thick ring in the page's text colour, to be seen from the sofa. On a slider, left and right change it by one step (five seconds on a song's position) until it is at an end, then they leave it; in a text field they move the caret until it is at the edge. On a page of another extension (a reveal.js presentation, say) they do what that page does with them. |
| OK | Presses the focused control: a button, a link, a switch, a checkbox. On a list of choices (a select) it opens a list of its own: the arrows choose, OK takes the choice, Return leaves it as it was. |
| Return (the back arrow) | Closes the dialog or list that is open, else goes back one page. While a song is picked up to move it in a playlist, it puts the song back. |
| Exit | To the start page (Now playing), from wherever the TV is, whatever the page. |
| Green | Forward one page. |
| Red | Reloads the page. The focus stays on the control that had it. |
| Yellow | Plays and pauses. |
| Blue | Opens the playlists. |
| Play, Pause, Stop, Next, Previous | Control what plays: a playlist, Spotify or a phone. Stop stops a playlist and pauses the rest. |
| Fast forward, Rewind | Ten seconds on or back in the song (a phone cannot seek); several presses in a row add up. |
| Channel or Page up and down | On a slider, ten steps; elsewhere a page up or down, with the focus on the first control in sight. |
Exit, green and red are told to the browser itself, not to the page, so they work on any page. The other keys reach the speaker's own pages only: on a page of another extension Return does nothing. The TV forwards only some keys, and a Samsung sends its Return and Exit as vendor commands; if a key does nothing, your TV does not send it. Typing (a Wi-Fi password, a playlist's name, a search) needs a keyboard: the TV's remote and a Wiimote cannot type, a Bluetooth keyboard can (see A Bluetooth mouse and keyboard).
Set it up with sudo install.sh --system --tv=on, which installs the boombox-cec service and its package v4l-utils, then on the TV:
Switch HDMI-CEC on, under the name of the TV's maker (see HDMI-CEC by maker).
Choose the speaker once from the source list (it appears as "Boombox" or a "HDMI CEC device"). Many TVs send their remote's keys only to the device selected there.
The speaker presents itself to the TV as a CEC 1.4 playback device, which Samsung and most others send their keys to. The speaker's page Settings → System → TV has what to try for a TV that does not:
- Remote control: CEC 2.0 (with the remote profile of a source device) for a TV that sends no keys to a 1.4 device.
- Make the TV switch to the speaker: the speaker says that it is the source ("Say it is the source"), or also switches the TV on and to itself ("Also switch the TV on"), for a TV that sends its keys only to the source it believes in. It happens when the speaker starts and when you change the setting.
The line above them says whether the TV answers on HDMI-CEC, and its maker's name for it if not. sudo boombox-cec-diagnose on the speaker listens to the TV for a while and says what it found and what to try, per maker. Without the TV's cooperation nothing helps: a TV with HDMI-CEC off, or off itself, does not answer. If the remote does nothing, see Troubleshooting.
HDMI-CEC by maker
Every maker calls HDMI-CEC something else, and hides it in a different menu, which also moves between models and years: if the path below is not on your TV, search its settings for the name. The speaker works with any TV that sends its remote's keys over CEC; this is what is known of the makers.
| Maker | Called | Where to switch it on | Tried on the speaker |
|---|---|---|---|
| Samsung | Anynet+ (HDMI-CEC) | Settings → General → External Device Manager → Anynet+ (HDMI-CEC) | An older Samsung (2010): its keys arrive once the speaker has told it that it is the source, see below. It sends no keys to a device that says it is CEC 2.0, and Return and Exit as vendor commands. A GU55AU8079 did not work in a first try, with the settings of the older TV (see the EDID below); not looked into yet. |
| LG | SIMPLINK (HDMI-CEC) | Settings → General → Devices → HDMI Settings → SIMPLINK | No |
| Sony | BRAVIA Sync, or Control for HDMI | Settings → External inputs → BRAVIA Sync settings → Control for HDMI | No |
| Philips | EasyLink, and EasyLink Remote Control, which sends the keys | Settings → TV settings → General settings → EasyLink | No |
| Panasonic | VIERA Link, or HDAVI Control | Menu → Setup → VIERA Link settings | No |
| Sharp | AQUOS LINK, or HDMI Control | Settings → System → AQUOS LINK | No |
| Toshiba | REGZA Link, or CE-Link | Settings → Preferences → HDMI CEC Control | No |
| Hisense | HDMI CEC | Settings → System → HDMI CEC | No |
| TCL | T-Link, or HDMI CEC | Settings → System → Control other devices, or Inputs → HDMI Control | No |
| Vizio | CEC | System → CEC | No |
| Other makers | HDMI-CEC, CEC Control | Settings → System or Inputs | No |
"No" means that the speaker's CEC code, written after the HDMI specification and the makers' own documentation, has not been tried on such a TV: it may need the settings below. A report of what worked is welcome.
What else a TV may need:
- The speaker selected. Many TVs send their remote's keys only to the device selected in the source list, on the HDMI input the speaker is plugged into.
- The speaker as the source. A Samsung only sends its keys to a device that has said that it is the source. If the keys do nothing, set Make the TV switch to the speaker to "Say it is the source" under Settings → System → TV. It switches the TV to the speaker's input, so leave it off if you watch other inputs.
- One HDMI input. With
--hdmi=alwaysthe speaker keeps the EDID of the TV it was set up with, and with it that TV's HDMI input number (the port in the CEC address, 1.0.0.0 for HDMI 1). Plug it into another input and the TV looks for it at the wrong place: delete/usr/lib/firmware/edid/boombox-hdmi.binand runinstall.sh --systemagain with the TV on. - A TV that is switched on. In standby most TVs ignore CEC.
sudo boombox-cec-diagnose on the speaker names the maker it sees, and what that maker is known to need.
A Wiimote
A Nintendo Wiimote works the pages like the TV's remote, over Bluetooth, on a speaker set up with --tv=on. Hold it upright, the pointer end to the TV:
| Wiimote | What it does |
|---|---|
| D-pad | The arrows. |
| A or 2 | OK. |
| 1 | Return. |
| Home | Exit, to the start page. |
| + and − | The speaker's volume (always, also while nothing is shown). |
| B | Plays and pauses. |
Pair it once: open the pairing window (the Bluetooth page's pairing button), then press the red sync button under the Wiimote's battery cover. The speaker pairs with it while the window is open (not with 1+2, which this Bluetooth chip cannot pair). After that any button wakes the Wiimote and it connects by itself, also after the speaker or the batteries were changed. Hold Power for three seconds to turn it off. One Wiimote works at a time; the Bluetooth page lists it with the paired devices, where it can be removed.
A Bluetooth mouse and keyboard
A Bluetooth mouse and keyboard work on the TV, on a speaker set up with --tv=on. Both pair while the pairing window is open (the Bluetooth page's pairing button): put the mouse or keyboard in pairing mode (an Apple Magic Mouse or Keyboard pairs without a code; a keyboard that wants you to type a code is not supported yet). The window stays open after a mouse or keyboard pairs, so both can be paired in one go; a phone ends it. They reconnect by themselves afterwards.
Under Settings → System → Mouse and keyboard:
- Mouse speed is how fast the pointer moves on the TV: from 50 % to 300 % of the mouse's own speed (100 % is the default). It takes effect within a second. A click on any part of an Apple Magic Mouse is a left click.
- Hide the pointer after is how long the mouse may rest before the pointer disappears from the TV: 1 to 60 seconds, or never. It is 3 seconds at first. Moving the mouse, pressing a button or turning the wheel brings it back. Phones and computers keep their pointer.
- Keyboard layout is the layout of the keyboards on the TV: English (US, international, Dvorak and UK), German (also without dead keys, and Apple), Austrian, Swiss, French, Belgian, Dutch, Spanish, Italian, Portuguese, Swedish, Norwegian, Danish, Finnish, Polish, Czech, Hungarian, Turkish and Russian. Until you choose one it is US. The TV's browser has to start over to take it, so the TV is blank for about ten seconds after a change.
Moving the speaker to another place
Once the speaker can't reach any saved network for 45 seconds, it opens Boombox-XXXX again. Join it with the setup secret and choose the new Wi-Fi. Saved networks stay saved, and every five minutes the speaker checks whether one of them is back, as long as nobody is using the setup network.
Recordings
With Settings → Recording on, every song a phone plays is recorded as an MP3. The Recordings page lists them to play, download or delete, 50 to a page, with Previous, Next and the page number above and below the list; the History has Listen next to each recorded song. See Recording.
History
The History page lists the songs phones played on the speaker, newest first, with the artist, the album, when it played and on which phone. New songs appear at the top of the first page while the page is open. Search songs finds a song by its title, artist, album or phone. The list comes in pages of 50: above and below it Previous and Next turn the page, and the page number can be typed in.
The speaker keeps the last 5,000 songs. A song paused and resumed, or the same song again within half an hour, counts once. Clear history… removes all of them, and so does a factory reset. Only the owner sees the page.
Logs
Settings → Logs shows what the speaker is doing, like a terminal: the newest line at the bottom of a box that fits the screen, and new lines appear there while the page is open (Live; Paused stops it). Scroll up to read back: the box then stays where you are, and Jump to latest shows how many new lines arrived and takes you back down. To find a problem:
- Errors or Warnings show only those; the numbers say how many there are.
- Component narrows the list to one part of the speaker: Bluetooth, Wi-Fi, Audio, Home Assistant, Web (the web interface) or System.
- Search keeps the lines containing a word, such as a phone's or a network's name.
Passwords and keys never appear: they are replaced by ***.