Skip to main content

Tonies (Toniebox) smart home integration, free and open source

Tonies (Toniebox) integration for Gladys Assistant

Toniebox battery, Creative-Tonie content and chapters from the Tonies cloud

Reads your Toniebox and Creative-Tonie data from the Tonies cloud: battery level of each Toniebox, number of chapters and remaining recording time of each Creative-Tonie.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for Tonies (Toniebox) 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:

  • E-mail and Password of your Tonies (mytonies) account;
  • Refresh interval: how often the cloud is read (60 s minimum, 300 s by default);
  • Low battery threshold: level under which the "Toniebox battery low" trigger fires.

Save, then use Test the connection: the integration says how many Tonieboxes and Creative-Tonies it found. The integration only talks to the Tonies cloud (no local connection). The password is stored as a secret and never logged.

Usage​

Each Toniebox becomes a device with a Battery feature. Each Creative-Tonie becomes a device with Chapters and Remaining time features. All of them are read-only. Add them to your dashboards from the Gladys devices screen.

Limits: playback state and volume are not exposed by the Tonies cloud API used here, so they are not available; the battery depends on what the cloud reports for your box.

Scenes and dashboards​

  • Triggers: Toniebox battery low (fires once when the battery crosses the threshold, with the battery variable) and Creative-Tonie content changed (with chapters and previous_chapters).
  • Action: Refresh the Tonies reads the cloud immediately and returns the number of Tonieboxes and Creative-Tonies found.
  • Widget: Tonies shows the batteries (live), the chapters and time left of each Creative-Tonie, and a refresh button.

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository. Remove your password from any log you share.

Configuration settings​

These are the settings Tonies (Toniebox) asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Tonies accountsectionNoSign in with the e-mail and password of your Tonies (mytonies) account. Your Tonieboxes and Creative-Tonies are read from the Tonies cloud.
E-mailstringYesE-mail of your Tonies account.
PasswordsecretYesPassword of your Tonies account, stored by Gladys.
Refresh interval (s)numberNoHow often the Tonies cloud is read, in seconds (one minute minimum).
Low battery threshold (%)numberNoThe "Battery low" scene trigger fires when a Toniebox falls under this level.

How to install Tonies (Toniebox) in Gladys​

  1. In Gladys, open Integrations: Tonies (Toniebox) 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-tonies-toniebox: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-tonies-toniebox.

Tonies (Toniebox) 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​

Tonies (Toniebox) 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 🙂