ESP32 Dev V1 connecting to HA through HA ESPHOME builder

minimum knowledge and totally new to the HA and ESP32 world. I have it offline the entire time. people are talking about it being on different subnet as my HA. where and how i can change that? Thanks

Does the device work? Does it have an IP address assigned to it? You should should see it in the ESPHome logs. What is that address of your HA device? Why do people assume it’s in the wrong subnet?

First and foremost though - don’t post images of your yaml or logs. Copy and paste the text and enclose it in preformatted text tags, accessed by </> in the posting toolbar. Also read this, especially point 11.

Hello sorry i didnt know the rules and all. as for the logs can i send you picture of it?

You could but that doesn’t guarantee I’ll look at it. :smiley:

For starters what is the IP address of you HA and the IP address of the ESPHome device?

sorry just new here just trying to provide any info that could ne helpfull my Ha ip address is 192.168.68.61:8123 I dont know where to find the IP address for my ESP Home…anyway you can guide me in that? Thanks in advance. I am also running HA through a Mini computer using proxmox if that helps at all

It will be near the start of the log for the ESPHome device, I assume you have it connected via USB and can see the log. Here is an example from one of my devices:

[12:49:01][I][wifi:313]: WiFi Connecting to 'SARWLAN'...
[12:49:02][I][wifi:617]: WiFi Connected!
[12:49:02][C][wifi:428]:   Local MAC: 24:6F:28:A9:87:EC
[12:49:02][C][wifi:433]:   SSID: [redacted]
[12:49:02][C][wifi:436]:   IP Address: 192.168.0.117
[12:49:02][C][wifi:440]:   BSSID: [redacted]
[12:49:02][C][wifi:441]:   Hostname: 'webinterface'
[12:49:02][C][wifi:443]:   Signal strength: -44 dB ▂▄▆█
[12:49:02][C][wifi:447]:   Channel: 6
[12:49:02][C][wifi:448]:   Subnet: 255.255.255.0
[12:49:02][C][wifi:449]:   Gateway: 192.168.0.1
[12:49:02][C][wifi:450]:   DNS1: 8.8.8.8
[12:49:02][C][wifi:451]:   DNS2: 192.168.1.1
[12:49:02][C][web_server:238]: Setting up web server...
[12:49:02][C][sntp:018]: Setting up SNTP...
[12:49:02][C][api:026]: Setting up Home Assistant API server...

Everytime i try to press the log i get the 3 optons to connect to (this PC where i have my esp32 connected with USB cord and red light is on) i get this message. i think maybe i have some connection issues just not sure where to start.

Ok - so your device isn’t connected via USB, just using the browser via ESPHome web.

First - try Chrome instead of whatever browser you are using - that sometimes solves the https problem.

Assuming your device IS in a different subnet, and your subnets are all reachable, you can also try this:

  • assign a static IP address that is valid for your subnet in the wifi: block, using manual_ip: as per instructions here:
  • browse to the HA dashboard
  • choose Settings, Add-ons, ESPHome Device Builder
  • go to the Configuration tab
  • select “Show unused optional configuration options”
  • turn on “Use ping for status”

Otherwise - without more information and logs anyone would be guessing.

thank you so much for all that info Daryl. Appreciate it… i will give it a try…i am using Edge so i will give chrome a try.

I’m not a Proxmox expert, but I thought it supported USB passthrough so you can connect your ESP device directly to your HA instance.

Maybe Google that if nothing else.

i did do that as well since that was on of the option connecting to. But every time i do that the only USB ports that it comes up its my Zigbee Dongle that is connected to. this Mini pc that i am running has 6 port and no matter which i use that zigbee dongle is the only option. Didnt want to mess with that since i didn’t want my zigbee network get messed up.

I did all your suggestion and still at step one. yes i can’t seem to be able to connect to the ESP board.

You have made life difficult for yourself if the devices are in different subnets, and you are using ESPHome web to flash them.

ESPHome builder uses mDNS to connect to devices by default. mDNS will not cross subnets.

I assume you originally flashed it using the option:

Plug into this computer
For devices connected via USB to this computer

Why can’t you edit the yaml and do that again? Otherwise - you have me very confused. :smiley: