britkat1980 / tsmart

13 stars 6 forks source link

Integration stops - can only regain states with re-installation #6

Open BettySwallocks opened 1 year ago

BettySwallocks commented 1 year ago

Hi, using the TSmart immersion integration and after success in installing and using my mosquitto MQTT instance, the integration suddenly stops working with unknown for all sensors. Restart of TSmart or MQTT does not resolve. So far only fix found is a removal and reinstallation of the TSmart add on.

HA Supervisor 2013.1 (latest) on Raspi 3B. Nothing meaningful (that I can find) in any logs. Wifi to TSmart seems reasonably stable.

Fairly new to MQTT and very new to TSmart, so any help diagnosing with command line or other ways then I'm happy to take advice.

Thanks in advance.

BettySwallocks commented 1 year ago

Diagnostic info:

"integration_manifest": { "domain": "mqtt", "name": "MQTT", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/mqtt", "requirements": [ "paho-mqtt==1.6.1" ], "dependencies": [ "file_upload", "http" ], "codeowners": [ "@emontnemery", "@jbouwh" ], "iot_class": "local_push", "quality_scale": "gold", "is_built_in": true }, "data": { "connected": true, "mqtt_config": { "birth_message": { "topic": "homeassistant/status", "payload": "online", "qos": 0, "retain": false }, "discovery": true, "discovery_prefix": "homeassistant", "port": 1883, "protocol": "3.1.1", "tls_version": "auto", "transport": "tcp", "will_message": { "topic": "homeassistant/status", "payload": "offline", "qos": 1, "retain": false }, "keepalive": 60, "broker": "core-mosquitto", "username": "REDACTED", "password": "REDACTED", "tls_insecure": false }, "device": { "id": "4378383eae54ca08f06a12d93df4a628", "name": "TSmart", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [ { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "switch.tsmart_power", "icon": null, "original_device_class": null, "original_icon": null, "state": { "entity_id": "switch.tsmart_power", "state": "unknown", "attributes": { "friendly_name": "TSmart Power" }, "last_changed": "2023-01-21T13:03:26.690615+00:00", "last_updated": "2023-01-21T13:03:26.690615+00:00" }, "unit_of_measurement": null }, { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "sensor.tsmart_set_point", "icon": null, "original_device_class": "temperature", "original_icon": null, "state": { "entity_id": "sensor.tsmart_set_point", "state": "unknown", "attributes": { "unit_of_measurement": "C", "device_class": "temperature", "friendly_name": "TSmart Set Point" }, "last_changed": "2023-01-21T13:03:26.701552+00:00", "last_updated": "2023-01-21T13:03:26.701552+00:00" }, "unit_of_measurement": "C" }, { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "select.tsmart_mode", "icon": null, "original_device_class": null, "original_icon": null, "state": { "entity_id": "select.tsmart_mode", "state": "unknown", "attributes": { "options": [ "Manual", "Eco", "Smart", "Timer", "Travel", "Boost" ], "friendly_name": "TSmart Mode" }, "last_changed": "2023-01-21T13:03:26.689763+00:00", "last_updated": "2023-01-21T13:03:26.689763+00:00" }, "unit_of_measurement": null }, { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "sensor.tsmart_high_temperature", "icon": null, "original_device_class": "temperature", "original_icon": null, "state": { "entity_id": "sensor.tsmart_high_temperature", "state": "unknown", "attributes": { "unit_of_measurement": "C", "device_class": "temperature", "friendly_name": "TSmart High Temperature" }, "last_changed": "2023-01-21T13:03:26.700588+00:00", "last_updated": "2023-01-21T13:03:26.700588+00:00" }, "unit_of_measurement": "C" }, { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "binary_sensor.tsmart_heating", "icon": null, "original_device_class": null, "original_icon": null, "state": { "entity_id": "binary_sensor.tsmart_heating", "state": "unknown", "attributes": { "friendly_name": "TSmart Heating" }, "last_changed": "2023-01-21T13:03:26.687703+00:00", "last_updated": "2023-01-21T13:03:26.687703+00:00" }, "unit_of_measurement": null }, { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "sensor.tsmart_power_w", "icon": null, "original_device_class": "power", "original_icon": null, "state": { "entity_id": "sensor.tsmart_power_w", "state": "unknown", "attributes": { "state_class": "measurement", "unit_of_measurement": "W", "device_class": "power", "friendly_name": "TSmart Power W" }, "last_changed": "2023-01-21T13:03:26.699502+00:00", "last_updated": "2023-01-21T13:03:26.699502+00:00" }, "unit_of_measurement": "W" }, { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "select.tsmart_smart_state", "icon": null, "original_device_class": null, "original_icon": null, "state": { "entity_id": "select.tsmart_smart_state", "state": "unknown", "attributes": { "options": [ "Uninitialised", "Idle", "Recording", "Reproduction" ], "friendly_name": "TSmart Smart State" }, "last_changed": "2023-01-21T13:03:26.688938+00:00", "last_updated": "2023-01-21T13:03:26.688938+00:00" }, "unit_of_measurement": null }, { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "sensor.tsmart_low_temperature", "icon": null, "original_device_class": "temperature", "original_icon": null, "state": { "entity_id": "sensor.tsmart_low_temperature", "state": "unknown", "attributes": { "unit_of_measurement": "C", "device_class": "temperature", "friendly_name": "TSmart Low Temperature" }, "last_changed": "2023-01-21T13:03:26.698326+00:00", "last_updated": "2023-01-21T13:03:26.698326+00:00" }, "unit_of_measurement": "C" }, { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "climate.tsmart_thermostat", "icon": null, "original_device_class": null, "original_icon": null, "state": { "entity_id": "climate.tsmart_thermostat", "state": "unknown", "attributes": { "hvac_modes": [ "auto", "off", "cool", "heat", "dry", "fan_only" ], "min_temp": 10.0, "max_temp": 70.0, "target_temp_step": 1.0, "preset_modes": [ "none", "Manual", "Eco", "Smart", "Timer", "Travel", "Boost" ], "current_temperature": null, "temperature": null, "preset_mode": "none", "friendly_name": "TSmart Thermostat", "supported_features": 17 }, "last_changed": "2023-01-21T13:03:26.709230+00:00", "last_updated": "2023-01-21T13:03:26.709230+00:00" }, "unit_of_measurement": null }, { "device_class": null, "disabled_by": null, "disabled": false, "entity_category": null, "entity_id": "sensor.tsmart_error_state", "icon": null, "original_device_class": null, "original_icon": null, "state": { "entity_id": "sensor.tsmart_error_state", "state": "unknown", "attributes": { "unit_of_measurement": "", "friendly_name": "TSmart Error State" }, "last_changed": "2023-01-21T13:03:26.697009+00:00", "last_updated": "2023-01-21T13:03:26.697009+00:00" }, "unit_of_measurement": "" } ] }, "mqtt_debug_info": { "entities": [ { "entity_id": "switch.tsmart_power", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/Power", "messages": [] } ], "discovery_data": { "topic": "homeassistant/switch/TSmart/Power/config", "payload": { "state_topic": "TSmart/Power", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "Power_Power", "name": "TSmart Power", "command_topic": "TSmart/control/setPower", "payload_on": "On", "payload_off": "Off", "platform": "mqtt" } }, "transmitted": [] }, { "entity_id": "sensor.tsmart_set_point", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/Set_Point", "messages": [] } ], "discovery_data": { "topic": "homeassistant/sensor/TSmart/Set_Point/config", "payload": { "state_topic": "TSmart/Set_Point", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "Set_Point_Set_Point", "name": "TSmart Set Point", "unit_of_measurement": "C", "device_class": "Temperature", "platform": "mqtt" } }, "transmitted": [] }, { "entity_id": "select.tsmart_mode", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/Mode", "messages": [] } ], "discovery_data": { "topic": "homeassistant/select/TSmart/Mode/config", "payload": { "state_topic": "TSmart/Mode", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "Mode_Mode", "name": "TSmart Mode", "command_topic": "TSmart/control/setMode", "options": [ "Manual", "Eco", "Smart", "Timer", "Travel", "Boost" ], "platform": "mqtt" } }, "transmitted": [] }, { "entity_id": "sensor.tsmart_high_temperature", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/High_Temperature", "messages": [] } ], "discovery_data": { "topic": "homeassistant/sensor/TSmart/High_Temperature/config", "payload": { "state_topic": "TSmart/High_Temperature", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "High_Temperature_High_Temperature", "name": "TSmart High Temperature", "unit_of_measurement": "C", "device_class": "Temperature", "platform": "mqtt" } }, "transmitted": [] }, { "entity_id": "binary_sensor.tsmart_heating", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/Heating", "messages": [] } ], "discovery_data": { "topic": "homeassistant/binary_sensor/TSmart/Heating/config", "payload": { "state_topic": "TSmart/Heating", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "Heating_Heating", "name": "TSmart Heating", "payload_on": "On", "payload_off": "Off", "platform": "mqtt" } }, "transmitted": [] }, { "entity_id": "sensor.tsmart_power_w", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/Power_W", "messages": [] } ], "discovery_data": { "topic": "homeassistant/sensor/TSmart/Power_W/config", "payload": { "state_topic": "TSmart/Power_W", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "Power_W_Power_W", "name": "TSmart Power W", "unit_of_measurement": "W", "device_class": "Power", "state_class": "measurement", "platform": "mqtt" } }, "transmitted": [] }, { "entity_id": "select.tsmart_smart_state", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/Smart_State", "messages": [] } ], "discovery_data": { "topic": "homeassistant/select/TSmart/Smart_State/config", "payload": { "state_topic": "TSmart/Smart_State", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "Smart_State_Smart_State", "name": "TSmart Smart State", "command_topic": "TSmart/control/setSmartState", "options": [ "Uninitialised", "Idle", "Recording", "Reproduction" ], "platform": "mqtt" } }, "transmitted": [] }, { "entity_id": "sensor.tsmart_low_temperature", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/Low_Temperature", "messages": [] } ], "discovery_data": { "topic": "homeassistant/sensor/TSmart/Low_Temperature/config", "payload": { "state_topic": "TSmart/Low_Temperature", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "Low_Temperature_Low_Temperature", "name": "TSmart Low Temperature", "unit_of_measurement": "C", "device_class": "Temperature", "platform": "mqtt" } }, "transmitted": [] }, { "entity_id": "climate.tsmart_thermostat", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/Low_Temperature", "messages": [] }, { "topic": "TSmart/Set_Point", "messages": [] }, { "topic": "TSmart/Auto", "messages": [] }, { "topic": "TSmart/Mode", "messages": [] } ], "discovery_data": { "topic": "homeassistant/climate/TSmart/Thermostat/config", "payload": { "state_topic": "TSmart/Thermostat", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "Thermostat_Thermostat", "name": "TSmart Thermostat", "current_temperature_topic": "TSmart/Low_Temperature", "temperature_state_topic": "TSmart/Set_Point", "min_temp": 10, "max_temp": 70, "preset_mode_command_topic": "TSmart/Control/setMode", "preset_mode_state_topic": "TSmart/Mode", "mode_state_topic": "TSmart/Auto", "mode_command_topic": "TSmart/Control/Auto", "power_command_topic": "TSmart/Control/setPower", "temperature_command_topic": "TSmart/Control/setSetPoint", "preset_modes": [ "Manual", "Eco", "Smart", "Timer", "Travel", "Boost" ], "platform": "mqtt" } }, "transmitted": [] }, { "entity_id": "sensor.tsmart_error_state", "subscriptions": [ { "topic": "TSmart/status", "messages": [ { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:26.675554+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.934996+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.971655+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:36.998914+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.059652+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.096331+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.103552+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.110958+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.143010+00:00", "topic": "TSmart/status" }, { "payload": "online", "qos": 0, "retain": 1, "time": "2023-01-21T13:03:37.149225+00:00", "topic": "TSmart/status" } ] }, { "topic": "TSmart/Errors", "messages": [] }, { "topic": "TSmart/Error_State", "messages": [] } ], "discovery_data": { "topic": "homeassistant/sensor/TSmart/Error_State/config", "payload": { "state_topic": "TSmart/Error_State", "availability_topic": "TSmart/status", "payload_available": "online", "payload_not_available": "offline", "device": { "identifiers": "TSmart", "name": "TSmart", "manufacturer": "TSmart" }, "unique_id": "Error_State_Error_State", "name": "TSmart Error State", "unit_of_measurement": "", "json_attributes_topic": "TSmart/Errors", "platform": "mqtt" } }, "transmitted": [] } ], "triggers": [] } }

BettySwallocks commented 1 year ago

Just to update, I've been restarting and re-installing the add-on a few times recently and have actually found that the loss of comms is not resolved any more by doing either action, The comms seems to restore itself and then drop off again at ramdom intervals. The data can remain accurate for a few days but then will at some point just go out of date and the device will become unavailable. I'm looking at trying to detect this and notify to my telegram service, but I can't see any add-on reload service or other action that could bring the thing back to life within an automation...