Water leak detection application: smart shaving to protect your home