All configuration options for MMM-Remote-Control.
{
module: 'MMM-Remote-Control',
position: 'bottom_left', // Optional: shows IP address on mirror
config: {
customCommand: {}, // See Custom Commands
showModuleApiMenu: true,
secureEndpoints: true,
// customMenu: "custom_menu.json",
// apiKey: "",
// classes: {}
}
},Show the module control menu in the web interface.
config: {
showModuleApiMenu: true, // Default: true
},Show the notification menu in the web interface.
config: {
showNotificationMenu: true, // Default: true
},Protect your API with an authentication key. See API Documentation for details.
config: {
apiKey: 'your-secret-api-key',
},When no apiKey is set, some dangerous endpoints (shutdown, install modules) are blocked by default. Set to false to allow all endpoints without authentication.
config: {
secureEndpoints: true, // Default: true
},Override default shell commands. See Custom Commands and Monitor Control.
config: {
customCommand: {
shutdownCommand: 'sudo shutdown -h now',
rebootCommand: 'sudo reboot',
monitorOnCommand: 'vcgencmd display_power 1',
monitorOffCommand: 'vcgencmd display_power 0',
monitorStatusCommand: 'vcgencmd display_power -1',
},
},Load a custom menu from a JSON file. See Custom Menus.
config: {
customMenu: "custom_menu.json",
},Group modules to show/hide together. See Classes.
config: {
classes: {
"Day Mode": {
show: ["clock", "weather"],
hide: ["screensaver"],
},
},
},Setting a position displays the mirror's IP address on screen. You can hide it later from the module menu.
{
module: 'MMM-Remote-Control',
position: 'bottom_left', // or comment out to hide
config: {}
},