I am unable to get my Athom v2 plugs to adopt. Here is the error.
Processing athom-smart-plug-v2-8f3bf0 (board: esp8285; framework: arduino; platform: platformio/espressif8266 @ 3.2.0) --------------------------------------------------------------------------------HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf Dependency Graph |-- ESPAsyncTCP-esphome @ 1.2.3 |-- ESPAsyncWebServer-esphome @ 2.1.0 | |-- ESPAsyncTCP-esphome @ 1.2.3 | |-- Hash @ 1.0 | |-- ESP8266WiFi @ 1.0 |-- DNSServer @ 1.1.1 |-- ESP8266WiFi @ 1.0 |-- ESP8266mDNS @ 1.2 |-- ArduinoJson @ 6.18.5 RAM: [==== ] 42.4% (used 34756 bytes from 81920 bytes) Flash: [===== ] 47.6% (used 486937 bytes from 1023984 bytes) ========================= [SUCCESS] Took 6.61 seconds =========================INFO Successfully compiled program.INFO Resolving IP address of athom-smart-plug-v2-8f3bf0.localERROR Error resolving IP address of athom-smart-plug-v2-8f3bf0.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
It looks like the plug is forcing the domain to .local and my local domain is different. I've tried everything I can to get this to work such as setting a static IP address but I've had no luck. The strange thing is the plug appears in Home Assistant as an integration so I can set it up there and use it. Not being able to adopt it in ESPHome means I can't update it or modify the yaml.
Any assistance would be most appreciated. This is far from plug and play.
Do you happen to have more than one VLAN set up? If so, you'll definitely need to enable mDNS or Bonjour forwarding between VLANS so your ESPhome instance can look up the IP address of your smart plugs.