fmartinou / tydom2mqtt

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

Version 2.3.1 #37

Open LGO44 opened 2 years ago

LGO44 commented 2 years ago

Après installation de cette mise à jour

extrait du journal:

('127.0.0.1', 1883), [Errno 99] Address not available 2022-09-06 15:16:14,977 - mqtt_client - INFO - MQTT error, restarting in 8s... 2022-09-06 15:16:23,000 - mqtt_client - INFO - """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2022-09-06 15:16:23,000 - mqtt_client - INFO - Attempting MQTT connection... 2022-09-06 15:16:23,000 - mqtt_client - INFO - MQTT host : localhost 2022-09-06 15:16:23,000 - mqtt_client - INFO - MQTT user : 2022-09-06 15:16:23,007 - 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-06 15:16:23,008 - mqtt_client - INFO - MQTT error, restarting in 8s... 2022-09-06 15:16:31,108 - mqtt_client - INFO - """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2022-09-06 15:16:31,114 - mqtt_client - INFO - Attempting MQTT connection... 2022-09-06 15:16:31,114 - mqtt_client - INFO - MQTT host : localhost 2022-09-06 15:16:31,114 - mqtt_client - INFO - MQTT user : 2022-09-06 15:16:31,134 - 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-06 15:16:31,135 - mqtt_client - INFO - MQTT error, restarting in 8s...

_2022-09-06 15:15:54.457 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor tydom device_id_tydom_1651773567_1651773567 2022-09-06 15:15:54.457 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor tydom endpoint_id_tydom_1651773567_1651773567 2022-09-06 15:15:54.457 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor tydom id_tydom_1651773567_1651773567 2022-09-06 15:15:54.458 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor tydom position_tydom_1651773567_1651773567 2022-09-06 15:15:54.458 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor tydom device_id_tydom_1651782167_1651782167 2022-09-06 15:15:54.458 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor tydom endpoint_id_tydom_1651782167_1651782167 2022-09-06 15:15:54.458 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor tydom id_tydom_1651782167_1651782167 2022-09-06 15:15:54.458 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor tydom position_tydom_1651782167_1651782167 2022-09-06 15:15:54.458 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom thermicdefect_tydom_1651773567_1651773567 2022-09-06 15:15:54.459 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom onfavpos_tydom_1651773567_1651773567 2022-09-06 15:15:54.459 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom obstacledefect_tydom_1651773567_1651773567 2022-09-06 15:15:54.459 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom intrusion_tydom_1651773567_1651773567 2022-09-06 15:15:54.459 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom battdefect_tydom_1651773567_1651773567 2022-09-06 15:15:54.505 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom thermicdefect_tydom_1651782167_1651782167 2022-09-06 15:15:54.505 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom onfavpos_tydom_1651782167_1651782167 2022-09-06 15:15:54.505 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom obstacledefect_tydom_1651782167_1651782167 2022-09-06 15:15:54.506 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom intrusion_tydom_1651782167_1651782167 2022-09-06 15:15:54.506 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor tydom battdefect_tydom_16517821671651782167

fmartinou commented 2 years ago

Are you sure about the configuration to connect to your MQTT broker?

('127.0.0.1', 1883), [Errno 99] Address not available
LGO44 commented 2 years ago

I've rebooted my virtuel machin and it seems to be right now I will confirm

LGO44 commented 2 years ago

Sorry to disturb you with a none issue. After reboot, the add-on run fine except the binary-sensors that stay in position "unknown" and their states are not updated. I suggested a modification for the payload False or True but it doesn't work. extract of logs: 2022-09-06 16:08:46.271 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', 'tydom obstacledefect_tydom_1651782167_1651782167') '{'name': 'obstacleDefect_tydom__Cuisine', 'unique_id': 'obstacleDefect_tydom_1651782167_1651782167', 'device': {'manufacturer': 'Delta Dore', 'model': 'Sensor', 'name': 'obstacleDefect_tydom__Cuisine', 'identifiers': '1651782167_1651782167_sensors'}, 'state_topic': 'binary_sensor/tydom/obstacleDefect_tydom_1651782167_1651782167/state', 'platform': 'mqtt'}' 2022-09-06 16:08:46.272 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: binary_sensor.obstacledefect_tydom_cuisine

Thanks

LGO44 commented 2 years ago

@fmartinou do you have an idea? Thanks

mopi1402 commented 2 years ago

I think it should fix your issue : https://github.com/fmartinou/tydom2mqtt/pull/44