After a factory reset, please delete the lock from the app and add it again.
Visitor restriction is managed using the Visitor button. Switch the button to green to allow visitors.
A. Check your internet connection and make sure your WiFi router is on. B. Perform a reset on the hub.