tydom2MQTT addon :D - Delta Dore Tydom to MQTT Broker

New release add climate managment thx to gus8313 ! Test time guys !

1 Like

trying with my thermostats seem not working

Tydom Client is connected to websocket and ready !
Requesting 1st data...
>>>>>>>>>> Sending to tydom client..... GET /info
##################################
##################################
>>>>>>>>>> Sending to tydom client..... POST /refresh/all
>>>>>>>>>> Sending to tydom client..... GET /configs/file
>>>>>>>>>> Sending to tydom client..... GET /devices/data
<<<<<<<<<< Receiving from tydom_client...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Incoming message type : Info detected
Incoming data parsed successfully !
<<<<<<<<<< Receiving from tydom_client...
<<<<<<<<<< Receiving from tydom_client...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Incoming message type : data detected
Cannot parse response !
Error :  string indices must be integers
{'version': '1.0.1', 'moments': [], 'id_catalog': 'F2BD90F93B888DA02C54980F11AE4796DFCC98F447CD3FE326F5A3A964C939BF', 'areas': [], 'endpoints': [{'last_usage': 'window', 'id_device': 1589883539, 'anticipation_start': False, 'id_endpoint': 1589883539, 'name': 'Bureau droite', 'first_usage': 'window', 'picto': 'picto_window'}, {'first_usage': 'window', 'picto': 'picto_window', 'last_usage': 'windowFrench', 'anticipation_start': False, 'name': 'Bureau gauche', 'id_device': 1589883713, 'id_endpoint': 1589883713}, {'id_endpoint': 1589883816, 'picto': 'picto_window', 'anticipation_start': False, 'last_usage': 'windowFrench', 'id_device': 1589883816, 'name': 'Salle de bain', 'first_usage': 'window'}, {'last_usage': 'window', 'first_usage': 'window', 'anticipation_start': False, 'id_endpoint': 1589883930, 'id_device': 1589883930, 'picto': 'picto_window', 'name': 'Chambre Constance'}, {'picto': 'picto_window', 'anticipation_start': False, 'last_usage': 'windowFrench', 'id_endpoint': 1590827319, 'name': 'Détecteur 2', 'first_usage': 'window', 'id_device': 1590827319}, {'last_usage': 'windowFrench', 'id_endpoint': 1589884607, 'picto': 'picto_window', 'first_usage': 'window', 'anticipation_start': False, 'name': 'WC', 'id_device': 1589884607}, {'first_usage': 'window', 'anticipation_start': False, 'id_endpoint': 1589884784, 'picto': 'picto_window', 'name': 'Cuisine', 'id_device': 1589884784, 'last_usage': 'windowFrench'}, {'first_usage': 'window', 'last_usage': 'window', 'id_endpoint': 1590779132, 'picto': 'picto_window_lock', 'name': 'Détecteur 1', 'id_device': 1590779132, 'anticipation_start': False}, {'last_usage': 'window', 'name': 'Salon gauche', 'picto': 'picto_window', 'id_device': 1589885658, 'first_usage': 'window', 'id_endpoint': 1589885658, 'anticipation_start': False}, {'picto': 'picto_window', 'anticipation_start': False, 'id_endpoint': 1589885757, 'last_usage': 'window', 'id_device': 1589885757, 'name': 'Salon droit', 'first_usage': 'window'}, {'last_usage': 'window', 'first_usage': 'window', 'id_device': 1589885896, 'name': 'Baie nord', 'anticipation_start': False, 'picto': 'picto_window', 'id_endpoint': 1589885896}, {'picto': 'picto_window', 'id_endpoint': 1589886026, 'first_usage': 'window', 'id_device': 1589886026, 'anticipation_start': False, 'last_usage': 'window', 'name': 'Baie est gauche'}, {'picto': 'picto_window', 'first_usage': 'window', 'id_device': 1589886161, 'id_endpoint': 1589886161, 'anticipation_start': False, 'last_usage': 'window', 'name': 'Baie est droite'}, {'id_endpoint': 1604820544, 'id_device': 1604820544, 'picto': 'picto_belmdoor', 'name': 'Porte Chambre Parent', 'anticipation_start': False, 'first_usage': 'belmDoor', 'last_usage': 'belmDoor'}, {'first_usage': 'hvac', 'id_endpoint': 1605799383, 'id_device': 1605799383, 'name': 'Chauffage RDC', 'picto': 'picto_thermometer', 'last_usage': 'boiler', 'anticipation_start': False}, {'anticipation_start': False, 'id_device': 1605799482, 'last_usage': 'boiler', 'picto': 'picto_thermometer', 'name': 'Chauffage Etage', 'first_usage': 'hvac', 'id_endpoint': 1605799482}, {'picto': 'picto_thermometer', 'name': 'Chauffage Ch Amis', 'first_usage': 'hvac', 'anticipation_start': False, 'id_endpoint': 1605799540, 'id_device': 1605799540, 'last_usage': 'boiler'}], 'groups': [{'usage': 'window', 'group_all': False, 'id': 1293446020, 'picto': 'picto_window', 'name': 'Baie Est Droite'}, {'usage': 'window', 'picto': 'picto_window', 'id': 910283753, 'name': 'Baie Est Gauche', 'group_all': False}, {'picto': 'picto_window', 'id': 575301829, 'group_all': False, 'name': 'Baie Nord', 'usage': 'window'}, {'name': 'TOTAL', 'usage': 'light', 'group_all': True, 'id': 1668318474, 'picto': 'picto_lamp'}, {'id': 258981127, 'picto': 'picto_shutter', 'group_all': True, 'usage': 'shutter', 'name': 'TOTAL'}, {'id': 1865462383, 'usage': 'awning', 'name': 'TOTAL', 'group_all': True, 'picto': 'picto_awning_awning'}, {'id': 716588285, 'usage': 'window', 'picto': 'picto_window', 'name': 'Bureau Droite', 'group_all': False}, {'usage': 'window', 'name': 'Bureau Gauche', 'group_all': False, 'widget_behavior': {'inversionState': 'disabled'}, 'picto': 'picto_window', 'id': 1980812653}, {'group_all': False, 'picto': 'picto_window', 'name': 'Salle de bain', 'id': 455540512, 'usage': 'window'}, {'usage': 'window', 'id': 1982748604, 'picto': 'picto_window', 'group_all': False, 'name': 'Chambre Constance'}, {'picto': 'picto_window', 'usage': 'window', 'name': 'WC', 'group_all': False, 'widget_behavior': {'inversionState': 'disabled'}, 'id': 1165069053}, {'id': 570421109, 'picto': 'picto_window', 'usage': 'window', 'name': 'Cuisine', 'group_all': False}, {'id': 1020521302, 'name': 'Salon droit', 'picto': 'picto_window', 'group_all': False, 'usage': 'window'}, {'group_all': False, 'id': 1245751637, 'name': 'Salon gauche', 'picto': 'picto_window', 'usage': 'window'}], 'scenarios': [], 'old_tycam': False, 'os': 'ios', 'date': 1605799586, 'version_application': '3.10.1 (345)'}
Incoming data parsed successfully !
<<<<<<<<<< Receiving from tydom_client...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Incoming message type : data detected
msg_data error in parsing !
1605799383
msg_data error in parsing !
1605799482
msg_data error in parsing !
1605799540
Incoming data parsed successfully !
<<<<<<<<<< Receiving from tydom_client...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Incoming message type : data detected
msg_data error in parsing !
1589883539
msg_data error in parsing !
1589883713
msg_data error in parsing !
1589883816
msg_data error in parsing !
1589883930
msg_data error in parsing !
1589884607
msg_data error in parsing !
1589884784
msg_data error in parsing !
1589885658
msg_data error in parsing !
1589885757
msg_data error in parsing !
1589885896
msg_data error in parsing !
1589886026
msg_data error in parsing !
1589886161
msg_data error in parsing !
1590779132
msg_data error in parsing !
1590827319
msg_data error in parsing !
1604820544
msg_data error in parsing !
1605799383
msg_data error in parsing !
1605799482
msg_data error in parsing !
1605799540
Incoming data parsed successfully !
<<<<<<<<<< Receiving from tydom_client...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Incoming message type : data detected
msg_data error in parsing !
1605799383
msg_data error in parsing !

