Read the statement by Michael Teeuw here.
Button
-
Hi,
i tried to setup the button to watch the news with the MMM-Podcast module.
When i add the MMM-Button module to the config.js and start MM i only get an white screen.
With pm2 logs mm i get this#########################
Loading config …
mm-0 Loading module helpers …
mm-0 No helper found for module: alert.
mm-0 WARNING! Could not load config file. Starting with default configuration. Error found : Error: Module version mismatch. Expected 49, got 46.
mm-0 Loading module helpers …
mm-0 No helper found for module: alert.
mm-0 App threw an error during load
mm-0 Error: Module version mismatch. Expected 49, got 46.
mm-0 at Error (native)
mm-0 at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:167:20)
mm-0 at Object.Module._extensions…node (module.js:568:18)
mm-0 at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:167:20)
mm-0 at Module.load (module.js:458:32)
mm-0 at tryModuleLoad (module.js:417:12)
mm-0 at Function.Module._load (module.js:409:3)
mm-0 at Module.require (module.js:468:17)
mm-0 at require (internal/module.js:20:19)
mm-0 at bindings (/home/pi/MagicMirror/modules/MMM-Button/node_modules/onoff/node_modu les/epoll/node_modules/bindings/bindings.js:76:44)
mm-0 Whoops! There was an uncaught exception…
mm-0 Error: Module version mismatch. Expected 49, got 46.
mm-0 at Error (native)
mm-0 at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:167:20)
mm-0 at Object.Module._extensions…node (module.js:568:18)
mm-0 at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:167:20)
mm-0 at Module.load (module.js:458:32)
mm-0 at tryModuleLoad (module.js:417:12)
mm-0 at Function.Module._load (module.js:409:3)
mm-0 at Module.require (module.js:468:17)
mm-0 at require (internal/module.js:20:19)
mm-0 at bindings (/home/pi/MagicMirror/modules/MMM-Button/node_modules/onoff/node_modu les/epoll/node_modules/bindings/bindings.js:76:44)#############
Version mismatch from what?
Does someone know how to fix this? -
Have the Same Problem. Take a Look here and Tell me if anything helped you.
https://forum.magicmirror.builders/topic/707/mmm-button-doesn-t-work
-
Thanks for the link. I tried but the error is still there.
One thing changed.
Before:
Error: Module version mismatch. Expected 49, got 46
Now:
Error: Module version mismatch. Expected 50, got 46 -
Ok it is working now. I found this topic
linkNow when i prees the button i see the News on the screen.
Hope it will work for you too. -
Dear community,
how could i implement following scenario.
Connect a button to the MM and switch monitor on and off with it?