MQTT? Deltadore?

Pour sécuriser oui. Mais tu peux déjà monter un dhcp.

Problème résolu,

Visiblement, tydom2mqtt n’aime pas les mots de passes « complexes ».
Ca fonctionne et mes volets sont remontés dans les appareils.

Plus qu’à mettre en route les certificats SSL, et après ca devrait être bon.

Super. Regarde sur le forum, y a des flow node red pour les programmer qui son top

Hello à tous,

Je me permets de rebondir sur ce sujet pour mon souci,

Suite à une coupure de courant hier, mon tydom qui fonctionnait bien pour mes volets ne veut plus rien savoir,

Ça me dit ça dans les logs :

2022-07-07 10:07:00,075 - tydomConnector - INFO - """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
2022-07-07 10:07:00,076 - tydomConnector - INFO - TYDOM WEBSOCKET CONNECTION INITIALISING....                     
2022-07-07 10:07:00,077 - tydomConnector - INFO - Building headers, getting 1st handshake and authentication....
Traceback (most recent call last):
  File "/app/main.py", line 226, in <module>
    loop_task()
  File "/app/main.py", line 148, in loop_task
    loop.run_until_complete(listen_tydom_forever(tydom_client))
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/app/main.py", line 160, in listen_tydom_forever
    await tydom_client.connect()
  File "/app/tydomConnector.py", line 108, in connect
    conn.request(
  File "/usr/local/lib/python3.10/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.10/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.10/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.10/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.10/http/client.py", line 975, in send
    self.connect()
  File "/usr/local/lib/python3.10/http/client.py", line 1454, in connect
    self.sock = self._context.wrap_socket(self.sock,
  File "/usr/local/lib/python3.10/ssl.py", line 513, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/local/lib/python3.10/ssl.py", line 1071, in _create
    self.do_handshake()
  File "/usr/local/lib/python3.10/ssl.py", line 1342, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:997)

Est-ce que quelqu’un saurait ce que je dois faire ? :slight_smile:

Merci !

hi guys! im a new at this world and im having problems with my tydom 1.0, mqtt bróker its ok( i already have other things working on it but it is imposible to make tydom comunícate with mqtt.

«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »«  »
2022-09-18 11:16:59,500 - mqtt_client - INFO - Attempting MQTT connection…
2022-09-18 11:16:59,500 - mqtt_client - INFO - MQTT host : localhost
2022-09-18 11:16:59,501 - mqtt_client - INFO - MQTT user :
2022-09-18 11:16:59,508 - mqtt_client - INFO - MQTT connection Error : Multiple exceptions: [Errno 111] Connect call failed (‹ 127.0.0.1 ›, 1883), [Errno 99] Address not available
2022-09-18 11:16:59,508 - mqtt_client - INFO - MQTT error, restarting in 8s…
2022-09-18 11:17:07,518 - mqtt_client - INFO -
«  »

at logs that is what i can see, but at config everything its ok. it seems that it dowsnt read my config and its trying to connect with default settings. as i said before, at config, (user mqtthost…etc )its ok but tydom2mqtt doesnt read my settings. i think somthing is left on my instalation , perhaps somthing at configutation.yaml? can you help me please? thamk you all!

Bonjour à tous,

je continue sur ce fil, car je rencontre un peu les mêmes problèmes de configuration de HA / MQTT / Tydom. Le but est de faire communiquer des volets roulants delta dore avec HA par l’intermédiaire de la box tydom. (j’ai aussi les détecteur d’ouverture, mais ça je m’en fiche pour l’instant)

Je pense avoir fait (j’espère correctement) la config du broker mosquito (après avoir créé un utilisateur mqtt-user dans HA)
screenshot_621

Puis j’ai vérifié que l’intégration apparaissait bien. Je ne sais pas s’il faut y faire quelque chose dessus par contre…

Ensuite configuration de tydom2mqtt :
screenshot_618

Et là, j’ai le même message d’erreur que @brubakers_brubakers
Je ne sais pas ce qu’il se passe. J’ai aussi l’impression que la conf n’est pas mémorisée.

Je suis assez novice et commence à être un peu perdu…
Je veux bien un peu d’aide !

Bonjour à tous,

Je galère aussi je pense que mosquito est ok, mais mqtt2tydom plante et je ne comprend pas le message :
‹  ›’

STARTING TYDOM2MQTT
Dectecting environnement......
/data/options.json detected ! Hassio Addons Environnement : parsing options.json....
{'TYDOM_MAC': '001A25060598', 'TYDOM_IP': '192.168.1.4', 'TYDOM_PASSWORD': 'xxxx', 'TYDOM_ALARM_PIN': 123456, 'TYDOM_ALARM_HOME_ZONE': 1, 'TYDOM_ALARM_NIGHT_ZONE': 2, 'MQTT_HOST': 'localhost', 'MQTT_USER': 'tydom', 'MQTT_PASSWORD': 'tydom', 'MQTT_PORT': 1883, 'MQTT_SSL': False, 'log_level': 'info'}
Initialising TydomClient Class
Setting local mode context.
Starting main loop_task
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Attempting MQTT connection...
MQTT host :  localhost
MQTT user :  tydom
##################################
Subscribing to :  +/tydom/#
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
TYDOM WEBSOCKET CONNECTION INITIALISING....                     
Building headers, getting 1st handshake and authentication....
Traceback (most recent call last):
  File "/opt/tydom2mqtt/main.py", line 159, in <module>
    loop_task()
  File "/opt/tydom2mqtt/main.py", line 103, in loop_task
    loop.run_until_complete(listen_tydom_forever(tydom_client))
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/opt/tydom2mqtt/main.py", line 115, in listen_tydom_forever
    await tydom_client.connect()
  File "/opt/tydom2mqtt/tydomConnector.py", line 96, in connect
    conn.request("GET", "/mediation/client?mac={}&appli=1".format(self.mac), None, httpHeaders)
  File "/usr/lib/python3.8/http/client.py", line 1252, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1298, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1247, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1007, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 947, in send
    self.connect()
  File "/usr/lib/python3.8/http/client.py", line 1414, in connect
    super().connect()
  File "/usr/lib/python3.8/http/client.py", line 918, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.8/socket.py", line 808, in create_connection
    raise err
  File "/usr/lib/python3.8/socket.py", line 796, in create_connection
    sock.connect(sa)
OSError: [Errno 113] Host is unreachable
Starting /opt/tydom2mqtt/main.py

</>

Hello @Franck973 @Pantoufle
Avez-vous regardé par ici ?
[Tydom de deltadore - #43 par Alejandro]

A Partir de Mars 2022

1 « J'aime »

Merci @Dfender_System
J’ai donc ajouté un pin pour ce code d’alarme. Le journal de connexion a évolué, il y avait aussi un pb de mdp de l’application tydom que j’ai corrigé dans la config de tydom2mqtt.

Visiblement, ça m’a l’air OK pour l’instant !
Je récupère 11 appareils et 54 nouvelles entités !!! Va falloir comprendre qui est qui et qui sert à quoi !

2 « J'aime »