Read the statement by Michael Teeuw here.
MMM-ModuleToggle
-
Description:
MMM-ModuleToggle can show or hide specific modules by sending a notification to the module. You can also define to toggle between show and hide and hide module on startup.
It can be easily combined with MMM-Buttons to hide or show modules with the press of a button. -
@trekky So… how do you send the notification?
-
@pepemujica I described it in the readme. With the MMM-Buttons module you can for example send the following notification to hide the calendar and clock module:
notification: "MODULE_TOGGLE", payload: {hide: ["calendar", "clock"], show: [], toggle:[]} -
@trekky Thanks
-
Great idea! :)
If i have multiple instances of a module, for example MMM-WunderGround (for different locations) or as in my case I have 6 MMM-MotionEye modules. :)
Can I specify what “instans” of that module I want to toggle? -
-
I think the class is the same but the “id” is different. I’m using the ID in my MMM-Modulebar. But I’ll have to test it when I have some time. :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login