Cannot Access Wemos D1 Mini From Browser Using IP After YAML Upload

Hello

This is my very first attempt to use an ESP8266 as well as ESPHome. i am only trying to connect an MQ135 sensor to the D1 mini to read it from Home Assistant (Docker version without Supervisor).

So after I flashed ESPhome to the D1 Mini, I can access it from the browser but as soon as I upload the YAML file with the lines defining my sensor, I can no longer access the D1 Mini from the browser using its IP address but I can ping it successfully and still can read the sensor values in HA.

Is this normal behavior or did I miss anything ?

It depends. If your yaml has this component it will have a web server. Web Server Component — ESPHome

@nickrout

Thank you brother for your help. I was missing the web_server: line in my YAML.
I’ve added that and now it works.