fmartinou / tydom2mqtt

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

Garage door with Hôrmann #223

Open LGO44 opened 1 week ago

LGO44 commented 1 week ago

Hi I have added a garage door interface for Hörmann and I get an error in the tydommqtt

it's impossible to switch the garage door....

image

my logs:

2024-11-15 21:24:33,477 - Starting tydom2mqtt 2024-11-15 21:24:33,478 - Hassio environment detected: loading configuration from /data/options.json 2024-11-15 21:24:33,479 - Validating configuration ({ "deltadore_login": null, "deltadore_password": "", "log_level": "DEBUG", "mqtt_host": "1 "mqtt_password": "e**3", "mqtt_port": 1883, "mqtt_ssl": false, "mqtt_user": "xxxxxxxxxxxx", "thermostat_cool_mode_temp_default": 26, "thermostat_custom_presets": null, "thermostat_heat_mode_temp_default": 16, "tydom_alarm_home_zone": 1, "tydom_alarm_night_zone": 2, "tydom_alarm_pin": "1**6", "tydom_ip": "1xxxxxx", "tydom_mac": "xxxxxxxxxxx"", "tydom_password": "#*****1", "tydom_polling_interval": 300 } 2024-11-15 21:24:33,479 - The configuration is valid 2024-11-15 21:24:33,480 - tydom.TydomClient - DEBUG - Initializing TydomClient Class 2024-11-15 21:24:33,480 - tydom.TydomClient - INFO - Configure local mode (1xxx) 2024-11-15 21:24:33,482 - asyncio - DEBUG - Using selector: EpollSelector

2024-11-15 21:24:38,903 - tydom.MessageHandler - INFO - Device update (id=1731665702, endpoint=1731665702, name=Garage 1, type=garage_door) 2024-11-15 21:24:38,903 - sensors.Switch - ERROR - 'level' 2024-11-15 21:24:38,903 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'homeassistant/switch/tydom/1731665702_1731665702/config'', ... (445 bytes) 2024-11-15 21:24:38,904 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'homeassistant/binary_sensor/tydom/thermicdefect_tydom_1731665702_1731665702/config'', ... (251 bytes) 2024-11-15 21:24:38,904 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'binary_sensor/tydom/thermicDefect_tydom_1731665702_1731665702/state'', ... (3 bytes) 2024-11-15 21:24:38,905 - sensors.Sensor - INFO - Binary sensor created / updated : thermicDefect OFF 2024-11-15 21:24:38,905 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'switch/tydom/1731665702_1731665702/state'' (NULL payload) 2024-11-15 21:24:38,906 - gmqtt.mqtt.package - DEBUG - Sending PUBLISH (q0), 'b'switch/tydom/1731665702_1731665702/attributes'', ... (179 bytes) 2024-11-15 21:24:38,906 - sensors.Switch - INFO - Switch created / updated : Garage 1 1731665702_1731665702 None 2024-11-15 21:24:38,906 - tydom.MessageHandler - DEBUG - Incoming data parsed with success 2024-11-15 21:24:38,907 - tydom.MessageHandler - WARNING - Unknown message type received ([] ) 2024-11-15 21:24:38,908 - tydom.MessageHandler - DEBUG - Incoming data parsed with success

2024-11-15 21:24:38,971 - gmqtt.client - DEBUG - [CMD 0x30] b'\x00Cbinary_sensor/tydom/thermicDefect_tydom_1731665702_1731665702/state\x00OFF' 2024-11-15 21:24:38,971 - gmqtt.client - DEBUG - [RECV binary_sensor/tydom/thermicDefect_tydom_1731665702_1731665702/state with QoS: 0] b'\x00OFF' 2024-11-15 21:24:38,971 - gmqtt.mqtt.utils - DEBUG - FREE MID: None 2024-11-15 21:24:38,976 - gmqtt.client - DEBUG - [CMD 0x30] b'\x00(switch/tydom/1731665702_1731665702/state\x00' 2024-11-15 21:24:38,976 - gmqtt.client - DEBUG - [RECV switch/tydom/1731665702_1731665702/state with QoS: 0] b'\x00' 2024-11-15 21:24:38,978 - gmqtt.mqtt.utils - DEBUG - FREE MID: None 2024-11-15 21:24:38,979 - gmqtt.client - DEBUG - [CMD 0x30] b'\x00-switch/tydom/1731665702_1731665702/attributes\x00{"device_id": 1731665702, "endpoint_id": 1731665702, "id": "1731665702_1731665702", "switch_name": "Garage 1", "name": "Garage 1", "device_type": "switch", "thermicDefect": false}' 2024-11-15 21:24:38,979 - gmqtt.client - DEBUG - [RECV switch/tydom/1731665702_1731665702/attributes with QoS: 0] b'\x00{"device_id": 1731665702, "endpoint_id": 1731665702, "id": "1731665702_1731665702", "switch_name": "Garage 1", "name": "Garage 1", "device_type": "switch", "thermicDefect": false}' 2024-11-15 21:24:38,979 - gmqtt.mqtt.utils - DEBUG - FREE MID: None 2024-11-15 21:24:41,716 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2024-11-15 21:24:46,718 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2024-11-15 21:24:51,723 - gmqtt.client - DEBUG - [QoS query IS EMPTY] 2024-11-15 21:24:56,727 - gmqtt.client - DEBUG - [QoS query IS EMPTY]

BlacKTM1190 commented 1 week ago

Hello 3.5.3 image missing some details. @romainboucher published an image here that work perfectly for this devices.

LGO44 commented 1 week ago

OK thanks for that. How can I install this on a Raspberry Pi, I tried the command docker ~ pull ghcr.io/romainboucher/tydom2mqtt:master but I get the answer:
master: Pulling from romainboucher/tydom2mqtt no matching manifest for linux/arm64/v8 in the manifest list entries

romainboucher commented 4 days ago

Hi @LGO44, can you try this fix :

docker pull ghcr.io/romainboucher/tydom2mqtt:all-platforms. 
LGO44 commented 4 days ago

Installation in a terminal window, but when I want to install the add-on I get

Échec de l'installation de l'extension Can't install ghcr.io/romainboucher/tydom2mqtt:master: 404 Client Error for http+docker://localhost/v1.47/images/ghcr.io/romainboucher/tydom2mqtt:master/json: Not Found ("No such image: ghcr.io/romainboucher/tydom2mqtt:master")

LGO44 commented 1 day ago

Hi @LGO44, can you try this fix :

docker pull ghcr.io/romainboucher/tydom2mqtt:all-platforms. 

This fix doesn't solve this issue