MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    mmm assistant mk2

    Scheduled Pinned Locked Moved Troubleshooting
    112 Posts 12 Posters 33.5k Views 11 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdmydbr9
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

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

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdmydbr @Guest
          last edited by sdmydbr

          @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?

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            assistantSay: true

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

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

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdmydbr9 @Guest
              last edited by

              @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
              
              
              S D 2 Replies Last reply Reply Quote 0
              • S Away
                sdetweil @sdmydbr9
                last edited by

                @sdmydbr9 said in mmm assistant mk2:

                /

                looks like something erased the index.html

                cd ~/MagicMirror
                git checkout index.html
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdmydbr9 @sdetweil
                  last edited by

                  @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: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - 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: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - 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
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @sdmydbr9
                    last edited by

                    @sdmydbr9 said in mmm assistant mk2:

                    __atomic_store_8

                    I thought @Bugsounet had fixed that … anyhow

                    see the answer here for the steps to workaround this problem
                    https://stackoverflow.com/questions/58561090/mmm-hotword-crashing

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdmydbr9 @sdetweil
                      last edited by

                      @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

                      S 1 Reply Last reply Reply Quote 0
                      • S Away
                        sdetweil @sdmydbr9
                        last edited by

                        @sdmydbr9 no idea sorry

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 11
                        • 12
                        • 1 / 12
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy