tydom2mqtt
tydom2mqtt copied to clipboard
Version 2.3.1
Après installation de cette mise à jour
- l'add-on tydom2mqtt ne fonctionne pas
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...
- Les objets ne sont donc plus mis à jour bien qu'ils aient été créés au niveau MQTT
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_1651782167_1651782167
Are you sure about the configuration to connect to your MQTT broker?
('127.0.0.1', 1883), [Errno 99] Address not available
I've rebooted my virtuel machin and it seems to be right now I will confirm
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
@fmartinou do you have an idea? Thanks
I think it should fix your issue : https://github.com/fmartinou/tydom2mqtt/pull/44