Skip to content

sqall01/MMM-alertRsensoralerts

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Magic Mirror Module alertR Sensors

This module for the MagicMirror shows the sensor alerts of the alertR monitoring and alarm system.

MagicMirror

(The module on the bottom right of the mirror)

Installation

  1. This module needs the alertR Manager Client Database to communicate with the alertR system. Please follow this tutorial to install and configure it.

  2. This module needs the npm mysql module installed:

npm install mysql
  1. Execute the following commands to install the module:
cd ~/MagicMirror/modules # navigate to module directory of your magic mirror
git clone https://github.com/sqall01/MMM-alertRsensoralerts.git # clone this module
  1. Add the following into the modules section of your config/config.js file:
{
        module: 'MMM-alertRsensoralerts',
        position: 'top_right', // This can be any of the regions
        config: {
            // See 'Configuration options' for more information
        }
},

Configuration options

The following properties can be configured:

Option Description
host The host the MySQL server is running on.

Example: 'localhost'
user The user to connect to the MySQL server.

Example: 'root'
password The password to connect to the MySQL server.
database The database used by the MySQL server.

Example: 'mm_alertr'
numberSensorAlerts The maximum number of sensor alerts that are allowed to be displayed.

Default value: 10

An example configuration could look like this:

{
        module: 'MMM-alertRsensoralerts',
        position: 'top_right', // This can be any of the regions
        config: {
                host: 'localhost',
                user: 'root',
                password: 'mysqlpassword',
                database: 'mm_alertr',
        }
},

Support

If you like this project you can help to support it by contributing to it. You can contribute by writing tutorials, creating and documenting exciting new ideas to use it, writing code for it, and so on.

If you do not know how to do any of it or do not have the time, you can support me on Patreon.

Patreon

About

MagicMirror Module to display alertR sensor alerts on the mirror.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published