By following this article of IoT home automation using the ESP8266 you can create a customized smart home solution tailored to your needs.