WiFi door lock