@sdetweil dude!! It worked! Thanks so much
Read the statement by Michael Teeuw here.
Posts
-
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? :)
-
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! -
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
-
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? -
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)” applyMM 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
Any suggestion on how to update to 2.10?
-
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:) -
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' } -
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:

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? -
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!!
-
RE: Blackscreen after update to v.2.8.0
Is there a way to install v2.7 instead?
-
RE: Blackscreen after update to v.2.8.0
Finally I get this worked!!
thanks dudeEdit:
After restoring config/custom.css/ and install all modules from the beginning, the problem has occurred again.:(:( -
RE: Blackscreen after update to v.2.8.0
How to completely remove magicmirror in order to install it from scratch?
-
RE: Blackscreen after update to v.2.8.0
@sdetweil No man…:( still the same
-
RE: Blackscreen after update to v.2.8.0
@sdetweil still no luck…:(
pi@raspberrypi:~/MagicMirror $ npm install
magicmirror@2.8.0 install /home/pi/MagicMirror
cd vendor && npm installnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})audited 220 packages in 13.958s
found 5 vulnerabilities (4 low, 1 high)
runnpm audit fixto fix them, ornpm auditfor detailsmagicmirror@2.8.0 postinstall /home/pi/MagicMirror
sh installers/postinstall/postinstall.sh && npm run install-fontsMagicMirror installation successful!
magicmirror@2.8.0 install-fonts /home/pi/MagicMirror
cd fonts && npm installaudited 1 package in 1.893s
found 0 vulnerabilitiesaudited 3581 packages in 72.743s
found 44 high severity vulnerabilities
runnpm audit fixto fix them, ornpm auditfor detailsWhen I manually try to launch MagicMirror I get this:
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
magicmirror@2.8.0 start /home/pi/MagicMirror
sh run-start.shStarting MagicMirror: v2.8.0
Loading config …
Loading module helpers …
No helper found for module: alert.
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper …
Module helper loaded: calendar
No helper found for module: calendar_monthly.
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘del’
Loading module helpers …
No helper found for module: alert.
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper …
Module helper loaded: calendar
No helper found for module: calendar_monthly.
App threw an error during load
Error: Cannot find module ‘del’
at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (internal/modules/cjs/loader.js:528:25)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:3:11)
at Object. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:39:3)
at Module._compile (internal/modules/cjs/loader.js:711:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
Whoops! There was an uncaught exception…
{ Error: Cannot find module ‘del’
at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (internal/modules/cjs/loader.js:528:25)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:3:11)
at Object. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:39:3)
at Module._compile (internal/modules/cjs/loader.js:711:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
at Module.load (internal/modules/cjs/loader.js:620:32) code: ‘MODULE_NOT_FOUND’ }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application. -
RE: Blackscreen after update to v.2.8.0
Same issue here.
Black screen after updating to v2.8. Any suggestions?Log file:
pm2 logs MagicMirror
[TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option)
/home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
0|MagicMir | Initializing new module helper …
0|MagicMir | Module helper loaded: calendar
0|MagicMir | No helper found for module: calendar_monthly.
0|MagicMir | Loading module helpers …
0|MagicMir | No helper found for module: alert.
0|MagicMir | Initializing new module helper …
0|MagicMir | Module helper loaded: updatenotification
0|MagicMir | No helper found for module: clock.
0|MagicMir | Initializing new module helper …
0|MagicMir | Module helper loaded: calendar
0|MagicMir | No helper found for module: calendar_monthly.
0|MagicMir | Whoops! There was an uncaught exception…
0|MagicMir | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | Launching application./home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:711:30)
0|MagicMir | at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
0|MagicMir | at Module.load (internal/modules/cjs/loader.js:620:32)
0|MagicMir | { Error: Cannot find module ‘del’
0|MagicMir | at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:528:25)
0|MagicMir | at Module.require (internal/modules/cjs/loader.js:658:17)
0|MagicMir | at require (internal/modules/cjs/helpers.js:20:18)
0|MagicMir | at Object. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:3:11)
0|MagicMir | at Object. (/home/pi/MagicMirror/modules/mmm-moon-phases/node_helper.js:39:3)
0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:711:30)
0|MagicMir | at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
0|MagicMir | at Module.load (internal/modules/cjs/loader.js:620:32) code: ‘MODULE_NOT_FOUND’ }
0|MagicMir | ATTENTION: default value of option force_s3tc_enable overridden by environment. -
RE: My hallway Magic Mirror! (Greece)
@gh057
Hello! Nice job!
Can you please tell my from where do you purchased the “SOL” glass that you used?
I also live in Greece!
Thanks so much!