@sdetweil dude!! It worked! Thanks so much
Read the statement by Michael Teeuw here.
Posts made by 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? :)
-
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!!