A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-AssistantMk2
-
hi everyone,
how to get my YOUR_MODEL_ID. couldn’t find it any ware. -
I can hide and show single modules or all modules but I can’t figure out hide one and show another
Almost same. :D
command: { "HIDE_A_REVEAL_B": { moduleExec: { module: [], // For all modules, exec: (module, params, key) => { if (module.name == "MODULE_A") { // if module name is... module.hide() } if (module.name == "MODULE_B") { module.show() } } } }, }
Not tested code, but I believe you can catch the idea.
-
-
Ive already registered. But now i can’t find the model id.
-
-
@Sean thanks for reply.
My screen is like this.!
I don’t have registration section. -
@tanvir586 back a couple pages, you created an application, right?
-
Sorry guys i think i didn’t register it.
I followed this video https://youtu.be/UBgH5hejYtM. -
@Sean I’ll give that a try and let you know. Thanks
-
@Sean I got it working, thanks for your help. The code that worked for me is below
command: { "HIDECALENDAR": { moduleExec: { module:()=>{ return [] }, // For all modules, exec: (module, params, key) => { if (module.name == "MMM-GooglePhotos") { // if module name is... module.show() } if (module.name == "MMM-CalendarExt2") { module.hide() } } } }, "SHOWCALENDAR": { moduleExec: { module:()=>{ return [] }, // For all modules, exec: (module, params, key) => { if (module.name == "MMM-GooglePhotos") { // if module name is... module.hide() } if (module.name == "MMM-CalendarExt2") { module.show() } } } } }