The application follows a standard Android client-server architecture. It communicates locally with the router via the local LAN IP address and remotely via Xiaomi’s cloud servers.
If the app shows the router as offline despite having internet, restart the router or check the system indicator lights (which should ideally be solid blue).