Connecting ESP8266 D1 MINI to RPi Hass.io Access Point

Hi, I have HA Running on a RPi 4. This is for a greenhouse out in the yard, so I am using Hass.io Access point to connect to a D1 mini. The d1 mini will run some buttons so I essentially have a light switch through the HA pi to a Zigbee outlet. I followed a guide to set up the D1 in ESP home and flashed the chip. It is showing as offline. Hass.io Access Point is running.

Here are the logs for the D1:

I am just getting started with ESPHome, any advice on resolving this would be helpful.

Your log is very hard to read, but it seems to indicate your device can’t connect to your AP.

Which guide did you follow?
What are you using for the YAML config?

Hi, thanks for looking into this. This is the guide I used. I got up to the 4:33 mark https://www.youtube.com/watch?v=cfkW7ZmiMEw

Please use code tags to make both code and logs legible.

1 Like

With everything redacted, the only thing the log says is your device can’t connect to redacted.

It seems like there might be a lot of Wi-Fi activity where it is located.

There is one clue in that there is a reason listed which is auth expired and authentication failed. The first thing to check is that you have the correct passphrase.

What are you using for Wi-Fi? Some APs have issues with esp devices with some configurations.

Bring your ESP Device closer to your access point for testing purposes and see if it connects then. Say an arms’ length.

Is your network correctly set up? 2.4Ghz for the ESP to talk to? Correct gateway, DNS etc configured? SSID matching and password correct? How busy is your network, taking so long to reject connection?

I am using a raspberry pi 4 as the access point. That is the “HA-Greenhouse” network. The “redacted” parts are in the screenshot above.

Currently the devices are about a foot apart sitting on my desk. Here is the config for Hass.io Access point:

I have made sure the SSID and Password match in the secrets.yaml file.

I fixed it. I needed to enable DHCP server on Access Point. Everything is showing online and connected and I am moving forward with the project.

Thanks!