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.

Notifications API for SimpleFeatures

Featured Replies

Now included in SimpleFeatures.

 

screenshot-notification.png

 

Developers:

 

Click link below to see how to add a notification to the webGui!

http://code.google.com/p/unraid-simplefeatures/wiki/NotificationsDeveloperInformation

 

 

On thing I'd love to see in unRAID is an API for notifications. EG, allow a place to push information/events in XML or JSON array so someone can code a notifications plugin and pick it up.

 

This would allow the user to view events that they may have missed in the webgui. Could also potentially allow that information to be passed to email (user set).

 

What do you think?

Best is use Notifo ... API is Open and you will be have already clients for all platform (windows, mac, linux, and smartphones .. android, iOS etc)

 

http://notifo.com/

 

https://api.notifo.com/

 

This look something like this :)

 

7b.png

 

7c.png

 

Nice will be add this service to unRaid

  • Author

I suspect notifo could be used as a plugin to enhance the underlying unRAID notification API?

 

Would rather something built into unRAID - otherwise you rely on notifo API and the changes they might make. All that needs to be done is have a PHP file that takes information posted to it, and pushes it out into a format/file that's usable by every plugin developer. Once a notification has been accepted by someone, have that API archive that message.

  • Author

I thought I might have a crack at this..  So here's my scope so far.

 

1. Developer calls on /plugins/notifications/notifications.php?add

 

• add.php will accept JSON post array for: Source Plugin, Subject, Description, Timestamp, Importance, Type (eg email, webGui, both)

• Once added, a file is generated and stored on the flash drive, say /boot/config/plugins/notifications/unread/1-*plugin*-*timestamp*.notification

 

2. On page load a javascript plugin will page /plugins/notifications/notifications.php?get and get any unread notifications, parse them and push them back to be displayed as a growl like notification

 

3. When someone closes the notification /plugins/notifications/notifications.php?archive will archive the notification into /boot/config/plugins/notifications/archived

 

Any suggestions or improvements?

  • Author

The majority of the backend work has been completed, ready for testing. Here's a screenshare of how it works:

 

http://unraid-simplefeatures.googlecode.com/files/notifications.mov

 

It's really easy for a developer to create a notification, they just need to post some values to /plugins/notifications/notify.php, and the notification is created You can specify if you want it emailed as well.

Please make the area where these messages are stored configurable.

I would not want them to be on my flash.

Best is use Notifo ... API is Open and you will be have already clients for all platform (windows, mac, linux, and smartphones .. android, iOS etc)

 

Er, I loved using Nofio until I couldn't... They stopped development in September.

  • Author

Please make the area where these messages are stored configurable.

I would not want them to be on my flash.

 

Easily done

I like the idea.

 

Is it possible to add some more functions, such as search, delete, purge ?

 

Perhaps a configuration setting specifying how notifications appear (and where)?

 

Good luck and thanks for your efforts.

  • Author

Absolutely - I'll create a plugin page for this and will provide a sortable table for archived notifications :)

speeding_ant, this is very cool.  How grand is your vision?  Any thought to tapping into desktop notification services, such as Growl?  That would be a pretty slick feature!

  • Author

Tapping into growl would be very easy. Unfortunately the PHP that is included with unRAID doesn't support a number of the built in functions to make this work.

 

Once that has been fixed, then this would be possible  :)

  • 3 months later...

I'd love to dump email and use a proper notification system, I've been using Pushover with CouchPotato and Sickbeard.  It is super easy to send notifications via simple URLs and it's fast and reliable. 

Personally, I'd love to see Growl integration, as there are a large amount of apps out there that integrate with it already... then you can use all the other addons like Prowl etc as well. 

 

http://www.growl.info

  • 5 months later...

you seem to have moved the location of the notify.php and notify.sh scripts. could you please update your wiki?

as far as i see, the scripts are now in /plugins/simpleFeatures/include/

 

i'm going to make use of this notification feature in my plugins (with a check, so that it is only run when simplefeatures is installed). so thanks for this :)

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.