Zum Hauptinhalt springen

Tydom Smart-Home-Integration, kostenlos und Open Source

Tydom-Integration für Gladys Assistant

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

Info

Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.

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.

Konfigurationseinstellungen​

Diese Einstellungen fragt Tydom in seinem Konfigurationsbildschirm in Gladys ab.

EinstellungTypPflichtfeldBeschreibung
How it workssectionNeinThis 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 gatewaysectionNeinThe 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 addressstringJa
Tydom passwordsecretNein
Tydom IP addressstringJaLocal IP address of the gateway (recommended). Leave mediation.tydom.com to go through the Delta Dore cloud.
Delta Dore account e-mailstringNeinOptional: only needed when the Tydom password is left empty.
Delta Dore account passwordsecretNein
Tydom polling interval (s)numberNein
MQTT brokersectionNeinUse the LAN IP address of the broker host: localhost would point inside the containers.
MQTT hoststringJa
MQTT portnumberNein
MQTT userstringNein
MQTT passwordsecretNein
Run tydom2mqtt from GladysbooleanNeinDisable it if you already run tydom2mqtt yourself on the same broker: Gladys will only read its topics.

So installierst du Tydom in Gladys​

  1. Öffne in Gladys Integrationen: Tydom erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
  2. Klicke auf Installieren. Gladys lädt das Docker-Image (ghcr.io/quentinlegay/gladys-tydom:2.0.1) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration).
  3. Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
  4. Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/quentinlegay/gladys-tydom.

Tydom benötigt Gladys >=4.86.0. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.

Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.

Über externe Integrationen​

Tydom ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von quentinlegay veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.

Abonniere den Newsletter von Gladys Assistant

Ein paar E-Mails im Monat zu neuen Releases und Neuigkeiten aus dem Projekt. Verschickt von Pierre-Gilles Leymarie, dem Gründer des Projekts. Jederzeit abbestellbar 🙂