From the ESPHome Dashboard, I added a new node and uploaded it via USB.
Flashing sucussfully completes, confirming:
IP Address: 192.168.1.17
Hostname: ‘test1’
The device shows green on the Dashboard and is discovered in HA. If I try to configure it, the connection fails. “Can’t connect to ESP. Please make sure your YAML file contains an ‘api:’ line.”
Looking at the ESPHome Dashboard logs (OTA), I get:
INFO Reading configuration…
INFO Starting log output from test1.local using esphome API
INFO Connecting to test1.local:6053 (92.242.132.16)
WARNING Initial connection failed. The ESP might not be connected to WiFi yet (Error
connecting to 92.242.132.16: timed out). Re-Trying in 1 seconds
The device has an IP address of 192.168.1.17, but it look like it is trying to connect to 92.242.132.16.
Has anyone seen this before?
Have I missed a step somewhere?
I am having a similar issue. I have performed the steps GDA performed with a HELTEC WIFI kit 32. I have been wracking my brain googling everything I can think of. I’ve tried setting a static ip using the provided example but that gives error 111, can’t connect to… I have tried to add an Integration (found and pinged an entry from my router with response) but it fails every time. I have gotten basically every error code associated with setting a static ip but still can’t get my Node connected.
my yaml:
Of note, I’ve also tried to connect and run programs on Arduino IDE. I can run some of the Example sketches that show different things on the tiny screen, but hit a wall with ESPHome. I’m sort of a newbie with both but there’s probably something I’m doing/not doing that could fix it, I just need a nudge in the right direction.
Did you perform the initial load of ESPHome firmware via the USB connection and a flash utility? If not, that’s your issue. Use the … option of the ESPHome menu, select Compile, and when it completes, then select Download. Otherwise, use a USB cable to connect your ESP device to the HA system and select that USB/tty/serial device in the upper-right corner.
Do I need to leave the flasher running when it tries to reconnect? The flasher gave an indication of an AP Server.
INFO Connecting to 192.168.1.18:3232 (192.168.1.18)
WARNING Initial connection failed. The ESP might not be connected to WiFi yet (Timeout while waiting for message response!). Re-Trying in 3 seconds