I also try running Tydom2mqtt and I’m new to HA…

In the log for Tydom2mqtt, I have an error about parsing at line 1 :

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: Tydom2MQTT - Beta
 Link between a Delta Dore's Tydom 1.0 Hub and and a MQTT broker, unofficial of course, hassio addon version
-----------------------------------------------------------
 Add-on version: release_0.96a
 You are running the latest version of this add-on.
parse error: Expected string key before ':' at line 1, column 4
[21:22:12] ERROR: Unknown HTTP error occured
 System:   (amd64 / intel-nuc)
 Home Assistant Core: 0.118.0
 Home Assistant Supervisor: 2020.11.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting /opt/tydom2mqtt/main.py

But In the mosquitto broker I have :

1605820934: New client connected from 172.30.32.1 as 70812686-tydom2mqtt-hassio2020-11-19 21:22:14.555287 (p5, c1, k60, u'mqtt-utilisateur').

So I suppose that the mqtt is working in someway ? But I don’t know what to do next…

Thanks for your help.

Hello,

I have roller shutters controlled by Tydom 1.0 and I would like to connect it to my Hassio box, I have installed the plugin by HACS and I have injected the connection command line to my config file (mac. ip and password ). I tried with mqtt to explore to have the info feedback but I have nothing and the same thing with the mqtt of my hassio. Do you have a solution ?

