Displays and alerts mirror users on new phone notifications
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Latest commit 218946e Mar 31, 2018

README.md

Phone Notification - Mirror

Displays and alerts mirror users on new phone notifications.

Phone Visualization

Getting Started

Firstly, a Pushbullet app is required on the phone. After downloading and installing the application on your phone, get a Pushbullet Access Token from your Account Settings.

Installing the module

To install the module, just clone this repository to your modules folder: git clone https://github.com/ronny3050/phone-notification-mirror.git phone_notification. Then run cd phone_notification and npm install which will install the dependencies.

Using the module

To use this module, add it to the modules array in the config/config.js file:

	{
		    module: 'phone_notification',
            position: 'bottom_right',
            header: 'Phone Notifications',
            config:{
                accessToken: 'YOUR_ACCESS_TOKEN',
                numberOfNotifications: 5,
                displayNotificationIcon: true,
                displayMessage: true,
                displayCount: false,
                alert: false,
                fade: true,
                maxCharacters: 50
            }
	},

Configuration options

The following properties can be configured:

Option Description
accessToken Your Pushbullet Access Token
numberOfNotifications Number of notifications to display at a time

Default value: 5
If set to 0, no notification messages will be displayed.
displayNoticiationIcon Display app icon that generated the notification

Possible values: true or false
Default value: true
displayMessage Display body of the notification

Possible values: true or false
Default value: true
displayCount Display notification count

Possible values: true or false
Default value: true
alert Show alerts on new notification

Possible values: true or false
Default value: true
Please note that this requires the alert module to be present in the config file. For instance, modules: [ { widget: 'alert' } ]
fade Fade older notifications to black. (Gradient)

Possible values: true or false
Default value: true
maxCharacters Number of characters to display per notification body

Default value: 50