MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mumblebaj
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 6
    • Topics 33
    • Posts 772
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: CSS: Color And Style

      @agentJames Can you share your config for the module? Which calendar are you using?

      posted in Utilities
      mumblebajM
      mumblebaj
    • Mirror Crashing

      Hey Guys. I am having an issue. I recently updated my mirror to 2.12.0 and I have noticed that it crashes a few times a day. Below the error log.

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
      2 info using npm@6.1.0
      3 info using node@v9.11.2
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle magicmirror@2.12.0~prestart: magicmirror@2.12.0
      6 info lifecycle magicmirror@2.12.0~start: magicmirror@2.12.0
      7 verbose lifecycle magicmirror@2.12.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.12.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/nod$
      9 verbose lifecycle magicmirror@2.12.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.12.0~start: Args: [ '-c',
      10 silly lifecycle   'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ]
      11 silly lifecycle magicmirror@2.12.0~start: Returned: code: 1  signal: null
      12 info lifecycle magicmirror@2.12.0~start: Failed to exec start script
      13 verbose stack Error: magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      13 verbose stack Exit status 1
      13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16)
      13 verbose stack     at EventEmitter.emit (events.js:180:13)
      13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      13 verbose stack     at ChildProcess.emit (events.js:180:13)
      13 verbose stack     at maybeClose (internal/child_process.js:936:16)
      13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
      14 verbose pkgid magicmirror@2.12.0
      15 verbose cwd /home/pi/MagicMirror
      16 verbose Linux 4.14.52-v7+
      17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
      18 verbose node v9.11.2
      19 verbose npm  v6.1.0
      20 error code ELIFECYCLE
      21 error errno 1
      22 error magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      22 error Exit status 1
      23 error Failed at the magicmirror@2.12.0 start script.
      23 error This is probably not a problem with npm. There is likely additional logging output above.
      24 verbose exit [ 1, true ]
      

      I have also noticed this font error in the pm2 logs. Not sure if this is an issue and which module it refers to.

      Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
      ATTENTION: default value of option force_s3tc_enable overridden by environment.
      [2020-07-09 20:17:13.954] [ERROR]  Thu Jul 09 2020 20:17:13 GMT+0200 (South Africa Standard Time) - WatchDog: Heartbeat timeout. Frontend migh$
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.12.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-07-09T18_17_14_885Z-debug.log
      Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
      ATTENTION: default value of option force_s3tc_enable overridden by environment.
      

      Any help or advice would be appreciated.

      Thanks

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: CSS: Color And Style

      @agentJames Have you set the config option for colored to true?

      colored: true,
      
      posted in Utilities
      mumblebajM
      mumblebaj
    • RE: Cannot exit MM after recent update

      @tasanford11 ctrl+alt+t usually works for me. This pops open a terminal window immediately.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Exclude certain events from Calendar

      @theaddies said in Exclude certain events from Calendar:

      excludedEvents [ ‘Workout’],

      I might be wrong but I think you might be missing a colon. It should read like this: excludedEvents: [ 'Workout'],

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Introduce yourself!

      So, I am Bernard from South Africa. I have been running my mirror for almost 2 years now and loving it. Remodeled my place last week and now I need to find a new home for my mirror. I am a Systems Analyst by trade and code in my spare time. This is an awesome project and I love helping people on the forum who are facing issues etc. Great project guys.

      posted in General Discussion
      mumblebajM
      mumblebaj
    • RE: MMM-AssistantMk2 youtube : start video

      @MisterT said in MMM-AssistantMk2 youtube : start video:

      MMM-AssistantMk2

      I believe from other issues posted on the forum that in the MM-AssistantMk2.js file the console.log entries should be changed to Log.log. I think there are 8 entries in the file that need changing.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: After adding MMM-GPIO-Notifications, config.js doesn't work...

      @tomXGames IF not mistaken, the “,” after the last module should not be there either.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: After adding MMM-GPIO-Notifications, config.js doesn't work...

      @tomXGames THis certainly doesn’t look right:
      notification: "'CURRENT_PROFILE', 'Tom'",

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Problem with the Module "email"

      @CyruS1337 Please remember, for the emails to display you need to set fade: false.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Error with launching the magic mirror Applicants. it said i need to create a config file.

      @dearco said in Error with launching the magic mirror Applicants. it said i need to create a config file.:

      EADDRINUSE

      That usually means that something else is running on port 8080. Maybe you have two instances of MM running?

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: MMM-YouTube

      @sdetweil I thought it was the other way around? Tilda (~) was shifted and back tick (`) non shifted? :smiling_face_with_open_mouth_smiling_eyes:

      posted in Entertainment
      mumblebajM
      mumblebaj
    • RE: Problem with the Module "email"

      @CyruS1337 I assume that you meant that you replace your password with the generated key? When you run pm2 logs what do you get? Does it show anything for email? Have you in the /modules/email folder run npm install?

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Problem with the Module "email"

      @CyruS1337 I just setup the module and created my app key and email is working for me.
      0_1567699562380_1486bf00-438f-4fa7-8443-bbc25b2cf9ca-image.png

      And my config: I also had to change fade to false in order for email to display properly

                      module: 'email',
                      position: 'top_right',
                      header: 'Email',
                      config: {
                               accounts: [
                                      {
                                              user: 'xxxxxxxxxxxxx@gmail.com',
                                              password: 'xxxxxxxxxxxxxxxx',
                                              host:'imap.gmail.com',
                                              port: 993,
                                              tls: true,
                                              authTimeout: 10000,
                                              numberOfEmails: 5,
                                      }
                              ],
                              fade: false,
                              maxCharacters: 30
                      }
              },
      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Problem with the Module "email"

      @sdetweil Strange. I had to generate a key to get email to work. Not sure why you guys don’t see the option.

      Edit:
      Maybe because your 2FA is turned off.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Update Magic Mirror error

      @MisterT Great it worked for you. Please mark the post as Resolved if you are happy that it worked.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Problem with the Module "email"

      @CyruS1337 No problem:
      When loggin into gmail, on the right hand side there is the “hamburger menu”:
      0_1567691436238_f4313eaa-8a4a-4186-b95f-a508940eaf92-image.png

      When you click that you get a list of apps, select Account from there. On the left click security:
      0_1567691547044_ed5f3d88-fa5f-48e4-a27e-52f0dd2b9fa0-image.png

      On the right you will see Signing into Google. Click on the “>” on the line “App Passwords”
      0_1567691628894_069c7c94-1896-4748-8f6e-0c84dc66c673-image.png

      On the next screen enter your password and then on the next screen you will be able to create the key.
      0_1567691769140_f78991d4-1421-4040-aa34-92c39340311b-image.png

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Update Magic Mirror error

      @MisterT You will not lose your modules and configs.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Update Magic Mirror error

      @MisterT You could also just do a git reset --hard and then git pull $$ npm install. I have had this issue every time I had to update my mirror.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • RE: Problem with the Module "email"

      @CyruS1337 In gmail, you need to select the Google Apps menu: 0_1567611843267_e4890805-370c-4dac-b435-300a7a0fdb2c-image.png

      Next click on Account. On the left hand side click on Security.
      On the right Select App Passwords and create a password for your app. Copy that key into your mirror where you need to enter the password and that should work.

      posted in Troubleshooting
      mumblebajM
      mumblebaj
    • 1
    • 2
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 36 / 39