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.

I think pushbullet is broken

Featured Replies

+1

any change for a quick fix?

  • Author

I'm also wondering...

I wonder if this is just another manifestation of a problem some have reported with getting UI settings to stick when using chrome browser.

If it's browser related it's not just Chrome, I'm exclusively using Safari.

I wonder if this is just another manifestation of a problem some have reported with getting UI settings to stick when using chrome browser.

 

Also doing a bit more digging but if you browse some of these recent threads, the notifications scripts stored in the /agents folder on the flash are empty, which would explain why nothing is happening.

Also doing a bit more digging but if you browse some of these recent threads, the notifications scripts stored in the /agents folder on the flash are empty, which would explain why nothing is happening.

 

The scripts are in /usr/local/emhttp/plugins/dynamix/include/NotificationAgents.xml

<?xml version="1.0" encoding="utf-8"?>
<Agents>
  <Agent>
    <Name>Boxcar</Name>
    <Variables>
      <Variable Help="Get your access token as explained [a href='http://help.boxcar.io/knowledgebase/articles/314474-how-to-get-my-boxcar-access-token' target='_blank'][u]here[/u].[/a]" Desc="Access Token" Default="">ACCESS_TOKEN</Variable>
      <Variable Help="Specify the fields which are included in the title of the notification." Desc="Notification Title" Default="$SUBJECT">TITLE</Variable>
      <Variable Help="Specify the fields which are included in the message body of the notification." Desc="Notification Message" Default="$DESCRIPTION">MESSAGE</Variable>
    </Variables>
    <Script>
      <![CDATA[
      #!/bin/bash
      ############
      {0}
      ############
      MESSAGE=$(echo -e "$MESSAGE")

      curl -s -k -d "user_credentials=$ACCESS_TOKEN" \
      -d "notification[title]=$TITLE" \
      -d "notification[long_message]=$MESSAGE" \
      -d "notification[source_name]=unRAID" \
      -d "notification[sound]=bird-1" \
      -d "notification[icon_url]=http://i.imgur.com/u63iSL1.png" \
      https://new.boxcar.io/api/notifications 2>&1
      ]]>
    </Script>
  </Agent>
  <Agent>
    <Name>Prowl</Name>
    <Variables>
      <Variable Help="Get your api key as explained [a href='https://www.prowlapp.com/api_settings.php' target='_blank'][u]here[/u].[/a]" Desc="Api Key" Default="">API_KEY</Variable>
      <Variable Help="Application name, e.g., unRAID Server." Desc="Application Name" Default="unRAID Server">APP_NAME</Variable>
      <Variable Help="Specify the fields which are included in the title of the notification." Desc="Notification Title" Default="$SUBJECT">TITLE</Variable>
      <Variable Help="Specify the fields which are included in the message body of the notification." Desc="Notification Message" Default="$DESCRIPTION">MESSAGE</Variable>
    </Variables>
    <Script>
      <![CDATA[
      #!/bin/bash
      ############
      {0}
      ############
      TITLE=$(echo -e "$TITLE")
      MESSAGE=$(echo -e "$MESSAGE")

      case "$IMPORTANCE" in
      'normal' )
      PRIORITY="0"
      ;;
      'warning' )
      PRIORITY="1"
      ;;
      'alert' )
      PRIORITY="2"
      ;;
      esac

      curl -s -k \
      -F "apikey=${API_KEY}" \
      -F "application=${APP_NAME}" \
      -F "event=${TITLE}" \
      -F "description=${MESSAGE}" \
      -F "priority=$PRIORITY" \
      https://api.prowlapp.com/publicapi/add 2>&1
      ]]>
    </Script>
  </Agent>
  <Agent>
    <Name>Pushbullet</Name>
    <Variables>
      <Variable Help="The Access Token can be found [a href='https://www.pushbullet.com/account' target='_blank'] [u]here[/u].[/a]" Desc="Access Token" Default="">TOKEN</Variable>
      <Variable Help="Specify the fields which are included in the title of the notification." Desc="Notification Title" Default="$SUBJECT">TITLE</Variable>
      <Variable Help="Specify the fields which are included in the message body of the notification." Desc="Notification Message" Default="$DESCRIPTION">MESSAGE</Variable>
    </Variables>
    <Script>
      <![CDATA[
      #!/bin/bash
      ##########
      {0}
      ##########
      MESSAGE=$(echo "$MESSAGE" | sed -e 's:<br[ /]*>:\\n:gI' -e 's/<[^>]*>//g')

      curl -s -k -X POST --header "Authorization: Bearer $TOKEN" \
      --header  'Content-Type: application/json' \
      -d "{\"type\": \"note\", \"title\": \"$TITLE\", \"body\": \"$MESSAGE\"}" \
      https://api.pushbullet.com/v2/pushes 2>&1
      ]]>
    </Script>
  </Agent>
  <Agent>
    <Name>Pushover</Name>
    <Variables>
      <Variable Help="The User Key can be found [a href='https://pushover.net/' target='_blank'][u]here[/u].[/a]" Desc="User Key" Default="">USER_KEY</Variable>
      <Variable Help="The App Token can be found [a href='https://pushover.net/apps' target='_blank'][u]here[/u][/a]." Desc="App Token" Default="">APP_TOKEN</Variable>
      <Variable Help="Specify the fields which are included in the message body of the notification." Desc="Notification Message" Default="$SUBJECT,$DESCRIPTION">MESSAGE</Variable>
    </Variables>
    <Script>
      <![CDATA[
      #!/bin/bash
      ############
      {0}
      ############
      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
      ]]>
    </Script>
  </Agent>
</Agents>

 

I set my pushbullet notifications up when these were first implemented, don't remember which version. In /boot/config/plugins/dynamix/notification/agents, the only file I have is pushbullet.sh, the one I am using, and it contains

#!/bin/bash
##########
TOKEN="this part is the token from my pushbullet account"
TITLE="$SUBJECT"
MESSAGE="$DESCRIPTION"

##########
MESSAGE=$(echo "$MESSAGE" | sed -e 's:<br[ /]*>:\\n:gI' -e 's/<[^>]*>//g')
curl -s -k -X POST --header "Authorization: Bearer $TOKEN" \
--header  'Content-Type: application/json' \
-d "{\"type\": \"note\", \"title\": \"$TITLE\", \"body\": \"$MESSAGE\"}" \
https://api.pushbullet.com/v2/pushes 2>&1

so the {0} part of the script gets filled in from the settings you make in the webUI.

 

Not really a fix but maybe you could work with that info to create the script yourself.

  • Author

Also tried with firefox and it isn't working either.

+1 i am having same problem.

Those with Pushbullet or Pushover issues, please update to unRAID v6.1.9 (strongly recommended), and report back here.

Those with Pushbullet or Pushover issues, please update to unRAID v6.1.9 (strongly recommended), and report back here.

 

Mine works fine now.

Those with Pushbullet or Pushover issues, please update to unRAID v6.1.9 (strongly recommended), and report back here.

 

Mine works fine now.

Thanks, and I've seen other reports too.  I'm going to mark this as solved.

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.