Skip to content

MagicMirror module to show/hide Compliments using PIR motion sensor

License

Notifications You must be signed in to change notification settings

QB4-dev/MMM-PIR-Compliments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

MMM-PIR-Compliments

This is an extension for the MagicMirror. It uses the USER_PRESENCE notification of MMM-PIR-Sensor to display the compliments module for a specified time. This module is simplified version of https://github.com/semox/MMM-NearCompliments

Installation

  1. Navigate into your MagicMirror's modules folder and execute git clone https://github.com/QB4-dev/MMM-PIR-Compliments.
  2. Configure config/config.js with documentation below.
  3. Reboot your MagicMirror.

Using the module

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

modules: [
	{
		module: 'MMM-PIR-Compliments',
		config: {
		    animationSpeed: 200,
		    delay: 10
		}
	}
]

Configuration Options

The following properties can be configured:

Option Description
animationSpeed Animation speed in ms to show/hide compliments module.
Possible values: int
Default value: 200
delay Delay defined in seconds to show compliments module.
Possible values: int
Default value: 30

About

MagicMirror module to show/hide Compliments using PIR motion sensor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published