Skip to main content

Qobuz smart home integration, free and open source

Qobuz integration for Gladys Assistant

French hi-fi streaming: account, favorites and playlists

Qobuz is a French hi-fi streaming service. This integration reads your Qobuz account from the cloud and brings it into Gladys: subscription status, number of favorite tracks, albums and artists, and number of playlists. It only reads the account, it never changes anything on it.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for Qobuz and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

Open the Configuration tab and fill in:

  • Application id: the app_id you use with the Qobuz API;
  • Username or e-mail and Password of your Qobuz account (the password is stored as a secret);
  • Refresh interval: how often the account is read (900 s by default, one minute minimum).

Save, then click Test the connection: the integration signs in and shows the account name. The connection status of the integration follows the result.

Usage​

The Qobuz device appears in the Discovery tab. Add it: it carries the sensors Subscription active, Favorite tracks, Favorite albums, Favorite artists and Playlists, with their history.

Scenes and dashboards​

  • Trigger "Favorite added": fires when tracks, albums or artists were added to the favorites (filter by kind). Variables: kind, count, added.
  • Trigger "Subscription changed": fires when the subscription starts or ends. Variables: active, plan.
  • Action "Refresh the Qobuz account": reads the account now and updates the sensors. Outputs: subscribed, favorite_tracks, favorite_albums.
  • Widget "Qobuz": favorites and playlists counts, subscription and account name, and a refresh button.

Triggers follow the periodic read: a change is reported at the next refresh, never by a manual refresh.

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 Qobuz asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoEnter your Qobuz username and password, and the application id (app_id) you use for the Qobuz API. The integration only reads your account: subscription, favorites and playlists.
Application idstringYesThe app_id sent to the Qobuz API.
Username or e-mailstringYes
PasswordsecretYes
Refresh interval (s)numberNoHow often the account is read, in seconds (one minute minimum).

How to install Qobuz in Gladys​

  1. In Gladys, open Integrations: Qobuz appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/gboulvin/gladys-qobuz:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/gboulvin/gladys-qobuz.

Qobuz 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​

Qobuz 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.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