Pushover notification for Transmission

Pushover

I have transmission-damemon running headlessly on my NAS server and I have set up a Pushover notification for the completed downloads:

#!/bin/sh

TOKEN="Secret_Token"
USER="Unique_User_ID"

/usr/local/bin/curl -s \
 --form-string "user=$USER" \
 --form-string "token=$TOKEN" \
 --form-string "message=Kesz: $TR_TORRENT_NAME" \
 https://api.pushover.net/1/messages.json

You can enable this script adding the following line to settings.json:

    "script-torrent-done-enabled": true,
    "script-torrent-done-filename": "/usr/local/etc/transmission/home/bin/pushover.sh",

I also use Pushover for the smartmontools daily checks, but instead of using sophisticated scripts like above I have used the relay eamil address provided by the Pushover service. It works great and helped me to detect a usb cable issue.