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
- Host: GitHub
- URL: https://github.com/qb4-dev/mmm-pir-compliments
- Owner: QB4-dev
- License: mit
- Created: 2021-11-17T20:08:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-17T11:59:14.000Z (over 4 years ago)
- Last Synced: 2025-06-03T23:39:18.824Z (12 months ago)
- Topics: magicmirror, raspberrypi
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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