Skip to content

Mobile apps

Native apps for iPhone and Android show your library’s Dashboard on your phone: the metrics with their changes, the storage forecast, the top re-encode candidates, outliers and changes, and the detail of any series you tap. They are read-only, and they never see your Sonarr URL or API key.

Starting with 0.7.0 the container runs a third process next to the web app and the scheduler: the mobile API, on port 8502. It reads the same saved history as the web Dashboard, so the numbers match the web app. Each phone signs in with its own device token, which you can revoke at any time. See the API reference for the details.

  1. Map port 8502. Add -p 8502:8502 to docker run, or this line under ports: in docker-compose.yml:

    - "8502:8502"
  2. Make the API reachable over HTTPS. The apps refuse plain HTTP, so the token never travels in the clear. Pick one:

    • A reverse proxy with a public certificate (Caddy, Traefik, Nginx Proxy Manager…). Send /api (or a subdomain) to port 8502, then set:

      • SONARR_ANALYZER_PUBLIC_URL to the address the phones use, e.g. https://sonarr-analyzer.example.com;
      • FORWARDED_ALLOW_IPS to the proxy’s IP, so the sign-in limit sees each phone’s real address.

      See Security → Reverse proxy for examples.

    • A self-signed certificate generated by the app. Set SONARR_ANALYZER_TLS=self-signed, and add the name or IP your phone uses with SONARR_ANALYZER_TLS_HOSTNAMES (e.g. nas.local,192.168.1.10). The web app moves to HTTPS too, and your browser warns once about the certificate. The apps don’t trust it blindly: they pin its fingerprint when you pair.

  3. Away from home, a VPN such as Tailscale or WireGuard works with either option and needs no open ports.

  1. Open Settings → My profile in the web app and click Add mobile device.
  2. Check the Server address: it’s the address the phone will use, not necessarily the one in your browser.
  3. In the app, choose Scan QR code and scan it.

The code is valid for 5 minutes and works once. Opening the dialog again creates a new code. With a self-signed certificate the QR also carries the certificate’s fingerprint, so the app checks it without asking you.

  1. In the app, choose Enter server address and type it (https:// is added if you leave it out).

  2. With a self-signed certificate, the app shows a fingerprint like 3517 52c1 2cb2 …. Compare it with the one under My profile → Mobile devices, or in the container logs:

    Terminal window
    docker logs sonarr-analyzer 2>&1 | grep fingerprint

    Tap Trust only if they match.

  3. Sign in with your usual username and password.

My profile → Mobile devices lists your phones with when each was added and last used. Revoke signs one out on its next request. Changing your password signs out all of them.

If the server’s certificate changes (for example, you deleted /app/data/tls), the apps refuse to connect until you pair them again. That protects you from someone impersonating your server.

When the server can’t be reached (or answers with an error), the apps show the last Dashboard they loaded, with an Offline banner and its date. Pull to refresh to try again.

Sonarr Analyzer v0.7.0 · GitHub · Docker Hub ·Report an issue

No trackers · MIT License · © Carlos Medina · Not affiliated with Sonarr