fmartinou / tydom2mqtt

Deltadore Tydom to MQTT Bridge
https://fmartinou.github.io/tydom2mqtt/
MIT License
86 stars 49 forks source link

Novomatic garage door with x3d card : (Module TYDOM 1.0 - NFF13694) not working #106

Open fastm3 opened 1 year ago

fastm3 commented 1 year ago

I have 2 garage doors. Motor is from novoferm. ( novomatic ) and there is an embedded x3d card : (Module TYDOM 1.0 - NFF13694). It is detected as a switch but open/close state is not received and it cannot be opened/closed. Here is the discovery info with the latest installed version 3.1.2

Topic: homeassistant/switch/tydom/1662041571_1662041571/config Payload name: Garage RDC unique_id: '1662041571_1662041571' command_topic: switch/tydom/1662041571_1662041571/set_levelCmdGate state_topic: switch/tydom/1662041571_1662041571/state json_attributes_topic: switch/tydom/1662041571_1662041571/attributes payload_on: TOGGLE payload_off: TOGGLE retain: 'false' device: manufacturer: Delta Dore model: Porte name: Garage RDC identifiers: '1662041571_1662041571' platform: mqtt

If I replace payload_on: TOGGLE and payload_off: TOGGLE with payload_on: ON and payload_off: OFF , I can open/close it. Moreover, the payload OFF stops the opening , so a partial opening like in the tydom app should be possible. Opening/closing state is not updated or received. I haven't the knowledge to find why.

LEPIT32600 commented 11 months ago

Bonjour merci pour le développement de Tydom sur Home assistant J'ai un petit souci pour contrôler ma porte de garage la commande qui est envoyer TOGGLE ne fonctionne pas et après avoir regarder dans MQTT les donnée qui remontait j'ai ON et OFF J'ai envoyer les donner directement avec MQTT et ca fonctionne par contre je ne sais pas comment je pourrais vous aider afin de modifier cela merci

LEPIT32600 commented 7 months ago

voici les modification que j'ai faite en script service: mqtt.publish data: topic: switch/tydom/xxxx592012_xxxx592012/set_levelCmdGate payload: "ON" service: mqtt.publish data: topic: switch/tydom/xxxx592012_xxxx592012/set_levelCmdGate payload: "OFF"

fastm3 commented 6 months ago

Yep, there are several ways to do it. I've fixed my docker image directly in the source code for that part but as long as the garage door is detected as a switch only, it won't fully work. I have not the knowledge to change that , so I've add a zigbee sensor to get the state. ( open/close ) keeping tydom2mqtt ( with the change ON/OFF instead of TOGGLE ) just to open/close the garage door.

BlacKTM1190 commented 6 months ago

Hello

so I've add a zigbee sensor to get the state.

I think it's the best way to make it reliable because, even on the Tydom app, the state is hazardous. Shame for a card at this price vs a device on dry contact... By the way, it'll be interesting to get state from tydom2mqtt to spy out total or partial (ventilation) opening. It's always in my plan to take a look at this device but I need to find time...