MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

mmm assistant mk2

  • hi,first of all thanks for all the awesome modules, i just installed assistant mk2 and its working fine but im stuck with the configuration i was trying to integrate mmm-tool warning text and i have no idea where to place the warning text and along with that you might as well guide me where to place the transcript hook from mmm spotify control… totally beginner here… probably this is guess is a dumb question.

  • hi, what is mmm-tool warning text for you ?

  • @Bugsounet
    I have somehow managed to do it but now whenever i start my magic mirror chromium automatically starts and takes me to the Auth screen

    Update: turning on assistsay: true, in the tool module leads to this… i turned that off and now it’s working fine… is there a work around for this?

  • assistantSay: true

    Your assistant says vocal warning (need myMagicWord feature of MMM-AssistantMk2)

    I don’t really understand what do you want to do

  • @Bugsounet i just did a fresh install of magicmirror on raspberry pi4 and it was working fine and then i installed assistant mk2, when i launch the magic mirror i get the only black screen,when i open the developers console i dont see anything except “internal server error and bla bla”… heres my log

    npm start
    > magicmirror@2.11.0 start /home/pi/MagicMirror
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    [2020-05-30 18:51:14.372] [LOG]    Starting MagicMirror: v2.11.0
    [2020-05-30 18:51:14.378] [LOG]    Loading config ...
    [2020-05-30 18:51:14.382] [LOG]    Loading module helpers ...
    [2020-05-30 18:51:14.383] [LOG]    No helper found for module: alert.
    [2020-05-30 18:51:14.414] [LOG]    Initializing new module helper ...
    [2020-05-30 18:51:14.415] [LOG]    Module helper loaded: updatenotification
    [2020-05-30 18:51:14.415] [LOG]    No helper found for module: clock.
    [2020-05-30 18:51:14.693] [LOG]    Initializing new module helper ...
    [2020-05-30 18:51:14.694] [LOG]    Module helper loaded: calendar
    [2020-05-30 18:51:14.694] [LOG]    No helper found for module: compliments.
    [2020-05-30 18:51:14.695] [LOG]    No helper found for module: currentweather.
    [2020-05-30 18:51:14.695] [LOG]    No helper found for module: weatherforecast.
    [2020-05-30 18:51:14.695] [LOG]    No helper found for module: MMM-AssistantMk2.
    [2020-05-30 18:51:14.714] [LOG]    Initializing new module helper ...
    [2020-05-30 18:51:14.714] [LOG]    Module helper loaded: newsfeed
    [2020-05-30 18:51:14.715] [LOG]    All module helpers loaded.
    [2020-05-30 18:51:14.799] [LOG]    Starting server on port 8080 ... 
    [2020-05-30 18:51:14.809] [LOG]    Server started ...
    [2020-05-30 18:51:14.809] [LOG]    Connecting socket for: updatenotification
    [2020-05-30 18:51:14.810] [LOG]    Connecting socket for: calendar
    [2020-05-30 18:51:14.811] [LOG]    Starting node helper for: calendar
    [2020-05-30 18:51:14.811] [LOG]    Connecting socket for: newsfeed
    [2020-05-30 18:51:14.812] [LOG]    Starting module: newsfeed
    [2020-05-30 18:51:14.812] [LOG]    Sockets connected & modules started ...
    [2020-05-30 18:51:14.897] [LOG]    Launching application.
    [2020-05-30 18:51:15.084] [ERROR]  Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/index.html'
       at Object.openSync (fs.js:447:3)
       at Object.func (electron/js2c/asar.js:138:31)
       at Object.func [as openSync] (electron/js2c/asar.js:138:31)
       at Object.readFileSync (fs.js:349:35)
       at Object.fs.readFileSync (electron/js2c/asar.js:580:40)
       at Object.fs.readFileSync (electron/js2c/asar.js:580:40)
       at /home/pi/MagicMirror/js/server.js:71:17
       at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)
       at next (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:137:13)
       at Route.dispatch (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:112:3)
    [2020-05-30 18:51:30.160] [LOG]    Shutting down server...
    [2020-05-30 18:51:30.163] [LOG]    Stopping module helper: updatenotification
    [2020-05-30 18:51:30.163] [LOG]    Stopping module helper: calendar
    [2020-05-30 18:51:30.164] [LOG]    Stopping module helper: newsfeed

  • @sdmydbr9 said in mmm assistant mk2:


    looks like something erased the index.html

    cd ~/MagicMirror
    git checkout index.html

  • @sdetweil hi thanks for replying, i followed your step but the magicmirror starts, it beeps and then the magicmirror exits. my logs are as follows

    > magicmirror@2.11.0 start /home/pi/MagicMirror
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    [2020-05-30 20:47:38.468] [LOG]    Starting MagicMirror: v2.11.0
    [2020-05-30 20:47:38.475] [LOG]    Loading config ...
    [2020-05-30 20:47:38.480] [LOG]    Loading module helpers ...
    [2020-05-30 20:47:38.481] [LOG]    No helper found for module: alert.
    [2020-05-30 20:47:38.521] [LOG]    Initializing new module helper ...
    [2020-05-30 20:47:38.522] [LOG]    Module helper loaded: updatenotification
    [2020-05-30 20:47:38.523] [LOG]    No helper found for module: clock.
    [2020-05-30 20:47:38.865] [LOG]    Initializing new module helper ...
    [2020-05-30 20:47:38.866] [LOG]    Module helper loaded: calendar
    [2020-05-30 20:47:38.867] [LOG]    No helper found for module: compliments.
    [2020-05-30 20:47:38.867] [LOG]    No helper found for module: currentweather.
    [2020-05-30 20:47:39.581] [LOG]    Initializing new module helper ...
    [2020-05-30 20:47:39.581] [LOG]    Module helper loaded: MMM-AssistantMk2
    [2020-05-30 20:47:39.582] [LOG]    No helper found for module: weatherforecast.
    [2020-05-30 20:47:39.605] [LOG]    Initializing new module helper ...
    [2020-05-30 20:47:39.605] [LOG]    Module helper loaded: newsfeed
    [2020-05-30 20:47:39.605] [LOG]    All module helpers loaded.
    [2020-05-30 20:47:39.704] [LOG]    Starting server on port 8080 ... 
    [2020-05-30 20:47:39.717] [LOG]    Server started ...
    [2020-05-30 20:47:39.718] [LOG]    Connecting socket for: updatenotification
    [2020-05-30 20:47:39.719] [LOG]    Connecting socket for: calendar
    [2020-05-30 20:47:39.720] [LOG]    Starting node helper for: calendar
    [2020-05-30 20:47:39.720] [LOG]    Connecting socket for: MMM-AssistantMk2
    [2020-05-30 20:47:39.721] [LOG]    Connecting socket for: newsfeed
    [2020-05-30 20:47:39.721] [LOG]    Starting module: newsfeed
    [2020-05-30 20:47:39.722] [LOG]    Sockets connected & modules started ...
    [2020-05-30 20:47:39.820] [LOG]    Launching application.
    [2020-05-30 20:47:41.603] [LOG]    Create new calendar fetcher for url: - Interval: 300000
    [2020-05-30 20:47:41.671] [LOG]    [AMK2] Recipe is loaded: hide_and_show_all_modules.js
    [2020-05-30 20:47:41.677] [LOG]    [AMK2] Recipe is loaded: reboot.js
    [2020-05-30 20:47:41.679] [LOG]    [AMK2] Recipe is loaded: screen_onoff.js
    [2020-05-30 20:47:41.682] [LOG]    [AMK2] Recipe is loaded: shutdown.js
    [2020-05-30 20:47:41.684] [LOG]    Create new news fetcher for url: - Interval: 300000
    [2020-05-30 20:47:41.802] [LOG]    [AMK2] Temporal storage directory is clearing.
    [2020-05-30 20:47:42.570] [LOG]    [AMK2] assistant ready
    /home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v6.1-linux-arm-glibc/grpc_node.node: undefined symbol: __atomic_store_8
    npm ERR! code ELIFECYCLE
    npm ERR! syscall spawn
    npm ERR! file sh
    npm ERR! errno ENOENT
    npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
    npm ERR! spawn ENOENT
    npm ERR! 
    npm ERR! Failed at the magicmirror@2.11.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2020-05-30T15_17_42_655Z-debug.log

  • @sdmydbr9 said in mmm assistant mk2:


    I thought @Bugsounet had fixed that … anyhow

    see the answer here for the steps to workaround this problem

  • @sdetweil hi again, i did everything mentioned in that post but the behaviour doesnt change, it works for one time and next time i restart the magic mirror it gets back to missing index.html. its an endless loop. please help what am i doing wrong

  • @sdmydbr9 no idea sorry

Log in to reply