Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pushover Help

Featured Replies

hi guys, im setup the notification with pushover but is no working

 

i click enable then fill up the User Key, the app token, click apply then the pages reload and it just reset to blank again and no info get saving, i try like 4 times and have same results, i have select agent on Available notifications, can someone please tell me what im doing wrong

 

thanks in advanced

It's broken right now. You can add a pushover.sh file in /boot/config/plugins/dynamix/notifications/agents with this content:

 

#!/bin/bash
############
USER_KEY=""
APP_TOKEN=""
MESSAGE="$SUBJECT\n$DESCRIPTION"
############
MESSAGE=$(echo -e "$MESSAGE")
case "$IMPORTANCE" in
      'normal' )
        PRIORITY="-1"
      ;;
      'warning' )
        PRIORITY="0"
      ;;
      'alert' )
         PRIORITY="1"
      ;;
esac

curl -k -s \
      -F "token=$APP_TOKEN" \
      -F "user=$USER_KEY" \
      -F "message=$MESSAGE" \
      -F "timestamp=$TIMESTAMP" \
      -F "priority=$PRIORITY" \
      -F "html=1" \
      https://api.pushover.net/1/messages.json 2>&1

 

Please add the USER_KEY and APP_TOKEN variables.

  • Author

sorry is no working for me

 

i add the .sh file, on the USER_KEY="" do i have to remove the quotation marks?

and do i have to add the key here too -F "token=$HERE" \

 

thanks in advance

  • Community Expert

sorry is no working for me

 

i add the .sh file, on the USER_KEY="" do i have to remove the quotation marks?

and do i have to add the key here too -F "token=$HERE" \

 

thanks in advance

No and no.

 

Make sure you are using a text editor that will correctly save a file with Linux line endings. Notepad will not work. Many recommend Notepad++ which you will have to download.

  • Author

yeah i did use notepad++, gone try again

  • Community Expert

If it still doesn't work post the results of this

cat /boot/config/plugins/dynamix/notifications/agents/pushover.sh

  • Author

yeah is no working, i see now on the notification settings all my info, but i click test and nothing happen i am 100% sure i setup the right pushover info so i know thats no the problem, sorry but what do you mean with post the results, sorry english no my first language and thanks for you help

  • Community Expert

yeah is no working, i see now on the notification settings all my info, but i click test and nothing happen i am 100% sure i setup the right pushover info so i know thats no the problem, sorry but what do you mean with post the results, sorry english no my first language and thanks for you help

Can you telnet?
  • Author

yes

  • Author

#!/bin/bash

############

USER_KEY=""

APP_TOKEN=""

MESSAGE="$SUBJECT\n$DESCRIPTION"

############

MESSAGE=$(echo -e "$MESSAGE")

case "$IMPORTANCE" in

      'normal' )

        PRIORITY="-1"

      ;;

      'warning' )

        PRIORITY="0"

      ;;

      'alert' )

        PRIORITY="1"

      ;;

esac

 

curl -k -s \

      -F "token=$APP_TOKEN" \

      -F "user=$USER_KEY" \

      -F "message=$MESSAGE" \

      -F "timestamp=$TIMESTAMP" \

      -F "priority=$PRIORITY" \

      -F "html=1" \

      https://api.pushover.net/1/messages.json 2>&1root@Server:~#

 

i type this on putty cat /boot/config/plugins/dynamix/notifications/agents/pushover.sh, dont know if this is what you mean, i remove the keys

 

  • Community Expert

Not sure if that really tells me anything or not. I was mostly just trying to discover if you had ^M at the end-of-lines which would have indicated DOS line endings. Since I don't know how you got the output of the cat into your post I don't know any more than before. If you're sure you know how to save a Linux-line-ending text file with notepad++ I guess we can skip that.

 

What happens if you run the script from the command line?

  • Author

the way i save on note++, is save ass .sh file i dont know if that the right way to do it, sorry command line from where?

 

i test and send me a message from the pushover site and i got the message so i know for sure the info is correct

  • Community Expert

It's broken right now. You can add a pushover.sh file in /boot/config/plugins/dynamix/notifications/agents with this content:

 

#!/bin/bash
############
USER_KEY=""
APP_TOKEN=""
MESSAGE="$SUBJECT\n$DESCRIPTION"
############
MESSAGE=$(echo -e "$MESSAGE")
case "$IMPORTANCE" in
      'normal' )
        PRIORITY="-1"
      ;;
      'warning' )
        PRIORITY="0"
      ;;
      'alert' )
         PRIORITY="1"
      ;;
esac

curl -k -s \
      -F "token=$APP_TOKEN" \
      -F "user=$USER_KEY" \
      -F "message=$MESSAGE" \
      -F "timestamp=$TIMESTAMP" \
      -F "priority=$PRIORITY" \
      -F "html=1" \
      https://api.pushover.net/1/messages.json 2>&1

 

Please add the USER_KEY and APP_TOKEN variables.

 

If you actually attached this file up to a post it might help the OP to get it properly edited.  (I think you will have to add 'txt' to the file name so that you can upload it.)

  • Community Expert

the way i save on note++, is save ass .sh file i dont know if that the right way to do it, sorry command line from where?

 

i test and send me a message from the pushover site and i got the message so i know for sure the info is correct

 

I requested that gfjardim post up his file for you to use.  You might want to use EditPad Lite to edit it.  EditPad lite will 'look' at the actual file and figures out which of the line-ending combinations is required and uses the proper one!

  • Author

thanks guys, i try editpad lite and got the same results, i hope that gfjardim can help me and upload the file

 

anyways thanks for you help

  • Community Expert

thanks guys, i try editpad lite and got the same results, i hope that gfjardim can help me and upload the file

 

anyways thanks for you help

 

In EditPad lite, open up the file.  Make any editing changes that you require.  On the tool bar, click on the '  Convert '  menu.  Now select the ' To UNIX (LF only) ' choice in the dropdown box.  Now save the file.    (This does assume that you are using the English version of EditPad lite.)

It's been fixed on 6.1.9

 

Confirmed. No issues on 6.1.9.

  • Author

yeah working for me to on 6.1.9, thanks for you help guys

 

one thing when i send the test message i get the message but without sound, do you guys get sound on the test?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.