I am moving away from Discord in favor of Gotify. Unfortunately, I'm told there is no mobile app for iOS. Even though there is a Gotify template for Unpackerr, I could not get it working. Other than that, I like it much more.
There are so many ways to get notifications, there could be an entire wiki dedicated to that alone. For simplicity's sake, we are going to go with Discord here. The prerequisite here is that you have signed up for a Discord account.
Start by launching Discord and set up a private server, calling it whatever you want. Follow the steps:
Click “Create My Own”
Add a Text Channel. Slide the slider to Private Channel. Skip the step when it asks you to add moderators.
Now that we have a Discord server to push to, let's enable TrueNAS to notify us of alerts.
Since all the *arrs are basically the same UI, we will follow the same steps for all of them.
I suggest you deselect some of the check boxes though, otherwise you will be getting alerts all the time. Usually I just have grab, import, added, health issue, and manual interaction to keep the noise down.
Since this is command line, it will be a little uglier, but no less difficult.
If you are using Docker, you will see the section for Webhook in the config file. These are the values which need to be modified:
Config Name | Variable Name | Default / Note |
---|---|---|
webhook.url | UN_WEBHOOK_0_URL |
paste your Discord webhook URL here |
webhook.name | UN_WEBHOOK_0_NAME |
call this Discord |
webhook.nickname | UN_WEBHOOK_0_NICKNAME |
leave default |
webhook.channel | UN_WEBHOOK_0_CHANNEL |
leave default |
webhook.timeout | UN_WEBHOOK_0_TIMEOUT |
leave default |
webhook.silent | UN_WEBHOOK_0_SILENT |
leave default |
webhook.ignore_ssl | UN_WEBHOOK_0_IGNORE_SSL |
leave default |
webhook.exclude | UN_WEBHOOK_0_EXCLUDE |
leave default |
webhook.events | UN_WEBHOOK_0_EVENTS |
leave default |
webhook.template_path | UN_WEBHOOK_0_TEMPLATE_PATH |
leave default |
webhook.template | UN_WEBHOOK_0_TEMPLATE |
use “discord” |
webhook.content_type | UN_WEBHOOK_0_CONTENT_TYPE |
leave default |
In TrueNAS, we only need to add 3 values in the Extra Environment Variables for Unpackerr:
Name | Value |
---|---|
UN_WEBHOOK_0_URL | enter webhook here |
UN_WEBHOOK_0_NAME | Unpackerr/Discord |
UN_WEBHOOK_0_TEMPLATE | discord |
If you do not have the Premium version of Emby, this will not work because it requires an add-on
Field | Value |
---|---|
Name | Emby |
LabelDiscordWebhookUrl | paste webhook here |
LabelWebhookUsername | Emby |
Events | select the events you want to be notified for |
External | select the last 2 checkboxes for External | External Notification via Emby Server API |