-I have been trying to discover my custom designed pcbs having ESP8266 and Relays to control lights. I have clubbed it with openhab2 and able to control room lights through Alexa and with Openhab mobile app.
I have programmed ESP8266 chips by providing SSID and PWD for a specific network.
-But I want to code them to design as smart things like sonoff does and similarly openhab2 can detect these smart thing/devices as and when they come to a wifi network. Any one has done it before? Kindly discuss it so that I can clarify more.