All Projects → Lavve → MMM-MagicMover

Lavve / MMM-MagicMover

Licence: MIT License
MagicMirror² module to avoid screen burn-in

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to MMM-MagicMover

MMM-MotionDetector
This is a motion detector module for MagicMirror
Stars: ✭ 32 (+52.38%)
Mutual labels:  magicmirror, magicmirror2
MMM-forecast-io
Forecast.io Module for MagicMirror
Stars: ✭ 58 (+176.19%)
Mutual labels:  magicmirror, magicmirror2
MMM-EmbedYoutube
Embed youtube video for MagicMirror
Stars: ✭ 29 (+38.1%)
Mutual labels:  magicmirror, magicmirror2
MMM-mvgmunich
MagicMirror² Module to monitor public transport (U-bahn, tram, bus, S-Bahn) in Munich
Stars: ✭ 21 (+0%)
Mutual labels:  magicmirror, magicmirror2
MMM-network-signal
MagicMirror2 solid network status
Stars: ✭ 31 (+47.62%)
Mutual labels:  magicmirror, magicmirror2
mmpm
MagicMirror Package Manager
Stars: ✭ 104 (+395.24%)
Mutual labels:  magicmirror, magicmirror2
WallberryTheme
Bringing the WallberryTheme to MagicMirror²
Stars: ✭ 94 (+347.62%)
Mutual labels:  magicmirror, magicmirror2
MMM-OpenmapWeather
This module loads current weather as images on Magic Mirror
Stars: ✭ 18 (-14.29%)
Mutual labels:  magicmirror, magicmirror2
MMM-Bring
A module for the MagicMirror that displays your Bring! shopping list.
Stars: ✭ 18 (-14.29%)
Mutual labels:  magicmirror, magicmirror2
freshubuntu
Handy things for setting up a new Ubuntu 16.04 - 20.04 server
Stars: ✭ 15 (-28.57%)
Mutual labels:  screen
tmux-slay
TMUX script to run commands in a background session. Similar to abduco/dtach.
Stars: ✭ 18 (-14.29%)
Mutual labels:  screen
flutter scale aware
🎗 Scale-based layouts with a bit more ease, powered by extensions.
Stars: ✭ 26 (+23.81%)
Mutual labels:  screen
screencast
Interface to record a X11 desktop
Stars: ✭ 91 (+333.33%)
Mutual labels:  screen
MirrorMirrorOnTheWallSkill
Alexa skill for controlling a MagicMirror²
Stars: ✭ 37 (+76.19%)
Mutual labels:  magicmirror
LayerX
An intuitive app to display transparent images on screen.
Stars: ✭ 136 (+547.62%)
Mutual labels:  screen
ScreenRotator
Automatic screen rotation daemon for X11
Stars: ✭ 55 (+161.9%)
Mutual labels:  screen
ZFScreenRecorder
录屏,支持暂停、取消
Stars: ✭ 38 (+80.95%)
Mutual labels:  screen
YellowDot
Hide the macOS yellow recording dot in the corner of your screen
Stars: ✭ 21 (+0%)
Mutual labels:  screen
macos-blank-screensaver
Blank (black) screensaver for MacOS
Stars: ✭ 27 (+28.57%)
Mutual labels:  screen
Mosque-Screen
Chat: https://discord.gg/CG7frj2 - Email: [email protected]. We do not provide any support, this is a volunteer-based project therefore we cannot commit to any time to resolve local issues.
Stars: ✭ 54 (+157.14%)
Mutual labels:  screen

MMM-MagicMover

A module for MagicMirror² to prevent screen burn-in.

Install

  1. Clone repository into the MagicMirror/modules/ folder.
cd ~/MagicMirror/modules
git clone https://github.com/Lavve/MMM-MagicMover
  1. Add the module to the MagicMirror config.js, preferabley before the other modules. If you want to use the default settings you can skip adding the config node.
{
  module: "MMM-MagicMover",
  config: {
    updateInterval: 10 * 60 * 1000,
    ignoredRegions: [],
    maxMove: 15,
  }
},

(Note that the 'position' and 'header' nodes are not used, and is obsolete even if added to config)

Configuration options

Configuration Default Type Description
updateInterval 10 * 60 * 1000 int Time in milliseconds before next movement
ignoredRegions [] array An array with regions that will not be affected by MMM-MagicMover. Possible values are the same used in config.js:

'top_bar', 'top_left', 'top_center', 'top_right', 'upper_third', 'middle_center', 'lower_third', 'bottom_left', 'bottom_center', 'bottom_right', 'bottom_bar', 'fullscreen_above' and 'fullscreen_below'.

You can still use the class names for each region, like '.region.top.center'.

Also the alert module modals are available for exluding:
'.ns-box' and '.ns-alert'.
maxMove 15 int Amount of pixels the container is moved based on default position

Enable/disable/toggle MMM-MagicMover module

To enable/disable/toggle MMM-MagicMover from other modules use the following codes:

this.sendNotification('MAGIC_MOVER_ON', {});
this.sendNotification('MAGIC_MOVER_OFF', {});
this.sendNotification('MAGIC_MOVER_TOGGLE', {});

History

  • 3 March 2022: Major optimizations and clean up
  • 1 February 2022: Changed to same names for regions as used in config.js. Also reduced default movement from 20px to 15px.
  • 6 December 2021: Bug fixes and imporovements. Added notification settings

TODO

  • Use same names for regions as in config.js

Collaborate

Pull requests, translations and suggestions for improvements are more than welcome.

Donations

🍻 Buy me a beer if you like my modules! ❤️

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].