#Flashing Wemos D1 Mini with ESPHome - Error 111: Connection refused

1 messages · Page 1 of 1 (latest)

hybrid zealot
#

Hi there.
I'm using HA with dockers and trying to connect my first ESP device via command line.
I followed the steps in this video and reached the step when I have to run this command:
esphome run 3dprintcenter.yaml
https://youtu.be/mCs0fa7Gr9U?si=lYCPwKc7c6g-jnGK&t=977
Unfortunately, It gives me the Error:111

INFO ESPHome 2023.12.6
INFO Reading configuration 3dprintcenter.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing 3dprintcenter (board: d1_mini; framework: arduino; platform: platformio/espressif8266@3.2.0)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
RAM:   [====      ]  39.4% (used 32292 bytes from 81920 bytes)
Flash: [====      ]  38.4% (used 400593 bytes from 1044464 bytes)
================================================================================= [SUCCESS] Took 2.17 seconds =================================================================================
INFO Successfully compiled program.
INFO Connecting to 192.168.1.34
ERROR Connecting to 192.168.1.34:8266 failed: [Errno 111] Connection refused

I'm using Wemos D1 Mini board and using USB connection.
I searched both, here on the server as well as googling but couldn't find a solution to this issue.
There was one post somewhere when a person solved it with rebooting router. I did it, as well as the D1 board but it didn't help.
Manual IP is added to the config, board has assigned static IP. When I upload some sketch via IDE, I can ping it.
Any ideas how I can solve it?