Error 104 after installing on NodeMCU

Hello everyone,

I’m encountering some difficulties while trying to connect my NodeMCU (1.0) to my Wi-Fi network using ESPHome. I have followed the steps outlined in the official ESPHome documentation, but I am encountering an error message and I’m unable to establish a successful connection.

Issue Description:
After installing the ESPHome software on my NodeMCU, I’m seeing the following error in the logs:

WARNING esphome-web-b61513.local: Connection error occurred: [Errno 104] Connection reset by peer

Before encountering this error, I visited the ESPHome web interface (Web - ESPHome) to “prepare it for first use.” At that point, I was able to access a webpage displayed at the designated IP address successfully.

However, upon installing ESPHome on the NodeMCU, I encountered the following logs in the web interface:

[D][wifi:387]: Starting scan...
[D][wifi:402]: Found networks:
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[W][wifi:456]: No matching network found!

Furthermore, when attempting to modify the Wi-Fi settings, I encountered the following error:

An error occurred. Improv Wi-Fi Serial not detected

Troubleshooting Steps Taken:
So far, I have attempted to troubleshoot the issue on my own with the following steps:

  • I tried the installation process on two different NodeMCU boards but encountered the same error each time.
  • I verified that other devices in the same location are able to detect and connect to the Wi-Fi network successfully.

How can I fix this? Thanks in advance!

Here are both logs