How would I find a device on the local network? I'm building an IoT device that needs to find another device connected to the same network.
There will be two ESP8266 modules that need to communicate with each other on the local network, how would I achive this?
Using mDNS doesn't work router just gives it a generic name.
I was thinking about storing the local IP in a database on my server but that seems very cumbersome and wouldn't work if it failed to establish a connection.
The devices will be using the ESP8266 and interfaced with an Android application.