Guide

BT Esparagus

Use a Sonocotta Esparagus HiFi MediaLink as a standalone Bluetooth audio receiver, controlled from Venue Commander over the network. It can replace the built-in audio board or work alongside it when you want the audio path on a separate, network-connected box.

When to use BT Esparagus

Venue Commander has two ways to get Bluetooth audio into a rig:

  • Built-in Audio Board. A small companion board next to the touchscreen, connected by a short cable. It is one physical box with one configuration. Use this by default.
  • External BT Esparagus. A standalone Sonocotta board, controlled over the network. Use this when the audio needs to be somewhere the touchscreen is not, for example a backstage receiver fed into FOH. It also suits several receivers driven by one touchscreen, or an Esparagus board you already have on the shelf.

You can use both together: a built-in audio board and one or more Esparagus receivers, all controlled from the same touchscreen.

What BT Esparagus provides

  • Bluetooth audio receiver for music playback, with transport and volume control
  • High-quality stereo line-level output
  • Its own web UI with 5 tabs for status, paired devices, WiFi, config and firmware updates
  • OSC control of volume, playback, kick and show mode, all reachable from Venue Commander
  • Show Mode, which locks the board to a single Bluetooth device for the length of a show
  • Device access control: allow or deny each paired device, block one temporarily, and give devices friendly names

Hardware

Esparagus HiFi MediaLink

Power5 V USB-C
Audio output3.5 mm line out or header pins
NetworkWiFi (2.4 GHz)

What you need

  • An Esparagus HiFi MediaLink board from Sonocotta
  • USB-C cable for power and initial setup
  • Audio cable (3.5 mm or header) to your amplifier or PA

Loading firmware

The Esparagus board needs the BT Esparagus firmware loaded over USB the first time. You do this from the browser. There is nothing to install on your computer.

  1. Plug the board into your computer with a USB-C cable.
  2. Open the Flash page in Chrome or Edge and sign in with Google.
  3. In the version list, pick the newest version under bt_esparagus (guest).
  4. Click Install and choose the board's serial port when the browser asks.
You have to sign in with Google, because the firmware bucket is private. If you need to be added, email info@venueops.tech. Signing in means you accept the terms of use. The privacy policy says what happens to your email address.

Once the firmware is loaded and the board is on your WiFi network, you do not need to do any of that again. You can apply all later updates wirelessly through the Esparagus board's own web UI.

First boot

On first power-up, or after a factory reset, the device has no WiFi credentials and starts in Access Point mode.

Default AP credentials

Network (SSID)BT-Esparagus-XXXX. The last 4 characters come from the device's MAC address.
Passwordesparagus
Setup URLhttp://192.168.4.1
  1. Connect your phone or laptop to the BT-Esparagus-XXXX WiFi network using the password esparagus.
  2. Open a browser and go to http://192.168.4.1.
  3. The BT Esparagus web UI opens. Go to the WiFi tab to connect to your venue network.

Auto-generated secrets

On first boot, the device generates two credentials:

API Key32-character key required for all REST API calls. Shown in the Config tab. HTTP integrations use it. Venue Commander does not need it, because it uses OSC.
OSC PIN4-digit numeric code that Venue Commander uses for OSC authentication. Shown in the Config tab. You need it when you set up the endpoint in Venue Commander.

WiFi setup WiFi tab

Screenshot: BT Esparagus WiFi tab Network scanner with signal-strength bars, a list of available networks, and a connect form (SSID, password, optional static IP fields) with a Save & Reboot button.
  1. In the web UI, tap the WiFi tab.
  2. Tap Scan to search for nearby networks.
  3. Tap a network name to fill in the SSID field, or type it yourself.
  4. Enter the WiFi password.
  5. Tap Save & Reboot. The device reboots and connects to your network.
WiFi scanning is disabled while a Bluetooth device is connected, because the two share a radio. Disconnect the BT device first if you need to scan.

