Integración domótica Yoto Player Advanced, gratuita y de código abierto

Control a Yoto Player: night light, volume, cards and sensors.
La documentación de esta integración la escribe su autor y, por ahora, solo está disponible en inglés.
This integration adds every Yoto Player of a Yoto account to Gladys Assistant: night light, volume, sensors, and card playback from a scene. Gladys 5.3 or later is required.
What you get
After the account is linked, each player shows up in the Discovery tab. Updating a player that is already added (the Update button on that tab) adds the new features.
Controls:
- Night light — on/off and colour of the light ring for the profile the
player is in (day or night). Off sends Yoto's
#0colour. - Brightness — screen brightness of that same profile, from 0 to 100.
The value
autois shown as 100; moving the slider stores a fixed number. - Volume — from 0 to 100%.
- Day max volume and Night max volume — the limits, shown from 0 to 100%. The player stores them on its 17-step knob: the slider snaps to the nearest step.
Read-only:
- Battery, Charging (plugged in, including a full battery), Online, Wi-Fi signal, Ambient light, Temperature.
- Playing and Card playing. The title, the author and the cover feed Gladys' music player. The track and the position are not available: the API does not provide them.
Dashboard
Two widgets: Yoto players (every player of the account) and Yoto player (one player, with the 24 h battery curve). They show the last reading. Refresh reads the player immediately.
Scenes
Triggers:
- A card starts — filters: player, exact title. Variables: player name, title, id.
- A player stops playing — filter: player.
- Battery low — under 20%, once, until the player is plugged in or the level climbs back above 25%.
Actions:
- Play a Yoto card — player, card id (for example
5WsQg), track index (0 is the first track of chapter 01). - Read a Yoto player — reads now and passes battery, volume, card, temperature and night light to the next steps.
- Refresh all Yoto players.
The first reading after a start does not fire a scene.
Configuration
Open the Yoto applications site, create an application, then open Edit Application.
- Application Type: leave Public Client.
- Allowed Callback URLs: erase the example and put only
https://my.gladysassistant.com/redirect/oauth. - Scopes: tick
family:devices:control,family:devices:manage,family:viewandoffline_access. Rights already marked Included automatically are enough, includingfamily:library:viewfor card titles. Do not tickfamily:library:manageoruser:content:manage. - Leave Description, Allowed Logout URLs, Application Logo and Application Privacy Policy URL empty.
- Click Update Application.
- In Gladys, copy the Client ID into Identifier. Leave Secret empty, save, then click Link my Yoto account. Sign in with the family account.
- Click Test the Yoto connection. Players appear in the Discovery tab.
The connection stays on by itself. Link the account again only if the Yoto password changes, or if the application is removed from the account.
Player update is how long to wait between readings. 300 means 5 minutes, and Gladys cannot go below one minute. Ask the player for a fresh status asks the player to report before the reading. Turn it off if the player wakes too often.
Parámetros de configuración
Estos son los parámetros que Yoto Player Advanced te pide en su pantalla de configuración en Gladys.
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| Getting started | section | No | On the Yoto site, open Edit Application and keep Application Type on Public Client. In Allowed Callback URLs, erase the example and put only https://my.gladysassistant.com/redirect/oauth. Under Scopes, tick family:devices:control, family:devices:manage, family:view and offline_access. Rights already marked Included automatically are enough. Leave Description, Allowed Logout URLs, Application Logo and Application Privacy Policy URL empty, then click Update Application. Copy the Client ID into Identifier, save, then click Link my Yoto account. |
| Identifier | string | Sí | The Client ID copied from your Yoto application. |
| Secret | secret | No | Leave empty. A Public Client has no secret. |
| Link my Yoto account | oauth2 | No | |
| Player update (seconds) | number | No | How long to wait before reading the player again. 300 means 5 minutes. |
| Ask the player for a fresh status | boolean | No | Before each reading, ask the player to report. Turn off if the player wakes too often. |
Cómo instalar Yoto Player Advanced en Gladys
- En Gladys, abre Integraciones: Yoto Player Advanced aparece en el catálogo junto a las integraciones nativas, con una insignia de comunidad.
- Haz clic en Instalar. Gladys descarga la imagen Docker (
ghcr.io/b3n0/adavanced-yoto:1.0.6), la ejecuta en un entorno aislado del núcleo y genera la interfaz de la integración (dispositivos, descubrimiento y configuración). - Abre la pantalla de Configuración de la integración, rellena los parámetros y guarda.
- También puedes instalarla directamente desde la URL de su repositorio: https://github.com/b3n0/Adavanced-Yoto.
Yoto Player Advanced requiere Gladys >=5.3.0. El catálogo de Gladys se actualiza cada hora, así que una nueva versión está disponible como máximo una hora después de publicarse.
¿Todavía no usas Gladys? Es gratuito y de código abierto: sigue la guía de instalación para empezar.
Sobre las integraciones externas
Yoto Player Advanced es una integración externa: una integración comunitaria empaquetada como contenedor Docker y publicada en GitHub. Gladys la instala con un clic y la ejecuta en un entorno aislado del núcleo. La publica y mantiene b3n0, no el equipo principal de Gladys.
- Explorar todas las integraciones, nativas y de la comunidad
- Crear y publicar tu propia integración externa
- Código fuente en GitHub — fuente de esta documentación