Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disconnect loop with Home Assistant MQTT
#1
Hello everyone,
I have two F16 boards connected with HA that started to have connection issues.
The output from the MQTT logs:
Code:
2026-09-20 11:00:44: New connection from x.x.x.12:53372 on port 1883.
2026-09-20 11:00:47: New client connected from x.x.x.12:53372 as <MAC> (p4, c1, k120, u'kincony12').
2026-09-20 11:00:47: Client <MAC> [x.x.x.12:53372] disconnected: connection closed by client.
2026-09-20 11:00:50: New connection from x.x.x.11:63968 on port 1883.
2026-09-20 11:00:53: New client connected from x.x.x.11:63968 as kincony11_<MAC> (p4, c1, k120, u'kincony11').
2026-09-20 11:00:53: Client kincony11_<MAC> [x.x.x.11:63968] disconnected: connection closed by client.
kincony11 is configured to use MQTT for Home Assistant while kincony12 is configured to use standard MQTT as I was trying different solutions but the result is the same: disconnect loop.
kincony11 is on fw  v3.18.0
kincony12 is on fw  v3.27.2

Home Assistant details:
    Installation method Home Assistant OS
    Core 2026.9.3
    Supervisor 2026.09.2
    Operating System 18.3
    Frontend 20260826.7
MQTT v7.1.1

As fw v3.27.2 has logging view, this is some output:
Code:
W (1300036) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
E (1301096) mqtt_client: esp_mqtt_connect: mqtt_message_receive() returned 0
E (1301096) mqtt_client: MQTT connect failed
I (1301096) mqtt: MQTT_EVENT_DISCONNECTED
I (1305036) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1305236) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1305236) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1305236) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1305236) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
I (1305596) mqtt: Other event id:7
I (1310236) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1310436) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1310436) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1310436) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1310436) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
I (1315436) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1315606) mqtt_client: esp_mqtt_connect: mqtt_message_receive() returned 0
E (1315606) mqtt_client: MQTT connect failed
I (1315606) mqtt: MQTT_EVENT_DISCONNECTED
E (1315636) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1315636) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1315636) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1315636) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
I (1320106) mqtt: Other event id:7
I (1320636) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1320836) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1320836) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1320836) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1320836) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
I (1325836) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1326036) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1326036) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1326036) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1326036) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
E (1330116) mqtt_client: esp_mqtt_connect: mqtt_message_receive() returned 0
E (1330116) mqtt_client: MQTT connect failed
I (1330116) mqtt: MQTT_EVENT_DISCONNECTED
I (1331036) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1331236) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1331236) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1331236) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1331236) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE


Any help is much appreciated.
Reply
#2
how about config by esphome?
Reply
#3
(Yesterday, 08:36 AM)admin Wrote: how about config by esphome?

I haven't tried ESPHome.
I have found the issue was due to HA having 2 network cards, once I disabled the second network card the issue went away.
Must be a bug with HA.
Thank you for your help nonetheless.
Reply
#4
ok, it's HA issue.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)