Distance Measurement of ESP8266 for Control and Monitoring in Smart Home Application