After the reboot, find the device's new IP address in your router's DHCP table or in the serial monitor output. The device also registers via mDNS as <device-name>.local for about 60 seconds after boot. It then stops, to reduce radio contention with BT audio.

Configuration Config tab

Screenshot: BT Esparagus Config tab Config tab with Device Name, BT Exclusive toggle, API key (read-only) with regenerate, OSC port and PIN, web password field, and Reboot and Factory Reset buttons.

Once the device is on your WiFi, open its IP address in a browser and go to the Config tab.

Device settings

Device NameFriendly name shown in the web UI header, used as the mDNS hostname, and pushed via OSC /device_name.
BT ExclusiveWhen enabled, the device hides from new Bluetooth devices while it is streaming audio. Existing connections are unaffected.

API Key

A 32-character key generated on first boot. Every REST API call must send it as an X-API-Key header. You can regenerate it if it is compromised. Existing integrations then need the new key.

The API key is for the HTTP REST API only. Venue Commander uses OSC (UDP), which authenticates with the separate 4-digit OSC PIN.

OSC settings

PortUDP port for the OSC server. Default: 9000. A change needs a reboot.
PIN4-digit authentication code for OSC clients. Generated on first boot. Note this value. You enter it in Venue Commander's endpoint configuration.

Web Password

Optional HTTP Basic Auth password for the web UI. Leave it blank to allow access without a login. The username is always admin.

System

  • Reboot restarts the device.
  • Factory Reset erases all settings (WiFi, name, API key, paired devices, OSC PIN) and reboots. It asks you to confirm twice.
Factory Reset cannot be undone. Every paired device will need to “Forget” this speaker and pair again from scratch.

Venue Commander setup

Once your BT Esparagus is on the network and you have noted the OSC PIN from the Config tab, set it up as an endpoint in Venue Commander.

1. Add the endpoint

Screenshot: Venue Commander Devices tab with BT Esparagus device Endpoint card with the BT Esparagus preset applied: transport OSC, port 9000, heartbeat /thump at 5 s, value feedback enabled, PIN address /auth, and a 4-digit PIN entered.
  1. Open the Venue Commander web UI and go to the Devices tab.
  2. Click + Add Device.
  3. Set Device Preset to BT Esparagus. This fills in the recommended settings.
  4. Enter the Esparagus board's IP address.
  5. Enter the 4-digit OSC PIN from the BT Esparagus Config tab.
  6. Click Save & Restart.

Preset values (filled in for you)

TransportOSC
Port9000
Heartbeat Probe/thump
Heartbeat Interval5 seconds
Value FeedbackEnabled
PIN Address/auth
The BT Esparagus preset uses a more lenient liveness check. The Esparagus board runs WiFi and Bluetooth on the same chip, so it drops the occasional network message while audio is streaming. The relaxed check avoids false “dead” warnings during a show.

2. Add widgets

Switch to the Layout tab and add widgets for the BT Esparagus endpoint. The BT Esparagus widget presets set them up quickly. The presets are:

PresetTypeDescription
VolumeFaderBluetooth volume control (0 to 100). Syncs with the phone in both directions.
Now PlayingInfoShows the current track title, artist and album
Device NameInfoShows the connected Bluetooth device's friendly name
Play/PauseToggle ButtonStateful play/pause
KickButtonDisconnect the current Bluetooth device

3. Verify

  1. After saving, check the Venue Commander Status tab. The BT Esparagus endpoint should show as alive (green indicator).
  2. If it shows as dead, check that the IP address and OSC PIN are correct.
  3. Pair a phone to the BT Esparagus via Bluetooth and start playing music. The Now Playing and Device Name info widgets should update in real time on the touchscreen.
  4. Move the volume fader. The phone's volume should change. Adjusting the volume on the phone should move the fader on the touchscreen.

BT Esparagus web UI reference

