Synology - Pushover notification integration

Tutorial Synology - Pushover notification integration

For a complete article: https://www.blackvoid.club/pushover-notifications-for-all-your-needs/

Configure Pushover with your Synology NAS​

To make this work, there are two ways to do it. The reason I will present both is that sometimes, one might not work for you, and the other will. I haven't looked into that much but just saying.
The result for both cases will be a push notification even though one method will use the push notification settings and the other SMS (yes, SMS).
In any case, these are all some sort of hacks if you will, but as I said, you will still get a classic push notification and not an email or a text message.
Make sure to have a mobile Pushover app installed on your device and follow along.

Option 1 - email gateway​

In case you are using a system or app that doesn't support Pushover API you can use their email gateway option.

STEP01 - create an email alias​

After you have created an account with Pushover, as soon as you land on their main page you will see several categories. One of those will be Your E-mail Aliases (Create an E-mail Alias).
Click on the Create an E-mail Alias and on the next page just click the button on the bottom, Create E-mail Alias. This will generate an email alias that will look something like this:

[email protected]

STEP02 - configure DSM to use Pushover email alias​

Now open up Control Panel > Notifications on your NAS and switch over to the Push Service tab.
Enter the alias email as the recipient value:

Screenshot-2021-03-29-at-13.39.38.png


Click Apply on the bottom and then Send a test message button to see if the configuration has taken place.
You should get a notification on your Pushover app, but also you will have a link telling you to visit it to confirm this notification (this is a one-time action). Once you have done that, you will get a notification about a successful configuration similar to this one:

IMG_CC181E6F8358-1.jpg

Once you have configured this, be sure to switch over to the Advanced tab and select all the Email categories that you want to receive:

Screenshot-2021-03-29-at-13.48.34.png


Option 2 - SMS workaround method​

This trick has been around for a while. Considering that Pushover can't be configured out-of-the-box as an SMS provider, we will make a custom one and call upon Pushover API that will convert all DSM notifications and push them towards our Pushover account/device.

STEP01 - create an SMS Pushover agent​

Go to DSM Control Panel > Notifications and switch over to the SMS tab. Click the Add SMS service provider button to begin the wizard.

Screenshot-2021-03-29-at-13.54.40.png


In the first step, enter the Provider name, SMS URL, and the HTTP method. For this case, it will be configured as you can see on the image. Use https://api.pushover.net/1/messages.json as the URL value and click Next.
On the Edit HTTP request header page, leave everything blank and click Next.
The third step is the Edit HTTP request body and here we need to configure four (4) parameters.

Code:
user
token
phone
message=hello world

So only the message parameter needs to have a value of hello world.

Screenshot-2021-03-29-at-13.58.39.png


On the following page we need to map the parameters with the dropdown categories:

Screenshot-2021-03-29-at-14.01.59.png


Finally, click Apply and you will return to the main SMS configuration panel.

STEP02 - Configure Pushover SMS provider​

Now we just need to configure the provider with your Pushover parameters (User Key and Application token).
First, we need to go to the Pushover site and create the application token. At the bottom of the Pushover site, you will have Your Applications (Create an Application/API Token).
Click the Create an Application/API Token link to start making the new app token.

Screenshot-2021-03-29-at-14.07.32.png

Enter the Name that you want and if you want click the Icon to insert an icon that you want to represent your notifications. I encourage you to do it as it will be a nice addition to your push list to make it stand out. Finally, click the Create Application button to complete the process.
Now clicking on your new app, you will be presented with the detail page about this app that includes the application token parameter. This is the parameter that we will use now to configure our SMS provider.
Alongside this token, you also need your user key that you can find on the main page of Pushover in the upper right corner. With these two parameters, you are now ready to configure the provider.

Screenshot-2021-03-29-at-14.14.07.png

The username value needs to be your Pushover user key while the password value is your application token.
The phone number needs to be configured but it will not be used, so you can enter anything you want. Finally, click Apply and then Send a test SMS message button.
You should be getting a notification similar to this:

IMG_77565B4EDD4E-1.jpeg

That's it, all done. As you can see the process is not that complicated and you will end up using multiple applications in your Pushover configuration for each custom app or NAS that you want to be configured in this manner.
In the end, once you configure Pushover with multiple services you will get something similar to this:
IMG_F5B5EB500D1B-1.jpg


Also, will just mention some apps and services that I use this platform with, just so you can get the idea:

Code:
Plex (via Tautulli) - streaming notifications
Sonarr and Radarr - new media content
Grafana - high CPU usage
DIUN - new Docker image notifications
DSM NAS notifications - System, HyperBackup, Snapshots, etc...
Related resources



Similar resources

Josh Adams on the Synology Community provides this useful how-to
0.00 star(s) 0 ratings
Updated
0.00 star(s) 0 ratings
Updated
How to monitor, control, damage check of disks in your Synology NAS jeyare
this resource is useful for all categories Syno NAS users, except I don't care segment
0.00 star(s) 0 ratings
Updated
A one-of-a-kind resume builder that keeps your privacy in mind
0.00 star(s) 0 ratings
Updated
Migrating existing Ubiquiti UniFi Controller to Docker in Synology NAS jeyare
Migrating existing Ubiquiti UniFi Controller to Docker in Synology NAS
0.00 star(s) 0 ratings
Updated
Native macOS Finder integration with Synology Universal Search Robbie
Using macOS Finder's native search engine with a Synology NAS
5.00 star(s) 2 ratings
Updated
5.00 star(s) 1 ratings
Updated
Back
Top