fmartinou / tydom2mqtt

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

Devices not in HA and "Unknown device" in tydom2MQTT #211

Open beavis6511 opened 3 weeks ago

beavis6511 commented 3 weeks ago

Hello,

I'm running the tydom2mqqt addon v3.5.2. In the MQTT integration, Delta Dore devices are missing.

In the tydom2mqqt, devices are visible. in the logs:

tydom.MessageHandler - INFO    - Device update (id=1594190079, endpoint=1594190079, name=Chambre Parentale, type=boiler)
tydom.MessageHandler - INFO    - Device update (id=1594190476, endpoint=1594190476, name=Emma, type=boiler)
tydom.MessageHandler - INFO    - Device update (id=1594190528, endpoint=1594190528, name=Thomas, type=boiler)
tydom.MessageHandler - INFO    - Device update (id=1707832490, endpoint=1707832490, name=Salon, type=boiler)
tydom.MessageHandler - INFO    - Device update (id=1594190006, endpoint=1594190006, name=Bureau, type=boiler)
tydom.MessageHandler - INFO    - Device update (id=1707832743, endpoint=1707832743, name=Plancher nuit, type=boiler)
tydom.MessageHandler - INFO    - Device update (id=1707832687, endpoint=1707832687, name=Plancher jour, type=boiler)

In the Mqtt broker, I can see:

However, no DeltaDore device in HA, and the auto discovery is enabled.

I can see in the autodiscovery message, that the "name" is "null":

{"name": null, "temperature_command_topic": "climate/tydom/1594190006_1594190006/set_setpoint", "temperature_state_topic": "climate/tydom/1594190006_1594190006/setpoint", "current_temperature_topic": "climate/tydom/1594190006_1594190006/temperature", "modes": ["off", "heat", "cool"], "mode_state_topic": "climate/tydom/1594190006_1594190006/hvacMode", "mode_command_topic": "climate/tydom/1594190006_1594190006/set_hvacMode", "preset_modes": ["STOP", "ANTI_FROST", "ECO", "COMFORT", "AUTO"], "preset_mode_state_topic": "climate/tydom/1594190006_1594190006/thermicLevel", "preset_mode_command_topic": "climate/tydom/1594190006_1594190006/set_thermicLevel", "action_topic": "climate/tydom/1594190006_1594190006/action", "unique_id": "1594190006_1594190006"}

Could it be the problem ?

Logs of HA MQTT integration, before the publication of the autodiscovery messages: home-assistant_mqtt_2024-08-23T18-53-27.948Z.log

Thanks

beavis6511 commented 2 weeks ago

full DEBUG logs of tydom2mqtt log_tydom2mqtt.txt

beavis6511 commented 2 weeks ago

In the HA log; there is:

2024-08-29 16:58:02.997 WARNING (MainThread) [homeassistant.components.mqtt.climate] Invalid modes mode:
2024-08-29 16:58:03.078 WARNING (MainThread) [homeassistant.components.mqtt.climate] Invalid modes mode:
2024-08-29 16:58:03.138 WARNING (MainThread) [homeassistant.components.mqtt.climate] Invalid modes mode:
2024-08-29 16:58:03.198 WARNING (MainThread) [homeassistant.components.mqtt.climate] Invalid modes mode:
2024-08-29 16:58:03.297 WARNING (MainThread) [homeassistant.components.mqtt.climate] Invalid modes mode:
2024-08-29 16:58:03.337 WARNING (MainThread) [homeassistant.components.mqtt.climate] Invalid modes mode:
2024-08-29 16:58:03.458 WARNING (MainThread) [homeassistant.components.mqtt.climate] Invalid modes mode: