servarr-lametric is a Docker Mod designed for the LinuxServer.io Docker containers for the *Arr suite of applications. It uses the apps' 'Custom Script' connection to send various notifications to a LaMetric TIME device in your local network.
Note
The script currently only supports Linux.
| Application | Supported |
|---|---|
| Sonarr | ✅ |
| Radarr | ✅ |
| Readarr | ✅ |
| Lidarr | ✅ |
| Whisparr | ❌ |
| Prowlarr | ✅ |
-
Set up your container with all the settings using your preferred method.
-
Add the
DOCKER_MODS=ghcr.io/marshdeer/servarr-lametric:main,LAMETRIC_API=LAMETRIC_API_KEYandLAMETRIC_IP=LAMETRIC_IP>environment variables to your desired container.-
Docker Compose example
services: radarr: image: lscr.io/linuxserver/radarr container_name: radarr environment: - PUID=1000 - PGID=1000 - TZ=Antarctica/South_Pole - DOCKER_MODS=ghcr.io/marshdeer/servarr-lametric:main - LAMETRIC_API=LAMETRIC_API_KEY - LAMETRIC_IP=LAMETRIC_IP volumes: - /path/to/data:/config - /path/to/movies:/movies - /path/to/downloadclient-downloads:/downloads ports: - 7878:7878 restart: unless-stopped
-
Docker Run example
docker run -d \ --name=radarr \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Antarctica/South_Pole \ -e DOCKER_MODS=ghcr.io/marshdeer/servarr-lametric:main \ -e LAMETRIC_API=LAMETRIC_API_KEY \ -e LAMETRIC_IP=LAMETRIC_IP \ -p 7878:7878 \ -v /path/to/data:/config \ -v /path/to/movies:/movies \ -v /path-to-downloadclient-downloads:/downloads \ --restart unless-stopped \ lscr.io/linuxserver/radarr
-
-
Start the container.
-
Add a custom script from the *Arr application's "Connection" page.
- Select your desired notification triggers.
- Type
/usr/local/bin/servarr-lametric.shinto the field labeled "Path". - Click the "Test" button and make sure your LaMetric device shows the test notification correctly.
Tip
You can find your device's IP address in the LaMetric app's settings.
You can find your device's API key via the LaMetric Developer Portal (any device) or the LaMetric app (2022+ devices).
Important
Don't forget to set LAMETRIC_API and LAMETRIC_IP! The script will not work if they are not set correctly.
To completely remove the mod:
- Delete the "Custom Script" connection you created in the *Arr application's Settings > Connect screen.
- Stop and delete the application's Docker container.
- Remove the
DOCKER_MODS,LAMETRIC_APIandLAMETRIC_IPenvironment variables from yourdocker-compose.yamlfile. (Or don't add them when you next usedocker runto re-create the *Arr application's container)

