Hi,
I bought an Athom mini switch, which comes with ESPHome preflashed. Out of the box everything worked fine. But I need to change the configuration of the switch. The configuration is actually stored on GitHub.
I copied it from GitHub, used it as the switch configuration, compiled and flased it on the switch. Everything worked as expected. Of coursed nothing changed in the switch behavior. Then I made the changes I needed to the configuration and wanted to try it out.
But the wireless flash is not working anymore. I get this error after compilation:
======================== [SUCCESS] Took 112.03 seconds ========================
INFO Successfully compiled program.
INFO Resolving IP address of athom-mini-switch.local in mDNS
INFO Resolving IP address of athom-mini-switch.local
ERROR Error resolving IP address of athom-mini-switch.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
What went wrong and how do I flash the switch now? Does anybody have an idea? Thank you.