JBL Soundbar smart home integration, free and open source

Control your JBL soundbar: volume, inputs, sound mode and power
JBL soundbars: control the volume, mute, inputs, sound mode and power from Gladys, over your home network.
Installation
In Gladys, open Integrations, then the external integrations store. Search for JBL Soundbar, click Install, and wait for the container to start.
Configuration
Fill in the Configuration tab:
- Soundbar IP address: the local address of the bar (reserve it in your router). The bar must be on the same network as Gladys.
- Client certificate and key (PEM): the bar only talks to clients presenting the certificate of the JBL One app. This integration does not ship it: provide your own (the Home Assistant integration documents where it comes from). Line breaks can be written
\n. - Refresh interval: how often the bar is read (one minute minimum).
Then use Test the connection.
The integration is local only (HTTPS and UPnP on your network): no cloud account is involved. The bar is unreachable in deep standby.
Usage
The JBL Soundbar device offers a volume slider, a mute switch and a power button. The bar only has a power toggle key and does not report its power state: pressing the button turns it off or back on.
Scenes and dashboards
- Triggers: Volume changed (variable
volume) and Soundbar online or offline (variableonline). - Actions: set the volume, select an input (HDMI, TV, Bluetooth), select a sound mode (smart, bass boost, Atmos, rear) and toggle power.
- Widget Soundbar remote: live volume, configured address, and buttons for power, volume and the TV input.
Help
A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.
Configuration settings
These are the settings JBL Soundbar asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Enter the IP address of your soundbar (same network as Gladys) and the client certificate and key of the JBL One app, which the bar requires. The soundbar must be on to answer. |
| Soundbar IP address | string | Yes | Local address of the soundbar, ideally reserved in your router. |
| Client certificate (PEM) | secret | Yes | Certificate of the JBL One app. Line breaks may be written \n. |
| Client private key (PEM) | secret | Yes | Private key matching the certificate. Line breaks may be written \n. |
| Refresh interval (s) | number | No | How often the bar is read, in seconds (one minute minimum). |
How to install JBL Soundbar in Gladys
- In Gladys, open Integrations: JBL Soundbar appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/gboulvin/gladys-jbl-soundbar:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/gboulvin/gladys-jbl-soundbar.
JBL Soundbar requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.
Not running Gladys yet? It is free and open source: follow the installation guide to get started.
About external integrations
JBL Soundbar is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by gboulvin, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub — source of this documentation