Select a Link to a Raspberry Pi IOT Device:
This will not actually control my lights, but it gives you an idea of how my IoT devices are all connected through these kind of webpage interfaces.
I use php to launch python scripts running on the Raspberry Pis
I have programmed the ESP8266s to serve these web pages.
The background images are too large to store on the ESP8266, so those are linked from my server.