Delta Dore Tydom Home Password et tydom2mqtt

Bonjour à tous,

Disposant de modules Delta Dore Tyxia installés d’office sur tous mes volets roulants par mon electricien de l’époque, je me suis vu quasi dans l’obligation de me procurer une box Delta Dore Tydom Home (2023). Je m’évertue à présent á essayer de les intégrer à HA. J’ai suivi la majorité des posts des differents forums HA, installé tydom2mqtt et suivi les conseils de son createur fmartinou. Je bloque cependant sur l’obtention du password interne de ma box Tydom Home. Installer une versoin antérieure de l’appli ne fonctionne pas chez moi sur iphone.

J’ai donc suivi les conseils donnés dans ce post:
Integrating New (2023) TyDom Deltadore X3D Zigbee gateway with Home Assistant (Solved) - Configuration - Home Assistant Community (home-assistant.io)

J’ai bien réussi à lire tout le contenu passant par le proxy en me reconnectant à ma box après avoir du re-renseigner l’adresse MAC de la box. Cependant, je ne trouve aucunement le mot de passe dans les recording. Mon recording semble crypté et ne ressemble pas à celui présenté dans le post.

Quelqu’un pourrait-il m’aider ? Merci d’avance.


Hello @Vincent67170,
Peux-tu poster ta config Tydom2mqtt ?

1 « J'aime »
TYDOM_MAC: 001A25079XXX
TYDOM_IP: 192.168.1.204
TYDOM_PASSWORD: TYDOM_PASSWORD
TYDOM_ALARM_HOME_ZONE: 1
TYDOM_ALARM_NIGHT_ZONE: 2
MQTT_HOST: homeassistant
MQTT_USER: mqtt
MQTT_PASSWORD: xxxxxxxxxx
MQTT_PORT: 1883
MQTT_SSL: false
LOG_LEVEL: INFO

@Vincent67170 tu peux mettre également le log du journal tydom2mqtt

