Delta Dore / Tydom Custom Component - Need help++

updated github for now : https://github.com/WiwiWillou/tydom2mqtt

Hi all,

I’m in the process of creating a custom component for delta dore devices, driven by the tydom gateway.

Some greats folks ([jjlf](https://community.jeedom.com/u/jjlf and Eli) from jeedom community (https://community.jeedom.com/t/plugin-deltadore-jeedore/5855) have already reversed the way to connect and get / set devices from Tydom, by a websocket preceded by an http handshake if i understand well (not possible by the websocket node in nodered because of that).

A python script : https://github.com/cth35/tydom_python
A node.js one : https://github.com/mgcrea/node-tydom-client

The python script can output json and parsed data from tydom, locally and remotly.

I’ve read a ton of custom components but i have a very hard time (learning python since 1 week) to create a component.

I don’t have a lot of time but i’m very determined to drive my alarm and covers (hardware is very high end, but software is crap and closed).

For now i can drive my covers with said python script from ssh, in the middle of a nodered flow that select an input_select for the alarm status and mqtt from and to the covers… sticks and glue, but it works.

So, if some one could help by just give me a existing custom component with a websocket logic or just by reading the output of a python script… That would be great.

Thanks in advance

I’m working on it, see here https://pastebin.com/xy9R2RGk and on the tydom_python github, i’ve opened an issue to ask for a PR (yeah i’m a paramedic, not a programmer, still processing things).

We are close to have a tydom2mqtt client :slight_smile:

Check here : Tydom2mqtt - Make Delta Dore devices home assistant compatible ! =}

Hi @WiwiWillou, thank you for your work ! I follow the post on Jeedom and I’m happy to see that you work on hass fork. I haven’t tydom for now but I will have it in 2020 with my house delivery.

I will deliver a new Custom Componet for Tydom / Delta Dore Climate next week.

1 Like

Wow thanks you !! I made a lot of improvements with tydom2mqtt, will publish very soon on GitHub, but it has still flaws…
I’m really eager to see your work !
So happy !!

Do you have a GitHub ? I’m curious about how to custom component it :wink:

I will publish next week in github and I’ll share the link on this post.

Right now, the component is limited to:

  • Read thermostat temperature.
  • Set Temperature
  • On / Off
  • Preset : Away / Boost Mode / Eco Mode / Standard Mode

I will let u know as soon as I publish it

1 Like

Published all my work here, if it can help, i can test for covers and alarm here :

@WiwiWillou look like a great job, thanks for this work. I tried to make it work but as a noob i keep failing. M’y home assistant is installed on a raspberry pi 3 as recommanded on thé getting started page ans i dont know how to do your prep or ton launch tour script properly. Need help !!

You need to download every .py on a server (I use Debian on a pi and hassio on docker, so script is working on Debian base).

But it’s still a WIP, for the moment I use a sh script to python3 main.py & from ssh…

Check that function to see parsing structure for alarm and covers in tydom data.

Install raspbian, install docker, do hassio docker install, install and set MQTT addon, put all files from github in your home directory for example, then sh tydom_restarter.sh, set a cron task to launch script at startup, and forget :stuck_out_tongue:

Just announcing the git repository for Delta Dore Climate.

Current Features:

  • Read thermostat temperature.
  • Set Temperature
  • On / Off
  • Preset : Away / Boost Mode / Eco Mode / Standard Mode
1 Like

Thanks that’s great !

If you change things with tydom app, you got an update instantly in home assistant ?

I don’t understand how the connection is maintained after a quick reading, but I haven’t got the part with components in Hass for now :wink:

Based on your code that get all data type, I guess we just need to integrate classes for cover and alarm here ? (alarm is read-only)

Yes. That will occur. At least I hope :wink:

Need to drill down and understand better, but asume that is something like that.

Nice !! Can’t wait to have covers integrated. I only have covers set up in my tydom.