I recently created a device to remotely control the lights of my garage using ESP8266. The device starts in AP mode. I search for "bubbles" wifi->Connect to it->Pass the wifi details-> the device remembers the details. Next time the device restarts, it starts in sta mode. I can connect to it using an app which I build.
The
Now my friend showed me G-Homa wifi enabled wall socket. The setup on this seems to be much easier. The App automatically detects the device, without the device being connected to home wifi network. I don't even have to change my wifi on the phone. How is the app finding the device? Which mode is it in ? Can someone guide me in the right direction?
I am attaching some screenshot of the app setup.