Synology NAS - How to get alerts on new software updates via Discord!
In this quick tutorial I'll show you how easy it is in to monitor a website for new software version releases and connect Discord for push notifications.
We will use Synology NAS in our little example, Synology have been continuously releasing great features and super stable software in recent years.
Ofcourse, what is cool is that you should install changedetection.io on your Synology NAS (check out the link to Marius's fantastic article on setting up changedetection.io on your Synology NAS)
So let's go!
Add your favourite Synology product page's software update page URL to monitor, in this example we have the DS723, but the same recipe applies for pretty much all of their range, (we tested with DS723+, DS920+ etc)
Now your overview list should look something like below (We clicked [edit] then ticked the "Use <title> as title of the watch" option so it's a little easier to read)
Now the Synology NAS website has a lot of extra information in the footers and headers, using the Visual Selector tool available under [edit] we simply select the actual content area
You can see that changedetection.io has correctly identified //*[@id="release_notes_content"] as the place where the the content lives (this is the area of the web page that would be used for change detection)
Now when Synology NAS release a new version/update you should be able to see the differences
To have a bot send notifications to your server’s channel you need to paste in the following "Notification URL" in the notification settings
discord://webhook_id/webhook_token
To get a webhood_id
and a webhook_token
. Click the settings icon beside the chat and click Integrations
.
Then click View Webhooks
, then New Webhooks
you can change the name of the bot if you like and copy the Webhook URL
. It will usually be called by default "Spidey bot"
Then "Copy Webhook URL" (This is now the "Notification URL" in changedetection.io)
Simply paste that under the Notification settings of the watch (or global settings)
We recommend you try the "Send test notification" button to confirm everything is working as expected.
And there you have it! Now you'll receive push notifications of the changes/updates in the Synology NAS software releases page via Discord
Have fun!