Ah…so the IP address works, but there is something wrong with your API password.
You have to specify your API password in esp yaml:
# Enable Home Assistant API
api:
password: !secret api_password
(which I specified in my secrets.yaml)
If you changed the password, you might want to remove the ESP home device from HA, so it will be re-added (and it will prompt for the new API password)
when I using the IP address of Simmelezer which is 192.168.1.33, in logs is the wrong password, but this IP address is the Simmelezer in the network and does not exist password.
When I tryed with ssid name and password in the yaml file it say, Resolving IP address of elkontrol1.local.
Im confused.
HI again,
has removed ESPHome from HA and has started again. But it will be the same mistake.
Do you know what the steps are for installing Slimmelezer +. How can factory reset Slimmelezer + to start the installation again?
INFO Successfully compiled program.
INFO Resolving IP address of vattenfall.local
ERROR Error resolving IP address of vattenfall.local. Is it connected to WiFi?
ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)
ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -5] No address associated with hostname
Just adding here that the “use_address” brought my device online.
I have a DHCP reserve on my router. I could see it connected on my dashboard, but I couldn’t ping. I was able to see arp requests from the router, ESP replied that, but nothing happened afterwards.
Added “use_address” and use the same IP address I have reserved, done. pings get responses and Online on ESPHome Add-on on Home Assistant Thanks @juan11perez
Hey team, this looks like an mDNS issue.
There’s two kinds of DNS services:
the normal IP based service (which the whole thread above is referencing)
a (newer) mDNS (multicast DNS) Multicast DNS - Wikipedia
mDNS does not automatically propagate across different subnets and VLAN’s, so you need to have an mDNS repeater setup somewhere to have visibility across all networks.
afaik home assistant comes with one, but it would also need network connectivity to each network and/or VLAN to make this work.
Normally this is a function in your router, but not all of them have these capabilities
I’m struggling with a UniFi setup with 5 VLAN’s and 4 WiFi networks, the pain is real
I also have Unifi with 3 networks setup as VLANS. I cannot, for the life of me, get this figured out. I have several Tasmota devices setup without issue, but I can’t get an IP assigned to this ESPHome device. Please let me know if you figure it out!
Thank you! I came here much later, where esp-device.local did not work, but when I changed that to esp-device.my-domain.com in the yaml as you said, it worked.