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

    Posts

    Recent Best Controversial
    • RE: Calendar failed to load.

      @sdetweil dude!! It worked! Thanks so much

      posted in Troubleshooting
      P
      panos
    • Calendar failed to load.

      Hello guys.
      The default calendar module won’t load a external ics file.
      After running the command "npm start dev” I get this error:

      [15:35:03.300] [LOG]    Create new calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/47/Greece_Holidays.ics - Interval: 300000
      [15:35:04.015] [ERROR]  (node:1652) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
      [15:35:04.381] [LOG]    Whoops! There was an uncaught exception...
      [15:35:04.384] [ERROR]  Error: Unknown RRULE property ''
          at /home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1191:23
          at Array.forEach (<anonymous>)
          at parseRrule (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1149:11)
          at parseLine (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1132:16)
          at Array.map (<anonymous>)
          at Function.parseString (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:1110:41)
          at Function.RRule.fromString (/home/pi/MagicMirror/node_modules/rrule/dist/es5/rrule.js:2135:32)
          at Object.ical.objectHandlers.END (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:62:23)
          at Object.handleObject (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:400:41)
          at Object.parseICS (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:441:20)
      

      Any suggestions? :)

      posted in Troubleshooting
      P
      panos
    • RE: custom JS file (JQUERY)

      Thanks guys. I did it by modifying MMM-MQTT original code.
      The only issue is that everytime that the module will be updated, I must modify it again.
      Thanks for your help!

      posted in Troubleshooting
      P
      panos
    • RE: custom JS file (JQUERY)

      @cowboysdude
      Hi.
      I’m using the MMM-MQTT module and I want to change the color of the represented text by MQTT in real-time using JQuery.

      I wrote the code, but I can’t make it run on MagicMirror web UI

      posted in Troubleshooting
      P
      panos
    • custom JS file (JQUERY)

      Hello.
      Is there a way to run my own javascript on magicmirror?
      I want to run some functions using jquery.
      I was thinking to include my code on config.js (but I’m sure that will break the config file)
      Any suggestions?

      posted in Troubleshooting
      P
      panos
    • RE: new update/upgrade script, ready for testing

      Guys, I’m little confused.
      I currently running at v2.9 and I wish to upgrade to v2.10
      If I run the command:
      bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/upgrade-script.sh)” apply

      MM won’t update to v2.10

      If I try the ‘traditional’ way 'git pull && npm install’ and ignore any changes that I make I receive the error:

      The following untracked working tree files would be overwritten by merge: installers/dumpactivemodules.js

      see here:
      https://forum.magicmirror.builders/topic/11912/problem-with-updating-to-2-10-0-from-2-9-0-using-update-script/2

      Any suggestion on how to update to 2.10?

      posted in General Discussion
      P
      panos
    • RE: pm2 restarts magicmirror every few seconds

      I tried this with no luck:(
      The issue persists…

      -EDIT-
      I manage to resolve the issue:

      • pm2 delete MagicMirror
      • pm2 start /home/pi/MagicMirror/installers/mm.sh
      • pm2 save

      pm2 process name is now ‘mm’ instead of ‘MagicMirror’
      so
      “pm2 start|stop|restart mm” is now the command that I will use
      Thanks for your help!!
      Cheers:)

      posted in Troubleshooting
      P
      panos
    • RE: pm2 restarts magicmirror every few seconds
      PM2            | App [MagicMirror:0] exited with code [1] via signal [SIGINT]
      PM2            | App [MagicMirror:0] starting in -fork mode-
      PM2            | App [MagicMirror:0] online
      0|MagicMirror  | { Error: ENOENT: no such file or directory, open 'package.json'
      0|MagicMirror  |     at Object.openSync (fs.js:443:3)
      0|MagicMirror  |     at Object.readFileSync (fs.js:343:35)
      0|MagicMirror  |     at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:15:32)
      0|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:778:30)
      0|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
      0|MagicMirror  |     at Module.load (internal/modules/cjs/loader.js:653:32)
      0|MagicMirror  |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      0|MagicMirror  |     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      0|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:692:17)
      0|MagicMirror  |     at Module.Hook._require.Module.require (/usr/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:70:37)
      0|MagicMirror  |   errno: -2,
      0|MagicMirror  |   syscall: 'open',
      0|MagicMirror  |   code: 'ENOENT',
      0|MagicMirror  |   path: 'package.json' }
      PM2            | App [MagicMirror:0] exited with code [1] via signal [SIGINT]
      PM2            | App [MagicMirror:0] starting in -fork mode-
      PM2            | App [MagicMirror:0] online
      
      
      0|MagicMirror  | { Error: ENOENT: no such file or directory, open 'package.json'
      0|MagicMirror  |     at Object.openSync (fs.js:443:3)
      0|MagicMirror  |     at Object.readFileSync (fs.js:343:35)
      0|MagicMirror  |     at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:15:32)
      0|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:778:30)
      0|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
      0|MagicMirror  |     at Module.load (internal/modules/cjs/loader.js:653:32)
      0|MagicMirror  |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      0|MagicMirror  |     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      0|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:692:17)
      0|MagicMirror  |     at Module.Hook._require.Module.require (/usr/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:70:37)
      0|MagicMirror  |   errno: -2,
      0|MagicMirror  |   syscall: 'open',
      0|MagicMirror  |   code: 'ENOENT',
      0|MagicMirror  |   path: 'package.json' }
      
      posted in Troubleshooting
      P
      panos
    • pm2 restarts magicmirror every few seconds

      Hello.
      I fresh install Magicmirror on raspbian buster.
      when I reboot the system to see if everything work like it should I notice that magicmirror does not start at all.
      pm2 shows this:
      0_1565094216661_Screenshot 2019-08-06 at 15.19.17.png

      Id is constantly changing and restart count is increasing.
      It seems that magicmirror is trying to start but for some reason, can’t
      Any suggestions?

      posted in Troubleshooting
      P
      panos
    • RE: Blackscreen after update to v.2.8.0

      @sdetweil it turns out that MMM-moon-phases module has the problem! I comment out the code and everything works like a charm!! Thanks for your help!!

      posted in Troubleshooting
      P
      panos
    • 1 / 1