Stuck on adding first device

My first ever attempt at using ESPHome with an ESP32 Devkit Type C is not working for me unfortunately. I’m trying to connect via USB from a Raspberry Pi 4 that runs Home Assistant via Docker, so I followed the instructions given at ’ Bonus: ESPHome Device Builder’.

The Dashboard is accessible at localhost:6052 but looking at ‘Show discovered devices’ shows nothing, and starting the ‘+ New Device’ process just leads to a ‘Connecting’ spinning display that goes nowhere.

lsusb shows a ‘Silicon Labs CP210x UART Bridge’ on Bus 001 Device 008, so something seems to be there.
How can I troubleshoot what the problem might be?

Thanks!
Michael

I take it ESPHome Builder is installed manually rather than as a Home Assistant Add-on?

This may have to do with set-up for the HA/ESPHome installation methods you’ve chosen.

If you drop a text file called test.yaml in the directory you specified as your config directory does it show up in your dashboard? And if so when you go to …> Install > Plug into Computer Running ESPHome… can you see the usb serial?

I have the ESPHome AddOn, and I’m getting the same problem (I’m using a Node-MCU just to play with). I know the UART is fine as I can program the Node-MCU using Arduino using the same port as was used by the ESPHome Web I/F. Unfortunately I have not yet figured out what the problem is however …

discovery only works on devices already running esphome and connected to network

you must first flash via usb.

new device >> continue >> empty configuration >> add name >> next >> edit >> modify the yaml >> save >> install >> “plug into this computer” >> select your device >> install

I was running everything from my Pi4 and it was probably too much with Docker and so on. I switched to a Windows laptop, installed esphome and then using the command line has been successful in compiling and installing things. I’m stuck on something else now but that’s a topic for a different post if needed. The learning curve is very steep for a noob :wink:

I suspect the learning curve would be much easier if you went with the Home Assistant Operating System and ESPHome as an App (previously add-on).

But people have varying needs for multitasking on their hardware.