• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Alexa Lists on Magic Mirror

Scheduled Pinned Locked Moved Productivity
12 Posts 2 Posters 1.6k Views 2 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.
  • N Offline
    ndaphne
    last edited by Sep 10, 2021, 4:47 AM

    Hello Everyone,

    I’m new here and very much so enjoying magic Mirror.
    I have been adding a module or two with success. I would like to add a way to install a module that will allow an Alexa list to display on Magic Mirror. I have looked at Todoist and Wunderlist but best I can tell neither are rally supported. I did get Todoist install and all set on their website, however when I load magic Mirror all i get is a black screen. I did run the check:config tool and the config file checkes good, no errors.
    Hope someone can help with some advice.

    Thank you in advance
    Nick

    S 1 Reply Last reply Sep 10, 2021, 5:05 AM Reply Quote 0
    • S Offline
      sdetweil @ndaphne
      last edited by sdetweil Sep 10, 2021, 5:29 AM Sep 10, 2021, 5:05 AM

      @ndaphne check the messages at mm startup.
      either nm start or if using pm2, then pm2 logs --lines=100

      more than likely a missing library

      I installed the mmm-todoist module last week as a test, an it worked fine.

      you did the npm install in the module folder as the doc says, right?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • N Offline
        ndaphne
        last edited by Sep 10, 2021, 5:38 AM

        Hello Sam,

        Thank you for the response.

        It is installed in the MagicMirror/Modules folder.

        here are the messages after start is executed.

        Its interesting how todoist is not in any of the messages.

        
        pi@raspberrypi:~/MagicMirror $ npm run start
        
        > magicmirror@2.16.0 start /home/pi/MagicMirror
        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
        
        [09.09.2021 22:29.21.454] [LOG]   Starting MagicMirror: v2.16.0
        [09.09.2021 22:29.21.459] [LOG]   Loading config ...
        [09.09.2021 22:29.21.467] [LOG]   Loading module helpers ...
        [09.09.2021 22:29.21.470] [LOG]   No helper found for module: alert.
        [09.09.2021 22:29.21.632] [LOG]   Initializing new module helper ...
        [09.09.2021 22:29.21.633] [LOG]   Module helper loaded: updatenotification
        [09.09.2021 22:29.21.635] [LOG]   No helper found for module: clock.
        [09.09.2021 22:29.21.777] [LOG]   Initializing new module helper ...
        [09.09.2021 22:29.21.778] [LOG]   Module helper loaded: calendar
        [09.09.2021 22:29.22.119] [LOG]   Initializing new module helper ...
        [09.09.2021 22:29.22.121] [LOG]   Module helper loaded: MMM-AirNow
        [09.09.2021 22:29.22.122] [LOG]   No helper found for module: weather.
        [09.09.2021 22:29.22.151] [LOG]   Initializing new module helper ...
        [09.09.2021 22:29.22.152] [LOG]   Module helper loaded: newsfeed
        [09.09.2021 22:29.22.153] [LOG]   All module helpers loaded.
        [09.09.2021 22:29.22.240] [LOG]   Starting server on port 8080 ...
        [09.09.2021 22:29.22.255] [LOG]   Server started ...
        [09.09.2021 22:29.22.257] [LOG]   Connecting socket for: updatenotification
        [09.09.2021 22:29.22.258] [LOG]   Connecting socket for: calendar
        [09.09.2021 22:29.22.260] [LOG]   Starting node helper for: calendar
        [09.09.2021 22:29.22.261] [LOG]   Connecting socket for: MMM-AirNow
        [09.09.2021 22:29.22.262] [LOG]   MMM-AirNow helper, started...
        [09.09.2021 22:29.22.264] [LOG]   Connecting socket for: newsfeed
        [09.09.2021 22:29.22.265] [LOG]   Starting node helper for: newsfeed
        [09.09.2021 22:29.22.266] [LOG]   Sockets connected & modules started ...
        [09.09.2021 22:29.22.534] [LOG]   Launching application.
        
        
        S N 2 Replies Last reply Sep 10, 2021, 11:29 AM Reply Quote 0
        • S Offline
          sdetweil @ndaphne
          last edited by Sep 10, 2021, 11:29 AM

          @ndaphne can u show us the section of config.js for todoist?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • N Offline
            ndaphne @ndaphne
            last edited by sdetweil Sep 10, 2021, 3:30 PM Sep 10, 2021, 3:06 PM

            @ndaphne

            Absolutely!

            [
            	{
            		module: 'MMM-Todoist',
            		position: 'top_center',	// This can be any of the regions. Best results in left or right regions.
            		header: 'Todoist', // This is optional
            		config: { // See 'Configuration options' for more information.
            			hideWhenEmpty: false,
            			accessToken: 'xxxxxxxx',
            			maximumEntries: 10,
            			updateInterval: 10*1000, // Update every 10 minutes
            			fade: false,      
            			//projects and/or labels is mandatory:
            			projects: [ 166564794 ], 
            			labels: [ "shopping" ] // Tasks for any projects with these labels will be shown. 										
                }
            	}
            ]
            
            S 2 Replies Last reply Sep 10, 2021, 3:32 PM Reply Quote 0
            • S Offline
              sdetweil @ndaphne
              last edited by Sep 10, 2021, 3:32 PM

              @ndaphne I added the code wrapper around config

              next time after pasting the text, select it all, then push the button above the editor that looks like </>

              now,
              what are the [ and ] around the module entry
              they should not be there

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @ndaphne
                last edited by Sep 10, 2021, 3:39 PM

                @ndaphne a module entry starts with {
                and ends with }

                they are in a list

                modules:[
                   all in here
                   {...
                        module 1
                   },
                   {
                        module 2
                    ...
                   }
                ]
                

                the author might have shown the list wrapper

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • N Offline
                  ndaphne
                  last edited by Sep 10, 2021, 8:21 PM

                  Ok, got that fixed and now I’m getting some responses in the startup messages. it appears to be looking for a module “showdown” that I cant seem to find.

                  Thank you for the pointers concerning the brackets. little by little I’ll learn.

                  pi@raspberrypi:~/MagicMirror $ npm run start
                  
                  > magicmirror@2.16.0 start /home/pi/MagicMirror
                  > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                  
                  [10.09.2021 13:19.26.299] [LOG]   Starting MagicMirror: v2.16.0
                  [10.09.2021 13:19.26.304] [LOG]   Loading config ...
                  [10.09.2021 13:19.26.312] [LOG]   Loading module helpers ...
                  [10.09.2021 13:19.26.314] [LOG]   No helper found for module: alert.
                  [10.09.2021 13:19.26.478] [LOG]   Initializing new module helper ...
                  [10.09.2021 13:19.26.479] [LOG]   Module helper loaded: updatenotification
                  [10.09.2021 13:19.26.480] [LOG]   No helper found for module: clock.
                  [10.09.2021 13:19.26.626] [LOG]   Initializing new module helper ...
                  [10.09.2021 13:19.26.627] [LOG]   Module helper loaded: calendar
                  [10.09.2021 13:19.26.949] [ERROR] WARNING! Could not load config file. Starting                            with default configuration. Error found: Error: Cannot find module 'showdown'
                  Require stack:
                  - /home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js
                  - /home/pi/MagicMirror/js/app.js
                  - /home/pi/MagicMirror/js/electron.js
                  - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai                           n.js
                  -
                  [10.09.2021 13:19.26.950] [LOG]   Loading module helpers ...
                  [10.09.2021 13:19.26.951] [LOG]   No helper found for module: alert.
                  [10.09.2021 13:19.26.952] [LOG]   Initializing new module helper ...
                  [10.09.2021 13:19.26.953] [LOG]   Module helper loaded: updatenotification
                  [10.09.2021 13:19.26.954] [LOG]   No helper found for module: clock.
                  [10.09.2021 13:19.26.955] [LOG]   Initializing new module helper ...
                  [10.09.2021 13:19.26.955] [LOG]   Module helper loaded: calendar
                  [10.09.2021 13:19.26.957] [ERROR] App threw an error during load
                  [10.09.2021 13:19.26.959] [ERROR] Error: Cannot find module 'showdown'
                  Require stack:
                  - /home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js
                  - /home/pi/MagicMirror/js/app.js
                  - /home/pi/MagicMirror/js/electron.js
                  - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai                           n.js
                  -
                      at Module._resolveFilename (internal/modules/cjs/loader.js:972:15)
                      at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
                      at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/modul                           e-alias/index.js:49:29)
                      at Module._load (internal/modules/cjs/loader.js:848:27)
                      at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
                      at Module.require (internal/modules/cjs/loader.js:1032:19)
                      at require (internal/modules/cjs/helpers.js:72:18)
                      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Todoist/node_helper.                           js:13:18)
                      at Module._compile (internal/modules/cjs/loader.js:1152:30)
                      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
                  [10.09.2021 13:19.26.961] [ERROR] Whoops! There was an uncaught exception...
                  [10.09.2021 13:19.26.966] [ERROR] Error: Cannot find module 'showdown'
                  Require stack:
                  - /home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js
                  - /home/pi/MagicMirror/js/app.js
                  - /home/pi/MagicMirror/js/electron.js
                  - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai                           n.js
                  -
                      at Module._resolveFilename (internal/modules/cjs/loader.js:972:15)
                      at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
                      at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/modul                           e-alias/index.js:49:29)
                      at Module._load (internal/modules/cjs/loader.js:848:27)
                      at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
                      at Module.require (internal/modules/cjs/loader.js:1032:19)
                      at require (internal/modules/cjs/helpers.js:72:18)
                      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Todoist/node_helper.                           js:13:18)
                      at Module._compile (internal/modules/cjs/loader.js:1152:30)
                      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10) {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: [
                      '/home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js',
                      '/home/pi/MagicMirror/js/app.js',
                      '/home/pi/MagicMirror/js/electron.js',
                      '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/                           main.js',
                      undefined
                    ]
                  }
                  [10.09.2021 13:19.26.969] [ERROR] MagicMirror will not quit, but it might be a g                           ood idea to check why this happened. Maybe no internet connection?
                  [10.09.2021 13:19.26.970] [ERROR] If you think this really is an issue, please o                           pen an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                  [10.09.2021 13:19.27.230] [LOG]   Launching application.
                  
                  S 1 Reply Last reply Sep 10, 2021, 8:41 PM Reply Quote 0
                  • S Offline
                    sdetweil @ndaphne
                    last edited by Sep 10, 2021, 8:41 PM

                    @ndaphne looks like you didn’t do all the installation instructions as listed by the module readme

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    N 1 Reply Last reply Sep 10, 2021, 9:01 PM Reply Quote 0
                    • N Offline
                      ndaphne @sdetweil
                      last edited by Sep 10, 2021, 9:01 PM

                      @sdetweil Boy I’m not sure what I missed

                      I’m certain I ran the installer and the “run install” command to install dependents.
                      Is there something I’m just not seeing?

                      thank you for tolerating my shortcomings here. It’s deeply appreciated.

                      S 1 Reply Last reply Sep 10, 2021, 11:14 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/12
                        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