Read-only Starlink monitoring for Prometheus and Home Assistant. Local and cloud sources.
139
StarlinkBridge is a read-only monitoring bridge for one Starlink dish. It reads the dish over local gRPC or the consumer Starlink cloud and serves Prometheus metrics, a JSON status endpoint, and optional Home Assistant MQTT Discovery.
The useful dish-specific readings include power consumption, outage causes and durations, obstruction data, heating and thermal alerts, physical alignment, firmware state and uptime. Traffic, latency and loss are also available. It never sends a dish command.
linux/amd64 and linux/arm64, published as rcooler/starlink-bridge with each tagged release.auto mode, Prometheus metrics, the /api/v1/status JSON snapshot, Home Assistant MQTT Discovery, and multi-arch images.Full history: GitHub Releases
services:
starlink-bridge:
image: rcooler/starlink-bridge:latest
restart: unless-stopped
ports:
- "9091:9091"
read_only: true
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
environment:
# local, cloud, or auto (local first, cloud as fallback)
STARLINK_MODE: "cloud"
STARLINK_LOCAL_ADDRESS: "192.168.100.1:9200"
STARLINK_POLL_INTERVAL: "60s"
# Required only when the account has more than one dish.
# STARLINK_DEVICE_ID: ""
STARLINK_COOKIE_FILE: "/app/config/starlink.cookie"
STARLINK_COOKIE_STATE_FILE: "/app/data/cookies.json"
STARLINK_MQTT_ENABLED: "false"
# STARLINK_MQTT_BROKER: "tcp://homeassistant.local:1883"
# STARLINK_MQTT_USERNAME: "starlink"
# STARLINK_MQTT_PASSWORD: "change-me"
volumes:
- ./secrets:/app/config:ro
- ./data:/app/data
The container runs as UID/GID 10001: ./data must be writable by that user and stay on a persistent volume.
STARLINK_MODE=local): needs network access to the dish at 192.168.100.1:9200. No account is involved.STARLINK_MODE=cloud): needs internet access and an authenticated Starlink browser session. Save the Cookie request-header value from a signed-in Starlink account request into ./secrets/starlink.cookie (one line, no quotes). The bridge keeps the rotating session in ./data/cookies.json. Do not sign out of the browser session that supplied the cookie.STARLINK_MODE=auto): tries local first and falls back to cloud after a local failure.Step-by-step cookie instructions and every option: configuration guide · Compose example · NAS deployment notes
- job_name: 'starlink'
scrape_interval: 60s
static_configs:
- targets: ['starlink-bridge:9091']
Scraping never polls Starlink; /metrics serves the cached snapshot.
http://localhost:9091/metrics
http://localhost:9091/api/v1/status
http://localhost:9091/healthz
http://localhost:9091/readyz
/api/v1/status and the metrics are unauthenticated. Keep port 9091 on a private network.starlink.cookie with a fresh Cookie header.MIT licensed. StarlinkBridge is an independent project and is not affiliated with, endorsed by, or sponsored by SpaceX or Starlink. Product names are trademarks of their respective owners and are used only to describe compatibility and integration.
Content type
Image
Digest
sha256:6e1df0a0f…
Size
9.6 MB
Last updated
16 days ago
docker pull rcooler/starlink-bridge