Skip to content
MagicMirror Module to display alertR sensor alerts on the mirror.
JavaScript CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


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

Magic Mirror Module alertR Sensors

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


(The module on the bottom right of the mirror)


  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 # 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',


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.


You can’t perform that action at this time.