The BT Esparagus web UI has 5 tabs. Status updates are pushed in real time, so you never need to refresh. This is the Esparagus board's own web UI, separate from Venue Commander's. You only need it for initial setup, firmware updates and managing things on the board itself.

Status Status tab

Screenshot: BT Esparagus Status tab Playback controls (prev/play-pause/next), now-playing metadata, device info card, show-mode toggle with countdown, BT volume slider, output-level slider.
PlaybackPrev / Play-Pause / Next buttons. Track title, artist and album from the connected device. Only visible when a Bluetooth device is connected.
DeviceDevice name, Bluetooth connection status, connected device name, audio state (playing / paused / stopped) and signal strength.
Show ModeLock to the current Bluetooth device for a length of time you set (default 5 hours). While it is active, all other connections are rejected and the kick and unpair controls are disabled. Only visible when a Bluetooth device is connected.
VolumeBluetooth volume slider (0 to 100). Syncs with the phone in both directions.
Output LevelMaster output level slider (0 to 100, default 70). It applies to the Esparagus board only and does not affect the phone. Turn it down if the audio is distorted or clipping.

Devices Devices tab

Screenshot: BT Esparagus Devices tab Paired devices list with allow/deny checkbox, friendly-name input, Connect / Kick / Kick 10 min / Unpair buttons per row, and an Unpair All button.
Allow checkboxEnable or disable a paired device. Denied devices cannot connect.
Friendly nameA label you give each device (e.g. “Stage Manager iPhone”).
ConnectStart an outbound connection to a previously paired device.
KickDisconnect the currently connected device immediately.
Kick 10minDisconnect the device and block it from reconnecting for 10 minutes. The block clears on reboot.
UnpairRemove the device from the paired list. Both sides need to pair again from scratch.
Unpair AllRemove all paired devices. Asks you to confirm.
During Show Mode, the kick and unpair controls and the allow checkbox are disabled so that nobody disconnects the device by accident.

WiFi WiFi tab

See WiFi setup above.

Config Config tab

See Configuration above.

Update Update tab

Screenshot: BT Esparagus Update tab Firmware file upload form with OTA progress bar.

Upload a .bin firmware file to update the Esparagus board wirelessly. The device reboots by itself after a successful upload. If the new firmware fails to boot, the device falls back to the previous version.

OSC reference

The Esparagus OSC server listens on UDP port 9000 (configurable). Every command needs authentication with the 4-digit PIN.

Authentication

Send /auth <PIN> (string argument) to authenticate. The device replies /auth 1 on success or /auth 0 on failure. Sessions expire after 60 seconds of inactivity. Up to 4 clients can be connected at once.

If any message arrives from an unauthenticated client, the device replies /auth 0. Venue Commander uses this signal to authenticate again when a session expires. That is common during BT audio streaming, because WiFi and BT share the radio.

Commands (client → device)

AddressArgsDescription
/authstring: PINAuthenticate with the 4-digit PIN
/thumpnoneHeartbeat. The device echoes it back.
/volumeint: 0 to 100Set Bluetooth volume (syncs to phone)
/kicknoneDisconnect current Bluetooth device (blocked while in show mode)
/kick_tempint: secondsKick and block reconnection for N seconds (default 600)
/unpair_allnoneUnpair all paired devices
/playbackstring: play, pause, next, prevPlayback control
/show_modeint: minutes (0 = off)Lock to current device for a show

State push (device → client)

On any state change, the device pushes updates to all authenticated clients:

AddressTypeValue
/volumeintCurrent volume (0 to 100)
/bt_connectedstringConnected or Not connected
/audio_statestringplaying, paused, or stopped
/device_namestringConnected device friendly name (or BT name)
/now_playingstringTitle\nArtist\nAlbum (newline-separated)
/show_modeint1 (active) or 0 (off)

Queries

Send any state address with no arguments to query the current value. For example, send bare /volume to get the current volume back. This matches the Wing/XM32 convention.

/kick and /unpair_all are bare commands and have no query form. Sending them without args executes them.