I have HA running in a VM via ESXI. I finally got to the point where i can upload to the board via “Plug into this computer”.
As far as network goes, im running a Dream Machine Pro and am using a dedicated 2.4 SSID. After i upload it stays offline. I tried assigning it a manual ip address and no luck.
Log with manual ip set
INFO Reading configuration /config/esphome/d132.yaml…
INFO Starting log output from 192.168.1.2 using esphome API
WARNING Can’t connect to ESPHome API for 192.168.1.2: Error connecting to (‘192.168.1.2’, 6053): [Errno 113] Connect call failed (‘192.168.1.2’, 6053)
INFO Trying to reconnect to 192.168.1.2 in the background
Log with just the ssid and password set
INFO Reading configuration /config/esphome/d132.yaml…
INFO Starting log output from d132.local using esphome API
WARNING Can’t connect to ESPHome API for d132.local: Error resolving IP address: [Errno -2] Name or service not known
INFO Trying to reconnect to d132.local in the background
First thing first, is the ESP actually connected to the wifi? You should be able to see this from the controller.
And did you try pinging the device.
Always start at the basics when troubleshooting this kinda things. Without the ESP being connected to the Wifi anything else is going to be moot anyway.
Since it wont connect you did not enter the SSID and/or password correctly.
Can you past your config here? (without the actual password ofcourse)
And when u paste it here use the triple ``` How to help us help you - or How to ask a good question
So its readable on the forum.
The config looks okay. You can try to add fast_connect: true so it wont scan and if for some reason the SSID is hidden its the only way it will connect.
Also, after you do this: Get our your phone and do a wifi network scan, if you see the Esp2 Fallback Hotspot
You will know for sure it failed to connect to your Wifi
its not showing up
i connected to the same ssid as i put for the esp32
i used ubiquiti wifi man app on my phone to do a network scan
and nothing popped up resembling esp32 or esp fallback etc
i also have google wifi set up, i could try connecting to those. but not sure if the auto switching will mess it up. all my other iot devices dont like it.
You should just be able to look in your regular wifi phone settings and see the hotspot. It might be worth it to double check your settings for the ap and wifi network. Password type psk2 and the 2.4 g radio is active. Managment frames off.
You could also flash tasmota to check if the esp is indeed working correctly.
ok then
if you can see Esp2 Fallback Hotspot.that means it it can’t connect to your network its thinking password could be wrong or ssid could be wrong or the DHCP in router is not handing out IP address
INFO Reading configuration /config/esphome/esp2.yaml...
INFO Starting log output from esp2.local using esphome API
WARNING Can't connect to ESPHome API for esp2.local: Error resolving IP address: [Errno -2] Name or service not known
INFO Trying to reconnect to esp2.local in the background
That error just means ESP is not finding the module on the network.
Is your phone connected to that network? if not, try to connect your phone to it. (the 2.4Ghz one)