Saltar al contenido principal

Integración domótica Tydom, gratuita y de código abierto

Integración Tydom para Gladys Assistant

Control your Delta Dore Tydom devices (shutters, lights, gates, thermostats) through tydom2mqtt.

info

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

Control your Delta Dore Tydom devices from Gladys: shutters, lights, gates and garage doors, thermostats, plus their battery level and temperature sensors.

How it works​

Tydom gateway <──> tydom2mqtt <──> MQTT broker <──> Gladys (this integration)

The integration runs tydom2mqtt as a sub-container managed by Gladys. tydom2mqtt connects to your Tydom gateway and publishes your devices on your MQTT broker. The integration reads them from the broker and sends your commands back through it.

You need an MQTT broker reachable from Gladys, for instance the Mosquitto broker installed by the Gladys MQTT integration.

Configuration​

  1. Open the Configuration tab of the integration.
  2. Tydom gateway
    • MAC address: printed under the gateway, it starts with 001A25.
    • Password: the one printed under the gateway. You can leave it empty and fill in your Delta Dore account (e-mail + password) instead: tydom2mqtt then retrieves the gateway password itself.
    • IP address: the local IP of the gateway (recommended, give it a fixed IP in your router). Leave mediation.tydom.com to go through the Delta Dore cloud.
  3. MQTT broker: host, port, user and password of your broker. Use the LAN IP address of the machine running the broker — localhost would point inside the containers.
  4. Save. Gladys starts tydom2mqtt with these settings; your devices show up in the Discovery tab within a minute, ready to be added.

Every change of configuration restarts tydom2mqtt with the new values.

Already running tydom2mqtt?​

If you already run tydom2mqtt yourself (docker-compose, Home Assistant add-on…) on the same broker, disable Run tydom2mqtt from Gladys: the integration then only reads its topics. Only the MQTT fields are needed.

Supported devices​

Tydom deviceIn Gladys
ShutterOpen / close / stop + position (0 = closed)
Garage doorOpen / close / stop + position
LightOn/off + brightness
Gate, door (impulse)Switch: each command sends a TOGGLE impulse
Thermostat / boilerTarget temperature + current temperature
SensorsBattery, temperature, humidity, power, energy

Not supported yet: alarm, heating modes and presets, shutter tilt.

Actions​

  • Resynchronize Tydom devices — asks tydom2mqtt to reload the Tydom configuration and republish every device. Use it after adding a device to your Tydom installation.

Troubleshooting​

  • No device in Discovery: check the tydom2mqtt sub-container logs in the integration page. Connected to mqtt broker and devices created / updated must appear. A wrong MAC or password shows as an authentication error towards the gateway.
  • "MQTT broker unreachable": the host must be reachable from the Gladys containers (LAN IP, not localhost), and the user/password accepted by the broker.
  • A gate does the opposite of what is shown: gates are driven by impulses, the state shown is the last one reported by the Tydom gateway.

Set LOG_LEVEL=debug for the full detail of the integration logs.

Parámetros de configuración​

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

ParámetroTipoObligatorioDescripción
How it workssectionNoThis integration runs tydom2mqtt next to Gladys: it connects to your Tydom gateway and publishes your devices on your MQTT broker. Gladys then reads and controls them through that broker. You need an MQTT broker reachable from Gladys (for instance the one of the Gladys MQTT integration).
Tydom gatewaysectionNoThe MAC address is printed under the gateway (it starts with 001A25). The password is the one printed under the gateway, or leave it empty and fill in your Delta Dore account so tydom2mqtt retrieves it.
Tydom MAC addressstringSí
Tydom passwordsecretNo
Tydom IP addressstringSíLocal IP address of the gateway (recommended). Leave mediation.tydom.com to go through the Delta Dore cloud.
Delta Dore account e-mailstringNoOptional: only needed when the Tydom password is left empty.
Delta Dore account passwordsecretNo
Tydom polling interval (s)numberNo
MQTT brokersectionNoUse the LAN IP address of the broker host: localhost would point inside the containers.
MQTT hoststringSí
MQTT portnumberNo
MQTT userstringNo
MQTT passwordsecretNo
Run tydom2mqtt from GladysbooleanNoDisable it if you already run tydom2mqtt yourself on the same broker: Gladys will only read its topics.

Cómo instalar Tydom en Gladys​

  1. En Gladys, abre Integraciones: Tydom 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-tydom:2.0.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-tydom.

Tydom requiere Gladys >=4.86.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​

Tydom 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 🙂