Saltar al contenido principal

Integración domótica Hisense VIDAA TV, gratuita y de código abierto

Integración Hisense VIDAA TV para Gladys Assistant

Control your Hisense TV running VIDAA OS: power, volume, sources, apps and remote.

info

La documentación de esta integración la escribe su autor y, por ahora, solo está disponible en inglés.

Control a Hisense TV running VIDAA OS from Gladys: power, volume, remote keys, sources (HDMI...) and applications (Netflix, YouTube...). Gladys talks to the TV over your local network, the same way as the VIDAA mobile app ("VIDAA" / "RemoteNOW"): no cloud account is needed.

Before you start​

  • The TV and Gladys must be on the same local network.
  • Give the TV a fixed IP address (a DHCP reservation in your router): the integration reaches it by this address.
  • Note the TV's MAC address: on the TV, Settings > Network > Network information (or About). Take the address of the interface the TV uses (Wi-Fi or Ethernet). It identifies the TV in Gladys and is used to turn it on.
  • To turn the TV on from Gladys, enable the network standby on the TV: Settings > Network > Wake on LAN / Wake on Wireless LAN (the name depends on the model), or Settings > System > Power > Quick start.

Configuration​

FieldWhat to enter
TV IP addresse.g. 192.168.1.50
TV MAC addresse.g. aa:bb:cc:dd:ee:ff (any format: -, : or none)
TV nameThe name of the device in Gladys
Authentication methodLeave Automatic: the integration tries every method the VIDAA firmwares use
Client certificate / keyOnly for the TVs that require them, see below
Wake-on-LAN broadcast addressOnly if the TV does not turn on: the broadcast address of your network, e.g. 192.168.1.255

Save the configuration.

Pairing​

Like the mobile app, Gladys must be authorized by the TV once:

  1. Turn the TV on.
  2. In the integration's Configuration screen, click Start pairing. A PIN (4 digits) appears on the TV.
  3. Within a minute, click Confirm pairing, type the PIN and validate.
  4. The message "Paired!" confirms it. Test the connection tells you at any time whether the TV accepts Gladys' commands.

The pairing is stored by the integration: it survives restarts. Forget the pairing erases it (useful after replacing the TV or a factory reset).

Add the TV to Gladys​

Go to the Discovery tab of the integration and add the TV. It offers:

FeatureEffect
PowerTurns the TV on (Wake-on-LAN or power key) and off
VolumeSets the volume (0-100), follows the changes on the TV
Volume up/down, MuteRemote keys
Channel up/downRemote keys
Up, Down, Left, Right, OK, Back, Exit, Menu, Home, InfoNavigation keys
Play, Pause, Stop, Rewind, Fast forwardPlayback keys
SourceSwitches input (the list comes from the TV)
ApplicationOpens an application (the list comes from the TV)

The state is refreshed every 30 seconds, and immediately when the TV reports a change (power, volume, source).

Scenes​

Two actions are available in the scene editor:

  • Press a TV remote key: any key of the remote, optionally several times (e.g. "Volume down" × 5);
  • Open a TV application: by its name, e.g. Netflix, YouTube, Prime Video.

The device features (power, volume, source...) can also be used with the standard "Control a device" action.

Client certificate​

Recent VIDAA firmwares only accept the secure connection of a client presenting the certificate of the official mobile app (mutual TLS). This certificate is not distributed with the integration. If Test the connection says that the TV refused the secure connection:

  1. Get the client certificate and its private key of the VIDAA app: the community documents how to extract them from the app (pyvidaa — obtaining the client certificate, protocol analysis).
  2. Paste the certificate (-----BEGIN CERTIFICATE-----...) in Client certificate and the key (-----BEGIN PRIVATE KEY-----...) in Client private key. Line breaks lost when pasting are restored automatically, and a base64-encoded file is accepted too.
  3. Save, then pair again.

Troubleshooting​

  • "The TV does not answer": the TV is off without network standby, or its IP address changed. Check the address, enable the network standby (see above).
  • "The TV refused every login method": force another authentication method, or add the client certificate.
  • Connected but "it ignores the commands": run the pairing.
  • The TV does not turn on: enable Wake on LAN on the TV, check the MAC address (Wi-Fi and Ethernet have different ones), set the broadcast address of your network. Some models only wake up from a short standby.
  • The PIN does not appear: the TV may have reached its maximum of paired devices: remove old ones in its settings, then retry.

For the integration logs, open the integration's page in Gladys (Supervision).

Credits​

The VIDAA protocol was documented by the community, in particular the pyvidaa and hisensetv projects.

Parámetros de configuración​

Estos son los parámetros que Hisense VIDAA TV te pide en su pantalla de configuración en Gladys.

ParámetroTipoObligatorioDescripción
Getting startedsectionNoGladys talks to the TV over your local network, like the VIDAA mobile app. Give the TV a fixed IP address in your router, fill in its IP and MAC addresses (Settings > Network on the TV), save, then run the "Start pairing" action and enter the PIN shown on the TV.
TV IP addressstringSí
TV MAC addressstringSíIdentifies the TV and turns it on with Wake-on-LAN. Use the address of the interface in use (Wi-Fi or Ethernet).
TV namestringNo
AdvancedsectionNoRecent VIDAA firmware only accepts the secure connection of the official mobile app: paste its client certificate and private key below (see the documentation). Leave empty if the TV connects without them.
Authentication methodselectNoLeave "Automatic" unless the TV refuses the connection.
Client certificate (PEM)secretNo
Client private key (PEM)secretNo
Wake-on-LAN broadcast addressstringNoOnly if the TV does not turn on: the broadcast address of your network.

Cómo instalar Hisense VIDAA TV en Gladys​

  1. En Gladys, abre Integraciones: Hisense VIDAA TV aparece en el catálogo junto a las integraciones nativas, con una insignia de comunidad.
  2. Haz clic en Instalar. Gladys descarga la imagen Docker (ghcr.io/quentinlegay/gladys-vidaatv:0.1.1), la ejecuta en un entorno aislado del núcleo y genera la interfaz de la integración (dispositivos, descubrimiento y configuración).
  3. Abre la pantalla de Configuración de la integración, rellena los parámetros y guarda.
  4. También puedes instalarla directamente desde la URL de su repositorio: https://github.com/quentinlegay/gladys-vidaatv.

Hisense VIDAA TV requiere Gladys >=5.1.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​

Hisense VIDAA TV 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 quentinlegay, no el equipo principal de Gladys.

Suscríbete a la newsletter de Gladys Assistant

Unos pocos correos al mes sobre nuevas versiones y novedades del proyecto. Enviados por Pierre-Gilles Leymarie, fundador del proyecto. Puedes darte de baja cuando quieras 🙂