Skip to content
API for sending notifications to your mirror.
JavaScript
Branch: master
Clone or download
slametps and paviro remove false example
remove false example
Latest commit 42a8c21 Apr 3, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
MMM-syslog.js add silent http parameter to syslog-call Apr 4, 2017
README.md remove false example Apr 4, 2017
node_helper.js add silent http parameter to syslog-call Apr 4, 2017

README.md

MMM-syslog

Notification API Module for MagicMirror2

Example

Dependencies

Installation

  1. Clone this repo into ~/MagicMirror/modules directory.

  2. Configure your ~/MagicMirror/config/config.js:

    {
        module: 'MMM-syslog',
        position: 'top_right',
        config: {
            ...
        }
    }
    

Config Options

Option Default Description
max 5 How many messages should be displayed on the screen.
format false Displays relative date format, for absolute date format provide a string like 'DD:MM HH:mm' All Options
types {INFO: "dimmed", WARNING: "normal", ERROR: "bright"} Object with message types and their css class.
shortenMessage false After how many characters the message should be cut. Default: show all.
alert true Display notification?

How to Use

Make an http get request like: http://MIRROR_IP:MIRROR_PORT/syslog?type=INFO&message=YOUR_MESSAGE&silent=true : no notification

You can’t perform that action at this time.