Try adding a buffering device between the lock and the hub. If the ping message is lost then it’ll show up offline. See this topic for details