-
-
Notifications
You must be signed in to change notification settings - Fork 28
Status, Hide, Show MagicMirror Modules
The MMM-mmpm module enables hiding/showing of MagicMirror modules.
Install through the CLI:
mmpm install MMM-mmpm
Once the MMPM MagicMirror module is installed, you will need to add it to the modules array in config/config.js
, which can be edited through the CLI using mmpm open --config
, or in the Config Editor tab of the GUI. You can see an example of the MMPM module added to the modules array below.
let config = {
// other settings
ipWhiteList = [], // this is recommended to make things simple
modules = [
// ... other modules
{ module: "MMM-mmpm" }
]
}
You can check your current configuration in the CLI by running mmpm env
, or in the Config Editor of the UI. You can edit the values in the Config Editor or by running mmpm open --env
.
MMPM_MAGICMIRROR_URI
should be set to the IP address of the device hosting MagicMirror (which should also be the same device you installed MMPM on). Do not leave this set to the default value http://localhost:8080
. You can see an example below:
{
"MMPM_MAGICMIRROR_ROOT": "/home/pi/MagicMirror",
"MMPM_MAGICMIRROR_URI": "http://192.168.0.192:8080",
"MMPM_MAGICMIRROR_PM2_PROCESS_NAME": "",
"MMPM_MAGICMIRROR_DOCKER_COMPOSE_FILE": "",
"MMPM_IS_DOCKER_IMAGE": false
}