Read the statement by Michael Teeuw here.
MMM-Touch
-
@MrCoffee yeh, skip docker til you get it working…
-
@sdetweil I just tried ctrl-shift-i with a working mirror. On the tab console I could see a css error, but everything works.
Then i added the onNotification code. Still the same. no mirror starting, and on the console tab there is no error. it ends with “initializing MagicMirror”.
But nothing happens. -
@MrCoffee ok, then it must be back on the terminal window where i started MM
either there is a module missing
a syntax error
or some fatal problem in the front end (mmm-touch.js) -
@sdetweil Ok. The module MMM-Touch can create a detailed log (says the config). But it is not written where I can find it:-) Is there a common place for it?
-
@MrCoffee no idea… either in the module folder or MM folder…
but if there is a fatal error, it probably cant write the logs
-
@sdetweil Ok. I see. So I will have to ask gfischershaw.
Thx -
can someone provide me with an example of Executing methods of module?
i’d like to create a swipe up and swipe down to hide and unhide a module. thank you.
-
@3squaremirror can u be more specific, execute methods of a module?
-
@3squaremirror
I have not tested yet, but you can get a concept. (I’ll assume you are using default configuration and mode)gestureCommands: { "default": { "SWIPE_UP_1" : (commander) => { commander.getModules().forEach((m) => {m.show()}) }, "SWIPE_DOWN_1" : (commander) => { commander.getModules().forEach((m) => {m.hide()}) } } },
Swiping up with one finger would reveal modules.
Swiping down with one finger would hide modules.
But in the real world, some modules are protected with lock string from hiding/showing, -
@MMRIZE I saw that in the example in the GitHub page. I’m confused on where to specify which module to hide/show. Thanks.