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.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