MQTT errors in HACore logs?

hi,

as dashboards are quite laggy i took a look into logs and found some errors regarding mqtt in logs of homeassistantCore and Mosquitto broker, but i dont understand why?
may somebody could assist me, what is the problem?

HomeAssistantCore log.

Logger: homeassistant
Source: runner.py:143
First occurred: 13:26:12 (5 occurrences)
Last logged: 13:26:12

Error doing job: Task was destroyed but it is pending!

#####

Logger: homeassistant.components.mqtt.client
Source: components/mqtt/client.py:316
Integration: MQTT (documentation, issues)
First occurred: 13:16:40 (1 occurrences)
Last logged: 13:16:40

No ACK from MQTT server in 10 seconds (mid: 140)

#####

Logger: homeassistant.components.mqtt.mixins
Source: components/mqtt/mixins.py:296
Integration: MQTT (documentation, issues)
First occurred: October 27, 2023 at 23:38:17 (88 occurrences)
Last logged: 13:16:28

MQTT entity name starts with the device name in your config {'name': 'HY1500 Reachable', 'unique_id': '116181857484_reachable', 'state_topic': 'solar/dtu/116181857484/status/reachable', 'payload_on': '1', 'payload_off': '0', 'device': {'name': 'HY1500', 'identifiers': ['116181857484'], 'configuration_url': 'http://192.***.*.*', 'manufacturer': 'OpenDTU', 'model': 'HM-1000, HM-1200, HM-1500', 'sw_version': 'g7559303', 'connections': []}, 'encoding': 'utf-8', 'availability_mode': 'latest', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Reachable'
MQTT entity name starts with the device name in your config {'name': 'HY1500 Producing', 'unique_id': '116181857484_producing', 'state_topic': 'solar/dtu/116181857484/status/producing', 'payload_on': '1', 'payload_off': '0', 'device': {'name': 'HY1500', 'identifiers': ['116181857484'], 'configuration_url': 'http://192.***.*.*', 'manufacturer': 'OpenDTU', 'model': 'HM-1000, HM-1200, HM-1500', 'sw_version': 'g7559303', 'connections': []}, 'encoding': 'utf-8', 'availability_mode': 'latest', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'force_update': False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Producing'
MQTT entity name starts with the device name in your config {'name': 'HY1500 Turn Inverter Off', 'unique_id': '116181857484_turn_inverter_off', 'icon': 'mdi:power-plug-off', 'entity_category': <EntityCategory.CONFIG: 'config'>, 'command_topic': 'solar/dtu/116181857484/cmd/power', 'payload_press': '0', 'device': {'name': 'HY1500', 'identifiers': ['116181857484'], 'configuration_url': 'http://192.***.*.*', 'manufacturer': 'OpenDTU', 'model': 'HM-1000, HM-1200, HM-1500', 'sw_version': 'g7559303', 'connections': []}, 'encoding': 'utf-8', 'availability_mode': 'latest', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'retain': False, 'qos': 0}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Turn Inverter Off'
MQTT entity name starts with the device name in your config {'name': 'HY1500 Turn Inverter On', 'unique_id': '116181857484_turn_inverter_on', 'icon': 'mdi:power-plug', 'entity_category': <EntityCategory.CONFIG: 'config'>, 'command_topic': 'solar/dtu/116181857484/cmd/power', 'payload_press': '1', 'device': {'name': 'HY1500', 'identifiers': ['116181857484'], 'configuration_url': 'http://192.***.*.*', 'manufacturer': 'OpenDTU', 'model': 'HM-1000, HM-1200, HM-1500', 'sw_version': 'g7559303', 'connections': []}, 'encoding': 'utf-8', 'availability_mode': 'latest', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'retain': False, 'qos': 0}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Turn Inverter On'
MQTT entity name starts with the device name in your config {'name': 'HY1500 Restart Inverter', 'unique_id': '116181857484_restart_inverter', 'device_class': <ButtonDeviceClass.RESTART: 'restart'>, 'entity_category': <EntityCategory.CONFIG: 'config'>, 'command_topic': 'solar/dtu/116181857484/cmd/restart', 'payload_press': '1', 'device': {'name': 'HY1500', 'identifiers': ['116181857484'], 'configuration_url': 'http://192.***.*.*', 'manufacturer': 'OpenDTU', 'model': 'HM-1000, HM-1200, HM-1500', 'sw_version': 'g7559303', 'connections': []}, 'encoding': 'utf-8', 'availability_mode': 'latest', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'retain': False, 'qos': 0}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Restart Inverter'

Mosquitto broker Log

2023-10-28 13:15:39: Client <unknown> closed its connection.
2023-10-28 13:16:23: New connection from 172.30.32.1:44311 on port 1883.
2023-10-28 13:16:23: New client connected from 172.30.32.1:44311 as 2gevIN5TNOSzQJrum5Z3Ly (p2, c1, k60, u'hassiomosquittouser').
2023-10-28 13:17:11: Saving in-memory database to /data//mosquitto.db.
2023-10-28 13:17:39: New connection from 172.30.32.2:35480 on port 1883.
2023-10-28 13:17:39: Client <unknown> closed its connection.
2023-10-28 13:18:02: Client 5YHZL1KrHDONHbprAHmAk1 has exceeded timeout, disconnecting.
2023-10-28 13:19:39: New connection from 172.30.32.2:32868 on port 1883.
2023-10-28 13:19:39: Client <unknown> closed its connection.
2023-10-28 13:21:39: New connection from 172.30.32.2:35918 on port 1883.
2023-10-28 13:21:39: Client <unknown> closed its connection.
2023-10-28 13:23:39: New connection from 172.30.32.2:38360 on port 1883.
2023-10-28 13:23:39: Client <unknown> closed its connection.
2023-10-28 13:25:39: New connection from 172.30.32.2:36578 on port 1883.
2023-10-28 13:25:39: Client <unknown> closed its connection.
2023-10-28 13:27:39: New connection from 172.30.32.2:50178 on port 1883.
2023-10-28 13:27:39: Client <unknown> closed its connection.
2023-10-28 13:29:39: New connection from 172.30.32.2:53320 on port 1883.
2023-10-28 13:29:39: Client <unknown> closed its connection.
2023-10-28 13:31:41: New connection from 172.30.32.2:59896 on port 1883.
2023-10-28 13:31:41: Client <unknown> closed its connection.
2023-10-28 13:33:41: New connection from 172.30.32.2:44712 on port 1883.
2023-10-28 13:33:41: Client <unknown> closed its connection.
2023-10-28 13:35:41: New connection from 172.30.32.2:40430 on port 1883.
2023-10-28 13:35:41: Client <unknown> closed its connection.
2023-10-28 13:37:41: New connection from 172.30.32.2:47410 on port 1883.
2023-10-28 13:37:41: Client <unknown> closed its connection.
2023-10-28 13:39:41: New connection from 172.30.32.2:51574 on port 1883.
2023-10-28 13:39:41: Client <unknown> closed its connection.
2023-10-28 13:41:41: New connection from 172.30.32.2:54080 on port 1883.
2023-10-28 13:41:41: Client <unknown> closed its connection.
2023-10-28 13:43:41: New connection from 172.30.32.2:44968 on port 1883.
2023-10-28 13:43:41: Client <unknown> closed its connection.
2023-10-28 13:45:41: New connection from 172.30.32.2:45476 on port 1883.
2023-10-28 13:45:41: Client <unknown> closed its connection.
2023-10-28 13:47:12: Saving in-memory database to /data//mosquitto.db.
2023-10-28 13:47:41: New connection from 172.30.32.2:60434 on port 1883.
2023-10-28 13:47:41: Client <unknown> closed its connection.
2023-10-28 13:49:41: New connection from 172.30.32.2:43366 on port 1883.
2023-10-28 13:49:41: Client <unknown> closed its connection.
2023-10-28 13:51:41: New connection from 172.30.32.2:43776 on port 1883.
2023-10-28 13:51:41: Client <unknown> closed its connection.
2023-10-28 13:53:41: New connection from 172.30.32.2:40958 on port 1883.
2023-10-28 13:53:41: Client <unknown> closed its connection.
2023-10-28 13:55:41: New connection from 172.30.32.2:54034 on port 1883.
2023-10-28 13:55:41: Client <unknown> closed its connection.
2023-10-28 13:57:41: New connection from 172.30.32.2:54288 on port 1883.
2023-10-28 13:57:41: Client <unknown> closed its connection.
2023-10-28 13:59:41: New connection from 172.30.32.2:49974 on port 1883.
2023-10-28 13:59:41: Client <unknown> closed its connection.
2023-10-28 14:01:41: New connection from 172.30.32.2:38950 on port 1883.
2023-10-28 14:01:41: Client <unknown> closed its connection.
2023-10-28 14:03:41: New connection from 172.30.32.2:39312 on port 1883.
2023-10-28 14:03:41: Client <unknown> closed its connection.
2023-10-28 14:05:41: New connection from 172.30.32.2:47166 on port 1883.
2023-10-28 14:05:41: Client <unknown> closed its connection.
2023-10-28 14:07:41: New connection from 172.30.32.2:37180 on port 1883.
2023-10-28 14:07:41: Client <unknown> closed its connection.
2023-10-28 14:09:41: New connection from 172.30.32.2:48386 on port 1883.
2023-10-28 14:09:41: Client <unknown> closed its connection.
2023-10-28 14:11:41: New connection from 172.30.32.2:33358 on port 1883.
2023-10-28 14:11:41: Client <unknown> closed its connection.
2023-10-28 14:13:41: New connection from 172.30.32.2:56864 on port 1883.
2023-10-28 14:13:41: Client <unknown> closed its connection.
2023-10-28 14:15:41: New connection from 172.30.32.2:47004 on port 1883.
2023-10-28 14:15:41: Client <unknown> closed its connection.
2023-10-28 14:17:13: Saving in-memory database to /data//mosquitto.db.
2023-10-28 14:17:41: New connection from 172.30.32.2:51824 on port 1883.
2023-10-28 14:17:41: Client <unknown> closed its connection.
2023-10-28 14:19:41: New connection from 172.30.32.2:53276 on port 1883.
2023-10-28 14:19:41: Client <unknown> closed its connection.
2023-10-28 14:21:41: New connection from 172.30.32.2:38338 on port 1883.
2023-10-28 14:21:41: Client <unknown> closed its connection.
2023-10-28 14:23:41: New connection from 172.30.32.2:58208 on port 1883.
2023-10-28 14:23:41: Client <unknown> closed its connection.
2023-10-28 14:25:41: New connection from 172.30.32.2:49724 on port 1883.
2023-10-28 14:25:41: Client <unknown> closed its connection.
2023-10-28 14:27:41: New connection from 172.30.32.2:43916 on port 1883.
2023-10-28 14:27:41: Client <unknown> closed its connection.
2023-10-28 14:29:41: New connection from 172.30.32.2:48756 on port 1883.
2023-10-28 14:29:41: Client <unknown> closed its connection.
2023-10-28 14:31:41: New connection from 172.30.32.2:45618 on port 1883.
2023-10-28 14:31:41: Client <unknown> closed its connection.
2023-10-28 14:33:41: New connection from 172.30.32.2:38802 on port 1883.
2023-10-28 14:33:41: Client <unknown> closed its connection.
2023-10-28 14:35:41: New connection from 172.30.32.2:48130 on port 1883.
2023-10-28 14:35:41: Client <unknown> closed its connection.
2023-10-28 14:37:41: New connection from 172.30.32.2:44540 on port 1883.
2023-10-28 14:37:41: Client <unknown> closed its connection.
2023-10-28 14:39:41: New connection from 172.30.32.2:49580 on port 1883.
2023-10-28 14:39:41: Client <unknown> closed its connection.
2023-10-28 14:41:41: New connection from 172.30.32.2:40146 on port 1883.
2023-10-28 14:41:41: Client <unknown> closed its connection.
2023-10-28 14:43:41: New connection from 172.30.32.2:51872 on port 1883.
2023-10-28 14:43:41: Client <unknown> closed its connection.
2023-10-28 14:45:41: New connection from 172.30.32.2:46768 on port 1883.
2023-10-28 14:45:41: Client <unknown> closed its connection.
2023-10-28 14:47:14: Saving in-memory database to /data//mosquitto.db.
2023-10-28 14:47:41: New connection from 172.30.32.2:56054 on port 1883.
2023-10-28 14:47:41: Client <unknown> closed its connection.
1 Like

thanx @tom_l , this will explain HAcore log entries…
but what about this Mqttbroker logs messages like

2023-10-28 13:27:39: Client <unknown> closed its connection.
2023-10-28 13:29:39: New connection from 172.30.32.2:53320 on port 1883.

is this normal behavior? or any false configs from myside?

That is supervisor checking if the mqtt add-on is still running

2 Likes

thank you @francisp