2023-09-27 13:55:37,239 - Starting tydom2mqtt
2023-09-27 13:55:37,240 - Hassio environment detected: loading configuration from /data/options.json
2023-09-27 13:55:37,242 - Validating configuration ({
    "deltadore_login": null,
    "deltadore_password": "",
    "log_level": "INFO",
    "mqtt_host": "homeassistant",
    "mqtt_password": "A********!",
    "mqtt_port": 1883,
    "mqtt_ssl": false,
    "mqtt_user": "mqtt",
    "thermostat_custom_presets": null,
    "tydom_alarm_home_zone": 1,
    "tydom_alarm_night_zone": 2,
    "tydom_alarm_pin": "",
    "tydom_ip": "192.168.1.204",
    "tydom_mac": "001A25079XXX",
    "tydom_password": "T************D"
}
2023-09-27 13:55:37,242 - The configuration is valid
2023-09-27 13:55:37,243 - tydom.TydomClient    - INFO    - Configure local mode (192.168.1.204)
2023-09-27 13:55:37,251 - mqtt.MqttClient      - INFO    - Connecting to mqtt broker (host=homeassistant, port=1883, user=mqtt, ssl=False)
2023-09-27 13:55:37,262 - tydom.TydomClient    - INFO    - Connecting to tydom
2023-09-27 13:55:39,785 - mqtt.MqttClient      - INFO    - Connected to mqtt broker
2023-09-27 13:55:42,338 - tydom.TydomClient    - ERROR   - Exception when trying to connect with websocket (server rejected WebSocket connection: HTTP 401)
2023-09-27 13:55:42,364 - asyncio              - ERROR   - Task exception was never retrieved
future: <Task finished name='Task-2' coro=<listen_tydom() done, defined at /app/main.py:41> exception=SystemExit(1)>
Traceback (most recent call last):
  File "/app/tydom/TydomClient.py", line 178, in connect
    self.connection = await websockets.connect(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__
    return await self.__await_impl__()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 662, in __await_impl__
    await protocol.handshake(
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 329, in handshake
    raise InvalidStatusCode(status_code, response_headers)
websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
    handle._run()
  File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/app/main.py", line 45, in listen_tydom
    await tydom_client.connect()
  File "/app/tydom/TydomClient.py", line 189, in connect
    sys.exit(1)
SystemExit: 1
2023-09-27 13:55:42,397 - asyncio              - ERROR   - Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<Client._resend_qos_messages() running at /usr/local/lib/python3.11/site-packages/gmqtt/client.py:181> wait_for=<Future pending cb=[Task.task_wakeup()]>>
2023-09-27 13:55:42,399 - asyncio              - ERROR   - Task was destroyed but it is pending!
task: <Task pending name='Task-4' coro=<MQTTProtocol._read_loop() running at /usr/local/lib/python3.11/site-packages/gmqtt/mqtt/protocol.py:211> wait_for=<Future pending cb=[Task.task_wakeup()]>>
2023-09-27 13:55:42,400 - asyncio              - ERROR   - Task was destroyed but it is pending!
task: <Task pending name='Task-5' coro=<WebSocketCommonProtocol.close_connection() running at /usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py:1338> wait_for=<Future finished result=None>>

@Vincent67170 , dans un premier temps, peux-tu essayer de mettre l’adresse ip du HA dans mqtt_host et éventuellement mettre le code pin de l’alarme : 123456 et ressayer

Je peux faire cela, mais j’essaye quoi exactement ?

de relancer tydom2mqtt et reposter le log

Voila le log avec 123456 et ip_HA

2023-09-28 12:54:41,851 - Starting tydom2mqtt
2023-09-28 12:54:41,852 - Hassio environment detected: loading configuration from /data/options.json
2023-09-28 12:54:41,853 - Validating configuration ({
    "deltadore_login": null,
    "deltadore_password": "",
    "log_level": "INFO",
    "mqtt_host": "192.168.1.208:8123",
    "mqtt_password": "A********!",
    "mqtt_port": 1883,
    "mqtt_ssl": false,
    "mqtt_user": "mqtt",
    "thermostat_custom_presets": null,
    "tydom_alarm_home_zone": 1,
    "tydom_alarm_night_zone": 2,
    "tydom_alarm_pin": "",
    "tydom_ip": "192.168.1.204",
    "tydom_mac": "001A25079713",
    "tydom_password": "1****6"
}
2023-09-28 12:54:41,854 - The configuration is valid
2023-09-28 12:54:41,855 - tydom.TydomClient    - INFO    - Configure local mode (192.168.1.204)
2023-09-28 12:54:41,862 - mqtt.MqttClient      - INFO    - Connecting to mqtt broker (host=192.168.1.208:8123, port=1883, user=mqtt, ssl=False)
2023-09-28 12:54:41,874 - tydom.TydomClient    - INFO    - Connecting to tydom
2023-09-28 12:54:44,411 - mqtt.MqttClient      - WARNING - MQTT connection error : [Errno -2] Name does not resolve
2023-09-28 12:54:46,931 - tydom.TydomClient    - ERROR   - Exception when trying to connect with websocket (server rejected WebSocket connection: HTTP 401)
2023-09-28 12:54:46,957 - asyncio              - ERROR   - Task was destroyed but it is pending!
task: <Task pending name='Task-4' coro=<WebSocketCommonProtocol.close_connection() done, defined at /usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py:1286> wait_for=<Future finished result=None>>
2023-09-28 12:54:46,958 - asyncio              - ERROR   - Task exception was never retrieved
future: <Task finished name='Task-2' coro=<listen_tydom() done, defined at /app/main.py:41> exception=SystemExit(1)>
Traceback (most recent call last):
  File "/app/tydom/TydomClient.py", line 178, in connect
    self.connection = await websockets.connect(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__
    return await self.__await_impl__()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 662, in __await_impl__
    await protocol.handshake(
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 329, in handshake
    raise InvalidStatusCode(status_code, response_headers)
websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
    handle._run()
  File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/app/main.py", line 45, in listen_tydom
    await tydom_client.connect()
  File "/app/tydom/TydomClient.py", line 189, in connect
    sys.exit(1)
SystemExit: 1
2023-09-28 12:54:46,966 - asyncio              - ERROR   - Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<Client._resend_qos_messages() running at /usr/local/lib/python3.11/site-packages/gmqtt/client.py:177> wait_for=<Future pending cb=[Task.task_wakeup()]>>

Pour le mqtt_host il faut laisser homeassistant
Par contre le code 123456 ne fonctionne pas…

2023-09-28 12:57:19,030 - Starting tydom2mqtt
2023-09-28 12:57:19,031 - Hassio environment detected: loading configuration from /data/options.json
2023-09-28 12:57:19,032 - Validating configuration ({
    "deltadore_login": null,
    "deltadore_password": "",
    "log_level": "INFO",
    "mqtt_host": "homeassistant",
    "mqtt_password": "A********!",
    "mqtt_port": 1883,
    "mqtt_ssl": false,
    "mqtt_user": "mqtt",
    "thermostat_custom_presets": null,
    "tydom_alarm_home_zone": 1,
    "tydom_alarm_night_zone": 2,
    "tydom_alarm_pin": "",
    "tydom_ip": "192.168.1.204",
    "tydom_mac": "001A25079713",
    "tydom_password": "1****6"
}
2023-09-28 12:57:19,033 - The configuration is valid
2023-09-28 12:57:19,034 - tydom.TydomClient    - INFO    - Configure local mode (192.168.1.204)
2023-09-28 12:57:19,041 - mqtt.MqttClient      - INFO    - Connecting to mqtt broker (host=homeassistant, port=1883, user=mqtt, ssl=False)
2023-09-28 12:57:19,051 - tydom.TydomClient    - INFO    - Connecting to tydom
2023-09-28 12:57:21,651 - mqtt.MqttClient      - INFO    - Connected to mqtt broker
2023-09-28 12:57:24,075 - tydom.TydomClient    - ERROR   - Exception when trying to connect with websocket (server rejected WebSocket connection: HTTP 401)
2023-09-28 12:57:24,101 - asyncio              - ERROR   - Task exception was never retrieved
future: <Task finished name='Task-2' coro=<listen_tydom() done, defined at /app/main.py:41> exception=SystemExit(1)>
Traceback (most recent call last):
  File "/app/tydom/TydomClient.py", line 178, in connect
    self.connection = await websockets.connect(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__
    return await self.__await_impl__()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 662, in __await_impl__
    await protocol.handshake(
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/client.py", line 329, in handshake
    raise InvalidStatusCode(status_code, response_headers)
websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
    handle._run()
  File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/app/main.py", line 45, in listen_tydom
    await tydom_client.connect()
  File "/app/tydom/TydomClient.py", line 189, in connect
    sys.exit(1)
SystemExit: 1
2023-09-28 12:57:24,135 - asyncio              - ERROR   - Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<Client._resend_qos_messages() running at /usr/local/lib/python3.11/site-packages/gmqtt/client.py:181> wait_for=<Future pending cb=[Task.task_wakeup()]>>
2023-09-28 12:57:24,137 - asyncio              - ERROR   - Task was destroyed but it is pending!
task: <Task pending name='Task-4' coro=<MQTTProtocol._read_loop() running at /usr/local/lib/python3.11/site-packages/gmqtt/mqtt/protocol.py:211> wait_for=<Future pending cb=[Task.task_wakeup()]>>
2023-09-28 12:57:24,138 - asyncio              - ERROR   - Task was destroyed but it is pending!
task: <Task pending name='Task-5' coro=<WebSocketCommonProtocol.close_connection() running at /usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py:1338> wait_for=<Future finished result=None>>

@Vincent67170 as-tu essayé en mettant l’ IP à la place homeassistant ? ou localhost ?
Perso tous les Tydoms que j’ai connecté avait l’ip et pas homeassistant …

Oui jai essayé en mettant l’ IP à la place de homeassistant (cf message precedent)

Quel Tydom_password utilises tu pour tes Tydoms ???

Person j’ai suivi cette procédure et je n’ai eu aucun souci pour récupérer le mot de passe : Connexion impossible · Issue #72 · mgcrea/homebridge-tydom · GitHub

Peux tu nous donner le tuto que tu as suivi ? La box 2023 est capricieuse :wink:

Le password du Tydom avec ancienne version, mais possible aussi avec le compte Delta Dore.

IP du HA pas bonne il fait mettre : 192.168.1.208

C’est bon j’ai finalement réussi. J’ai récupéré le mdp via l’application Proxyman, et après l’avoir renseigné dans la config tydom2mqtt et démarre l’add-on, mes volets sont remontés directement dans HA. Un bonheur !
Merci @Osyris pour ton lien et à Cyphox09 sur Github ainsi qu’à fmartinou pour son excellent travail !

1 « J'aime »

Désolé d’avoir raté ta question (j’étais en mer :slight_smile:
J’ai mis à jour le post sur CharlyProxy pour clarifier qu’il faut utiliser le tab WebSocket pour voir les échanges à l’intérieur du web socket.
Le principal est que tu ai pu t’en sortir.
Kenavo
Dominig

1 « J'aime »

Bonjour,
Je dispose egalement d’un box Deltadore Tydom 1.0 et apres avoir parcouru tous les sujets cela vraiment été la galere pour récupérer le password de la box.

Pour moi également le reset du mot de passe et installation de la version 3.x de l’application n’a rien donné.

Par chance et je sais pas trop comment j’ai fait mon compte j’ai réussi a recupérer le mot de passe sur la derniere version en passant par ce menu:

Cliquer sur Saisir un mot de passe

Voila si cela peut aider quelqu’un qui galere comme moi

1 « J'aime »

Bonjour perso je démarre sur ha je connais pas grand chose , et je souhaite intégrer ma box Tydom mais j ai rien compris, si quelqu un pouvais m indiquer la démarche merci