Tydom2mqtt - erreur logs docker

Bonjour à tous,
Je sais que le sujet a été abordé dans de nombreux sujets et j’ai passé des heures à les lire et faire des tests, mais sans succès.
J’ai une box Luna, sur laquelle est installée Mqqt Manager.

Santé de la box :

Configuration mosquitto :

Il semble être fonctionnel puisque mes équipements en zigbee remontent bien.
J’ai installé Docker management pour y créer un docker tydom2mqtt.
Voici la configuration du docker :

Et les logs du docker :

2025-02-19T15:46:45.950975619Z 2025-02-19 15:46:45,949 - Starting tydom2mqtt
2025-02-19T15:46:47.307303826Z 2025-02-19 15:46:47,306 - Validating configuration ({
2025-02-19T15:46:47.307430122Z     "deltadore_login": "m*****@***.com",
2025-02-19T15:46:47.307467164Z     "deltadore_password": "n**************m",
2025-02-19T15:46:47.307499249Z     "log_level": "INFO",
2025-02-19T15:46:47.307528416Z     "mqtt_host": "192.168.1.51",
2025-02-19T15:46:47.307557875Z     "mqtt_password": "3**************************************************************e",
2025-02-19T15:46:47.307588501Z     "mqtt_port": 1883,
2025-02-19T15:46:47.307617669Z     "mqtt_ssl": false,
2025-02-19T15:46:47.307646253Z     "mqtt_user": "jeedom",
2025-02-19T15:46:47.307675420Z     "thermostat_cool_mode_temp_default": 26,
2025-02-19T15:46:47.307705171Z     "thermostat_custom_presets": null,
2025-02-19T15:46:47.307733755Z     "thermostat_heat_mode_temp_default": 16,
2025-02-19T15:46:47.307762631Z     "tydom_alarm_home_zone": 1,
2025-02-19T15:46:47.307791507Z     "tydom_alarm_night_zone": 2,
2025-02-19T15:46:47.307819508Z     "tydom_alarm_pin": "",
2025-02-19T15:46:47.307848384Z     "tydom_ip": "192.168.1.53",
2025-02-19T15:46:47.307877260Z     "tydom_mac": "001A25052E4A",
2025-02-19T15:46:47.307906135Z     "tydom_password": "W*************2",
2025-02-19T15:46:47.307935303Z     "tydom_polling_interval": 300
2025-02-19T15:46:47.307964762Z }
2025-02-19T15:46:47.309141088Z 2025-02-19 15:46:47,308 - The configuration is valid
2025-02-19T15:46:47.311288108Z 2025-02-19 15:46:47,310 - tydom.TydomClient    - INFO    - Configure local mode (192.168.1.53)
2025-02-19T15:46:47.322654977Z 2025-02-19 15:46:47,321 - mqtt.MqttClient      - INFO    - Connecting to mqtt broker (host=192.168.1.51, port=1883, user=jeedom, ssl=False)
2025-02-19T15:46:47.326084201Z 2025-02-19 15:46:47,325 - tydom.TydomClient    - INFO    - Connecting to tydom
2025-02-19T15:46:53.620712481Z 2025-02-19 15:46:53,603 - asyncio              - ERROR   - Task exception was never retrieved
2025-02-19T15:46:53.620824484Z future:  exception=RemoteDisconnected('Remote end closed connection without response')>
2025-02-19T15:46:53.620861235Z Traceback (most recent call last):
2025-02-19T15:46:53.620885736Z   File "/app/main.py", line 44, in listen_tydom
2025-02-19T15:46:53.620910528Z     await tydom_client.connect()
2025-02-19T15:46:53.620933571Z   File "/app/tydom/TydomClient.py", line 157, in connect
2025-02-19T15:46:53.620957488Z     res = conn.getresponse()
2025-02-19T15:46:53.620980531Z           ^^^^^^^^^^^^^^^^^^
2025-02-19T15:46:53.621003281Z   File "/usr/local/lib/python3.11/http/client.py", line 1386, in getresponse
2025-02-19T15:46:53.621071825Z     response.begin()
2025-02-19T15:46:53.621097784Z   File "/usr/local/lib/python3.11/http/client.py", line 325, in begin
2025-02-19T15:46:53.621121701Z     version, status, reason = self._read_status()
2025-02-19T15:46:53.621145327Z                               ^^^^^^^^^^^^^^^^^^^
2025-02-19T15:46:53.621168369Z   File "/usr/local/lib/python3.11/http/client.py", line 294, in _read_status
2025-02-19T15:46:53.621192287Z     raise RemoteDisconnected("Remote end closed connection without"
2025-02-19T15:46:53.621215912Z http.client.RemoteDisconnected: Remote end closed connection without response
2025-02-19T15:46:53.629367647Z 2025-02-19 15:46:53,628 - mqtt.MqttClient      - INFO    - Connected to mqtt broker
2025-02-19T15:51:53.655172779Z 2025-02-19 15:51:53,653 - tydom.TydomClient    - WARNING - Cannot send message to Tydom because no connection has been established yet
2025-02-19T15:56:53.671564762Z 2025-02-19 15:56:53,668 - tydom.TydomClient    - WARNING - Cannot send message to Tydom because no connection has been established yet

Je ne comprends vraiment pas ce qui bloque… J’ai vérifié à maintes reprises les identifiants, mots de passe. J’ai tout supprimé, redémarré la box, recommencé l’installation, je n’y arrive pas.

J’ai également installé mqqt Discovery mais rien ne remonte bien évidemment.

J’espère que vous pourrez m’aider car je n’en peux plus de Jeedore…

Bonne fin de journée.

Bonjour,

Dans Mqqt discovery as tu quelque chose dans « autres topics découverts mais non-souscrits » ?

As tu essayé avec mqtt explorer de voir si tu as des infos qui remontent?

Je n’ai absolument rien qui remonte dans mqqt Discovery, ni dans « autres topics découverts mais non-souscrits ».

J’ai effectivement essayé avec mqqt explorer, voici ce que j’ai :

Je ne vois rien concernant tydom qui remonte dans mqqt explorer mais je trouve bien le broker.

Salut,

Effectivement ca crash lors du connect à tydom.
N’ayant pas ce matos difficile d’aider mais ca doit être lié à l’ip tydom ou le user ou le mot de passe
je lis que tout a été vérifié plusieurs fois; peut-être mettre un mot de passe « plus simple » (je vois qu’il y a des @ par exemple), juste lettres et chiffres? j’ignore si cela peut avoir un impact.

Vérifier que la partie mqttpassword est correcte.

Antoine
PS: mqtt et non mqqt

Merci pour la réponse. C’est bien ce que je craignais, ça vient de la connexion Delta Dore, je vais poursuivre mes recherches en ce sens alors.

J’ai copié le mot de passe de mqqt manager mais je vais revérifié, merci.

Juste des pistes comme cela.

  • chez moi, dans ma config, je n’ai pas les lignes DELTADORE_LOGIN et DELTADORE_PASSWORD. Peux-tu essayer sans ?
  • Peux-tu essayer de remplacer les « = » par « : » ?
  • Je n’ai pas non plus les tirets « - »
version: '3'
services:
  tydom2mqtt:
    image: ghcr.io/tydom2mqtt/tydom2mqtt:3.6.0
    container_name: tydom2mqtt
    restart: unless-stopped
    environment:
      TYDOM_MAC: 00XXXXXXXB7
      TYDOM_PASSWORD: XXXXXXXXX
      TYDOM_IP: 192.168.1.XXX
      MQTT_HOST: 192.168.1.YYY
      MQTT_USER: XXXXXX
      MQTT_PASSWORD: rbfUQVZpA7XXXXXXXXXXXXXXXXXXXXXYepDRQA0pHpYFHZd3S2DNv3WIeTR

J’ai revérifié et ça ne change rien.

Je viens de tenter mais ça ne change rien, j’obtient les mêmes logs du conteneur.

Est-ce que tu as un caractère spécial dans ton mot de passe de MQTT ? Moi je me souviens avoir eu un problème avec cela, j’ai dû le modifier sans caractère spécial.

Non, juste minuscules, majuscules et chiffres.

Peut-être faut-il que j’essaie de changer le mdp de la Tydom pour supprimer les caractères spéciaux ? Ça va être pénible à faire…

Mqtt est ok, c’est indiqué dans le log qu’il est connecté
L’erreur est après sur la connexion tydom

Moi je n’ai pas de caractère spécial sur le mot de passe de Tydom, et je ne sais pas si cela solutionnera ton problème :slight_smile:

Je viens de changer le mot de passe de la box pour supprimer les caractères spéciaux (minuscules, majuscules et chiffres) mais ça ne résout rien :

2025-02-19T18:05:42.450130436Z 2025-02-19 18:05:42,449 - Starting tydom2mqtt
2025-02-19T18:05:42.452119369Z 2025-02-19 18:05:42,451 - Validating configuration ({
2025-02-19T18:05:42.452229330Z     "deltadore_login": null,
2025-02-19T18:05:42.452384501Z     "deltadore_password": "",
2025-02-19T18:05:42.452416294Z     "log_level": "INFO",
2025-02-19T18:05:42.452436711Z     "mqtt_host": "192.168.1.51",
2025-02-19T18:05:42.452456253Z     "mqtt_password": "3**************************************************************e",
2025-02-19T18:05:42.452475796Z     "mqtt_port": 1883,
2025-02-19T18:05:42.452494171Z     "mqtt_ssl": false,
2025-02-19T18:05:42.452511963Z     "mqtt_user": "jeedom",
2025-02-19T18:05:42.452531797Z     "thermostat_cool_mode_temp_default": 26,
2025-02-19T18:05:42.452552798Z     "thermostat_custom_presets": null,
2025-02-19T18:05:42.452572632Z     "thermostat_heat_mode_temp_default": 16,
2025-02-19T18:05:42.452591591Z     "tydom_alarm_home_zone": 1,
2025-02-19T18:05:42.452612008Z     "tydom_alarm_night_zone": 2,
2025-02-19T18:05:42.452631550Z     "tydom_alarm_pin": "",
2025-02-19T18:05:42.452650801Z     "tydom_ip": "192.168.1.53",
2025-02-19T18:05:42.452669760Z     "tydom_mac": "001A25052E4A",
2025-02-19T18:05:42.452689594Z     "tydom_password": "m**************t",
2025-02-19T18:05:42.452709136Z     "tydom_polling_interval": 300
2025-02-19T18:05:42.452729261Z }
2025-02-19T18:05:42.452760762Z 2025-02-19 18:05:42,452 - The configuration is valid
2025-02-19T18:05:42.454068633Z 2025-02-19 18:05:42,453 - tydom.TydomClient    - INFO    - Configure local mode (192.168.1.53)
2025-02-19T18:05:42.461576350Z 2025-02-19 18:05:42,460 - mqtt.MqttClient      - INFO    - Connecting to mqtt broker (host=192.168.1.51, port=1883, user=jeedom, ssl=False)
2025-02-19T18:05:42.464615897Z 2025-02-19 18:05:42,463 - tydom.TydomClient    - INFO    - Connecting to tydom
2025-02-19T18:05:42.483966498Z 2025-02-19 18:05:42,471 - asyncio              - ERROR   - Task exception was never retrieved
2025-02-19T18:05:42.484074126Z future:  exception=SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)')>
2025-02-19T18:05:42.484139169Z Traceback (most recent call last):
2025-02-19T18:05:42.484162212Z   File "/app/main.py", line 44, in listen_tydom
2025-02-19T18:05:42.484182046Z     await tydom_client.connect()
2025-02-19T18:05:42.484201296Z   File "/app/tydom/TydomClient.py", line 151, in connect
2025-02-19T18:05:42.484220255Z     conn.request(
2025-02-19T18:05:42.484327008Z   File "/usr/local/lib/python3.11/http/client.py", line 1294, in request
2025-02-19T18:05:42.484384760Z     self._send_request(method, url, body, headers, encode_chunked)
2025-02-19T18:05:42.484460304Z   File "/usr/local/lib/python3.11/http/client.py", line 1340, in _send_request
2025-02-19T18:05:42.484490055Z     self.endheaders(body, encode_chunked=encode_chunked)
2025-02-19T18:05:42.484509597Z   File "/usr/local/lib/python3.11/http/client.py", line 1289, in endheaders
2025-02-19T18:05:42.484528556Z     self._send_output(message_body, encode_chunked=encode_chunked)
2025-02-19T18:05:42.484548681Z   File "/usr/local/lib/python3.11/http/client.py", line 1048, in _send_output
2025-02-19T18:05:42.484567640Z     self.send(msg)
2025-02-19T18:05:42.484586016Z   File "/usr/local/lib/python3.11/http/client.py", line 986, in send
2025-02-19T18:05:42.484604975Z     self.connect()
2025-02-19T18:05:42.484622767Z   File "/usr/local/lib/python3.11/http/client.py", line 1466, in connect
2025-02-19T18:05:42.484641434Z     self.sock = self._context.wrap_socket(self.sock,
2025-02-19T18:05:42.484659809Z                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-19T18:05:42.484677893Z   File "/usr/local/lib/python3.11/ssl.py", line 517, in wrap_socket
2025-02-19T18:05:42.484697144Z     return self.sslsocket_class._create(
2025-02-19T18:05:42.484714936Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-19T18:05:42.484733020Z   File "/usr/local/lib/python3.11/ssl.py", line 1108, in _create
2025-02-19T18:05:42.484752562Z     self.do_handshake()
2025-02-19T18:05:42.484770938Z   File "/usr/local/lib/python3.11/ssl.py", line 1383, in do_handshake
2025-02-19T18:05:42.484789313Z     self._sslobj.do_handshake()
2025-02-19T18:05:42.484807397Z ssl.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)
2025-02-19T18:05:42.490990617Z 2025-02-19 18:05:42,490 - mqtt.MqttClient      - INFO    - Connected to mqtt broker
2025-02-19T18:10:42.496707294Z 2025-02-19 18:10:42,494 - tydom.TydomClient    - WARNING - Cannot send message to Tydom because no connection has been established yet

Ca ne se connecte pas mais l’erreur est différente!

Maintenant c’est une erreur sur le handshake ssl

Y aurait-il des versions différentes de tydom/deltadoor?
Ou alors trop de tentatives et essais bloqués?

J’ai supprimé le docker, redémarrer la box et réinstallé tydom2mqtt. Je retombe sur :

2025-02-19T18:41:39.991188152Z 2025-02-19 18:41:39,990 - Starting tydom2mqtt
2025-02-19T18:41:39.993918230Z 2025-02-19 18:41:39,992 - Validating configuration ({
2025-02-19T18:41:39.994042192Z     "deltadore_login": null,
2025-02-19T18:41:39.994076901Z     "deltadore_password": "",
2025-02-19T18:41:39.994099360Z     "log_level": "INFO",
2025-02-19T18:41:39.994118902Z     "mqtt_host": "192.168.1.51",
2025-02-19T18:41:39.994138444Z     "mqtt_password": "3**************************************************************e",
2025-02-19T18:41:39.994157987Z     "mqtt_port": 1883,
2025-02-19T18:41:39.994176654Z     "mqtt_ssl": false,
2025-02-19T18:41:39.994194738Z     "mqtt_user": "jeedom",
2025-02-19T18:41:39.994212821Z     "thermostat_cool_mode_temp_default": 26,
2025-02-19T18:41:39.994231489Z     "thermostat_custom_presets": null,
2025-02-19T18:41:39.994302074Z     "thermostat_heat_mode_temp_default": 16,
2025-02-19T18:41:39.994330075Z     "tydom_alarm_home_zone": 1,
2025-02-19T18:41:39.994351367Z     "tydom_alarm_night_zone": 2,
2025-02-19T18:41:39.994369743Z     "tydom_alarm_pin": "",
2025-02-19T18:41:39.994388118Z     "tydom_ip": "192.168.1.53",
2025-02-19T18:41:39.994406494Z     "tydom_mac": "001A25052E4A",
2025-02-19T18:41:39.994425453Z     "tydom_password": "m**************t",
2025-02-19T18:41:39.994443828Z     "tydom_polling_interval": 300
2025-02-19T18:41:39.994462495Z }
2025-02-19T18:41:39.994480287Z 2025-02-19 18:41:39,993 - The configuration is valid
2025-02-19T18:41:39.995233976Z 2025-02-19 18:41:39,994 - tydom.TydomClient    - INFO    - Configure local mode (192.168.1.53)
2025-02-19T18:41:40.003207203Z 2025-02-19 18:41:40,002 - mqtt.MqttClient      - INFO    - Connecting to mqtt broker (host=192.168.1.51, port=1883, user=jeedom, ssl=False)
2025-02-19T18:41:40.006419711Z 2025-02-19 18:41:40,005 - tydom.TydomClient    - INFO    - Connecting to tydom
2025-02-19T18:41:46.263367659Z 2025-02-19 18:41:46,246 - asyncio              - ERROR   - Task exception was never retrieved
2025-02-19T18:41:46.263515830Z future:  exception=RemoteDisconnected('Remote end closed connection without response')>
2025-02-19T18:41:46.263578248Z Traceback (most recent call last):
2025-02-19T18:41:46.263620541Z   File "/app/main.py", line 44, in listen_tydom
2025-02-19T18:41:46.263661084Z     await tydom_client.connect()
2025-02-19T18:41:46.263700460Z   File "/app/tydom/TydomClient.py", line 157, in connect
2025-02-19T18:41:46.263739545Z     res = conn.getresponse()
2025-02-19T18:41:46.263779504Z           ^^^^^^^^^^^^^^^^^^
2025-02-19T18:41:46.263818005Z   File "/usr/local/lib/python3.11/http/client.py", line 1386, in getresponse
2025-02-19T18:41:46.263921258Z     response.begin()
2025-02-19T18:41:46.263965009Z   File "/usr/local/lib/python3.11/http/client.py", line 325, in begin
2025-02-19T18:41:46.264005552Z     version, status, reason = self._read_status()
2025-02-19T18:41:46.264044637Z                               ^^^^^^^^^^^^^^^^^^^
2025-02-19T18:41:46.264083721Z   File "/usr/local/lib/python3.11/http/client.py", line 294, in _read_status
2025-02-19T18:41:46.264123972Z     raise RemoteDisconnected("Remote end closed connection without"
2025-02-19T18:41:46.264165390Z http.client.RemoteDisconnected: Remote end closed connection without response
2025-02-19T18:41:46.275622092Z 2025-02-19 18:41:46,274 - mqtt.MqttClient      - INFO    - Connected to mqtt broker
2025-02-19T18:46:46.295198163Z 2025-02-19 18:46:46,293 - tydom.TydomClient    - WARNING - Cannot send message to Tydom because no connection has been established yet

Je suppose que précédemment il y a eu trop de tentatives.

Eteinds et relance ta tydom:

Antoine

Tu as quelle version de la box tydom ? Moi j’ai la 1.0

J’ai aussi la Tydom I.O