hi @WiwiWillou,

Can you update your repository seem this file has not been updated

Always pointing to the 0.93 version can you update with the latest 0.96a

Thanks

1 Like

Thanks @fransiouz for the last release with the climate.

Now i can manage my Doors/Windows Sensor (DVI) and Climate DeltaDore with success !!!

2 Likes

Hello,
I’ve this message in the Tydom log

Incoming data parsed successfully !
<<<<<<<<<< Receiving from tydom_client...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Incoming message type : data detected
msg_data error in parsing !
1572979358

all my covers are working, but can’t find my door opening sensor in my entities.
Can it be it ?

How do you install it on Home assistant

someone can put a screenshot of how it is represented in HA ?

By the way, I’ve got the same error as Cadaver

> Incoming data parsed successfully !
> >>>>>>>>>> Sending to tydom client..... POST /refresh/all
> <<<<<<<<<< Receiving from tydom_client...
> <<<<<<<<<< Receiving from tydom_client...
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Incoming message type : data detected
> msg_data error in parsing !

what did you put as config because I have nothing which goes back to Mqtt. mac full address or the first 6?

I installed with the repo in supervisor addon store, and I’ve put the full adress MAC of my tybox.

As I said on my previous post, the repo of @WiwiWillou is not pointing to the latest version available.

If you want to try with the latest version, add my repo and test:

Ok but when I look in your repo, I see version release_0.96b as the wiwiwillou repo. Is it any difference betwen this 2 versions ?

Yes, when you install from the wiwiwillou repo it’s download and install this version 0.93.

Yes but system ask me for an update and now I’m in 0.96b

it’s only a label but the version installed is 0.93, try the same version on my repo, you will see the difference

Now I’ve this error : image

Edit : After a while it start !

you’re right, I see now more sensor with your version and didn’t have the error message anymore. tks a lot. Anyway I don’t see my door sensor appear.

which type of door sensor do you have?
i have one door sensor (dvi) and 13 windows sensor (dvi) working fine

I’ve a MDO Tyxal+ for a interior door.