An open API service indexing awesome lists of open source software.

https://github.com/qb4-dev/mmm-pir-compliments

MagicMirror module to show/hide Compliments using PIR motion sensor
https://github.com/qb4-dev/mmm-pir-compliments

magicmirror raspberrypi

Last synced: about 1 month ago
JSON representation

MagicMirror module to show/hide Compliments using PIR motion sensor

Awesome Lists containing this project

README

          

# MMM-PIR-Compliments
This is an extension for the [MagicMirror](https://github.com/MichMich/MagicMirror). It uses the USER_PRESENCE notification of [MMM-PIR-Sensor](https://github.com/paviro/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.
4. Reboot your MagicMirror.

## Using the module

To use this module, add it to the modules array in the `config/config.js` file:
````javascript
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