@sdetweil It is not possible to do that, It will fail when I do this are you sure this is the right code ?
Read the statement by Michael Teeuw here.
Posts
-
RE: Can not add more than ONE calendar??
-
Can not add more than ONE calendar??
I have tries almost everything, looked at youtube and others here in the forum, but I can not find the answer, how do I put some callendars in my MM ? how do I add one or two calendars more ?:
module: "calendar", header: "Kalender", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "https://calendar.google.com/calendar/ical/XXXXXXXXXXXX/private-XXXXXXXXXXXXXXXXX/basic.ics" } ] } }, -
RE: After update to newest version = Black screen
@ironman_DK said in After update to newest version = Black screen:
@Mykle1 I have followed you guide, but I still have a Black screen ?
Best Regards
MichaelThis is from automatic install >
pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)" $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$\ $$$\ $$$ | \__| $$$\ $$$ |\__| $$ __$$\ $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ \__/ $$ | $$\$$\$$ $$ | \____$$\ $$ __$$\ $$ |$$ _____|$$\$$\$$ $$ |$$ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$$$$$ | $$ \$$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ \$$$ $$ |$$ |$$ | \__|$$ | \__|$$ / $$ |$$ | \__|$$ ____/ $$ |\$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |\$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ | $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ | $$ | \$$$$$$ |$$ | $$$$$$$$\ \__| \__| \_______| \____$$ |\__| \_______|\__| \__|\__|\__| \__| \______/ \__| \________| $$\ $$ | \$$$$$$ | \______/ Updating packages ... Henter:1 http://mirrordirector.raspbian.org jessie InRelease [14,9 kB] Henter:2 https://deb.nodesource.com jessie InRelease [4.631 B] Henter:3 http://archive.raspberrypi.org jessie InRelease [22,9 kB] Henter:4 http://mirrordirector.raspbian.org jessie/main armhf Packages [9.536 kB] Henter:5 https://deb.nodesource.com jessie/main Sources [20 B] Henter:6 https://deb.nodesource.com jessie/main armhf Packages [1.003 B] Havde http://archive.raspberrypi.org jessie/main armhf Packages Henter:7 https://deb.nodesource.com jessie/main Translation-da_DK [162 B] Havde http://archive.raspberrypi.org jessie/ui armhf Packages Henter:8 https://deb.nodesource.com jessie/main Translation-da [162 B] Henter:9 https://deb.nodesource.com jessie/main Translation-en [162 B] Henter:10 https://deb.nodesource.com jessie/main Translation-da_DK [162 B] Henter:11 https://deb.nodesource.com jessie/main Translation-da [162 B] Henter:12 https://deb.nodesource.com jessie/main Translation-en [162 B] Henter:13 https://deb.nodesource.com jessie/main Translation-da_DK [162 B] Henter:14 https://deb.nodesource.com jessie/main Translation-da [162 B] Henter:15 https://deb.nodesource.com jessie/main Translation-en [162 B] Henter:16 https://deb.nodesource.com jessie/main Translation-da_DK [162 B] Henter:17 https://deb.nodesource.com jessie/main Translation-da [162 B] Henter:18 https://deb.nodesource.com jessie/main Translation-en [162 B] Henter:19 https://deb.nodesource.com jessie/main Translation-da_DK [162 B] Ignorerer https://deb.nodesource.com jessie/main Translation-da_DK Ignorerer http://archive.raspberrypi.org jessie/main Translation-da_DK Ignorerer http://archive.raspberrypi.org jessie/main Translation-da Ignorerer http://archive.raspberrypi.org jessie/main Translation-en Henter:20 https://deb.nodesource.com jessie/main Translation-da [162 B] Ignorerer https://deb.nodesource.com jessie/main Translation-da Henter:21 https://deb.nodesource.com jessie/main Translation-en [162 B] Ignorerer https://deb.nodesource.com jessie/main Translation-en Ignorerer http://archive.raspberrypi.org jessie/ui Translation-da_DK Ignorerer http://archive.raspberrypi.org jessie/ui Translation-da Ignorerer http://archive.raspberrypi.org jessie/ui Translation-en Henter:22 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43,3 kB] Henter:23 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84,2 kB] Henter:24 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1.356 B] Ignorerer http://mirrordirector.raspbian.org jessie/contrib Translation-da_DK Ignorerer http://mirrordirector.raspbian.org jessie/contrib Translation-da Ignorerer http://mirrordirector.raspbian.org jessie/contrib Translation-en Ignorerer http://mirrordirector.raspbian.org jessie/main Translation-da_DK Ignorerer http://mirrordirector.raspbian.org jessie/main Translation-da Ignorerer http://mirrordirector.raspbian.org jessie/main Translation-en Ignorerer http://mirrordirector.raspbian.org jessie/non-free Translation-da_DK Ignorerer http://mirrordirector.raspbian.org jessie/non-free Translation-da Ignorerer http://mirrordirector.raspbian.org jessie/non-free Translation-en Ignorerer http://mirrordirector.raspbian.org jessie/rpi Translation-da_DK Ignorerer http://mirrordirector.raspbian.org jessie/rpi Translation-da Ignorerer http://mirrordirector.raspbian.org jessie/rpi Translation-en Hentede 9.708 kB på 28s (337 kB/s) Indlæser pakkelisterne... Færdig Installing helper tools ... Indlæser pakkelisterne... Færdig Opbygger afhængighedstræ Læser tilstandsoplysninger... Færdig build-essential er allerede den nyeste version. curl er allerede den nyeste version. git er allerede den nyeste version. unzip er allerede den nyeste version. wget er allerede den nyeste version. Følgende pakker blev installeret automatisk, og behøves ikke længere: coinor-libipopt1 libboost-filesystem1.55.0 libboost-program-options1.55.0 libboost-regex1.55.0 libc-ares2 libffi5 libgmime-2.6-0 libmumps-seq-4.10.0 liboauth0 libraw10 libv8-3.14.5 wolframscript Brug »apt-get autoremove« til at fjerne dem. 0 opgraderes, 0 nyinstalleres, 0 afinstalleres og 153 opgraderes ikke. Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v5.1.0 Installed Node version: v6.10.0 No Node.js upgrade necessary. Cloning MagicMirror ... Cloning into 'MagicMirror'... remote: Counting objects: 8848, done. remote: Total 8848 (delta 0), reused 0 (delta 0), pack-reused 8848 Receiving objects: 100% (8848/8848), 11.33 MiB | 230.00 KiB/s, done. Resolving deltas: 100% (5009/5009), done. Checking connectivity... done. Cloning MagicMirror Done! Installing dependencies ... npm WARN deprecated isarray@2.0.1: Just use Array.isArray directly npm WARN prefer global coffee-script@1.10.0 should be installed with -g npm WARN prefer global jsonlint@1.6.2 should be installed with -g > uws@0.14.5 install /home/pi/MagicMirror/node_modules/uws > node-gyp rebuild > build_log.txt 2>&1 || exit 0 > electron-chromedriver@1.6.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js > electron@1.7.9 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js > magicmirror@2.1.3 install /home/pi/MagicMirror > cd vendor && npm install magicmirror-vendors@ /home/pi/MagicMirror/vendor ├── font-awesome@4.7.0 ├── moment@2.19.2 ├── moment-timezone@0.5.14 └── weathericons@2.1.0 > magicmirror@2.1.3 postinstall /home/pi/MagicMirror > sh installers/postinstall/postinstall.sh && npm run install-fonts Unable to install dependencies! pi@raspberrypi:~ $ -
RE: After update to newest version = Black screen
@Mykle1 I have followed you guide, but I still have a Black screen ?
Best Regards
Michael -
After update to newest version = Black screen
I got Black Screen after update, I have also tried to reinstall with the same result - what to do ?
Best regards Michael
-
RE: MMM-Traffic does not work after latest update ??
@ironman_DK Ahhh I got it, there was missing a ’ in a line, thank you for your help
-
RE: MMM-Traffic does not work after latest update ??
@Anhalter42 said in MMM-Traffic does not work after latest update ??:
npm start dev
I ca see there is a error > MMM-Traffic.js:36 Uncaught SyntaxError: Invalid or unexpected token / how can I see where the error is in MMMTraffic.js is
-
MMM-Traffic does not work after latest update ??
After the newest update the module does not work anymore, everything is in Config.JS and I have installed the update, but after that the module is not on the magic mirror, everthing else is there from the others modules :
{ module: 'MMM-Traffic', position: 'top_left', classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name config: { api_key: 'XXXX', mode: 'driving', origin: 'XXXX', destination: 'XXXXX', arrival_time: '0800', //optional, but needs to be in 24 hour time if used. route_name: 'XXXX', changeColor: true, showGreen: true, limitYellow: 5, //Greater than 5% of journey time due to traffic limitRed: 20, //Greater than 20% of journey time due to traffic traffic_model: 'optimistic', interval: 120000, //2 minutes showWeekend: true, allTime: true } }, -
RE: MMM-Traffic config
@FlatPepsi I think so, I have installed MMM-ModuleScheduler so I dont have to see the route all day. my problem was That I have activated MMM-ModuleScheduler 05:00 in the morning, but I think there is to many there will activate the route in the morning, so I did activate the MMM-ModuleScheduler 03:00 in the night, so now I dont have any problems to view my route.
-
RE: MMM-ModuleScheduler -----> MMM-Globe ?
@ironman_DK Solved : I forgot to write the module MMM-Globe in to MMM-ModuleScheduler in Config.JS, now everything is working.
-
MMM-ModuleScheduler -----> MMM-Globe ?
Is there a reason that I cant use MMM-ModuleScheduler to MMM-Globe ??
in advance I am using MMM-ModuleScheduler to MMM-Traffic and there is no problem, is it not possible to use it at two places in my Config.js ? -
RE: MMM-Doomsday - remove space ?
@pjkoeleman Thank very very much - is there a site or something else where I can read about code, color, size etc… ?
-
MMM-Doomsday - remove space ?
Hi,
Does anyone know if its possible to remove the space between the text ?
-
RE: MMM-Traffic - make text lighter ?
@pjkoeleman ahh off course,I have done it, Thnak you for your help :-)
-
RE: MMM-Traffic - make text lighter ?
@Mykle1 I have solved the problem, I had to add bright in the text :
//routeName
if (this.config.route_name) {
routeName.className = ‘bright small’;
if (this.summary.length > 0 && this.config.show_summary){
routeName.innerHTML = this.config.route_name + ’ ’ + this.config.summaryText + ’ ’ + this.summary + ’ ’ + this.config.arriveByText + ’ ’ + this.config.arrival_time.substring(0,2) + “:” + this.config.arrival_time.substring(2,4);
} else {
console.log(typeof this.config.arrival_time );
routeName.innerHTML = this.config.route_name + ’ ’ + this.config.arriveByText + ’ ’ + this.config.arrival_time.substring(0,2) + “:” + this.config.arrival_time.substring(2,4);
}
}
} -
RE: MMM-Traffic - make text lighter ?
@strawberry-3.141 what do you mean do I have to delete it or … I guess that the text regarding the text is here :
//routeName
if (this.config.route_name) {
routeName.className = ‘dimmed small’;
if (this.summary.length > 0 && this.config.show_summary){
routeName.innerHTML = this.config.route_name + ’ ’ + this.config.summaryText + ’ ’ + this.summary;
} else {
routeName.innerHTML = this.config.route_name;
}
} -
MMM-Traffic - make text lighter ?
how can I make the highlighted text lighter (and only this text, not the text above )

-
RE: MMM-Traffic config
@bocapie said in MMM-Traffic config:
@strawberry-3.141
I figured out my issue with config not booting up. Now i have a problem with loading commute. All it says is “loading commute”. My settings from config file match the js. in the module folder.I have the same problem, my Config is as following, yesterday there was no problem but todays there is, its only coming with loading commute
100:{ module: 'MMM-Traffic', position: 'top_left', classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name config: { api_key: 'XXXXXX', mode: 'driving', origin: 'XXXXXXX', destination: 'XXXXX', arrival_time: '0800', //optional, but needs to be in 24 hour time if used. route_name: 'for at ankomme til XXXX', changeColor: true, showGreen: true, limitYellow: 5, //Greater than 5% of journey time due to traffic limitRed: 20, //Greater than 20% of journey time due to traffic traffic_model: 'pessimistic', interval: 120000, //2 minutes showWeekend: true, allTime: true } }, -
RE: The deafult weather and MMM-DOOMsday is not changing day in the morning......
@broberg oohhhh off course, now it will work / I can see at my magic mirror, that there is a update, how do I update without reinstall the modul ?