When I select Visit from ESPhome I get a Site can’t be reached, DNS_probe error. The website address is test.local, test being the name of the ESPhome project. What do I need to do to be able to access the site of the ESP device?
Visit is to visit the web site running on the esp, if you have enabled it.
Have you enabled a web server on the esp?
I thnk so. I have the following code .
'web_server: port: 80
He wouldn’t see “visit” in the dashboard if not enabled, would he?
Post the device yaml code, please.
esphome:
name: test
friendly_name: test
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "ve0GsJ5cRqKMrYuf0eeG/mXYVOeAp/AUYCAJpTyPRfM="
web_server:
port: 80
ota:
password: "4522e0c779436fe19f436e87fa7d56eb"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Test Fallback Hotspot"
password: "SqvotaPYREn2"
captive_portal:
I didn’t know what the web page would look like with no sensors, so I ran your yaml code on an ESP on my bench. Works fine.
Don’t know what to suggest but re-flash the device. Try a simpler test code: Make sure your WiFi SSID and Password are correct.
esphome:
name: test
friendly_name: test
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
web_server:
port: 80
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
@stevemann Thank you for your time.
I think it is something to do with DNS, maybe due to NGINX or ADDGuard.
Because if I use the IP address it works, but if I use the name and local is doesn’t resolve.
Troubleshooting MDNS is beyond my experience. Please post the solution if you figure it out.