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

    Posts

    Recent Best Controversial
    • RE: Npm start issues

      did you run npm install first? or did u use the automatic installer? Looks like there is no electron installed.
      maybe try to execute “DISPLAY=:0 nohup npm start &”

      But i need to say that i am no developer or programer or something like that. Just started to try understanding the whole stuff ^^
      So keep that i mind and before u crash something maybe u should wait for someone who got more ideas.

      for so long keep reading: https://www.google.de/search?client=safari&rls=en&q=run-start.sh:+4:+run-start.sh:+electron:+not+found&ie=UTF-8&oe=UTF-8&gfe_rd=cr&dcr=0&ei=Q9JDWuagJ6zBXqmvrKAI

      posted in Hardware
      cruunnerrC
      cruunnerr
    • RE: Npm start issues

      have a screenshot of the errors? or just copy/paste the error messages.

      Where did u type npm start? u need to be in the MagicMirror Folder.

      posted in Hardware
      cruunnerrC
      cruunnerr
    • RE: MMM-CalendarExt cant get the calendar to show

      @Sean
      U think i need to do an update of node?

      So u wanna hear a fun fact?

      On my Mirror itself nothings shows up.
      BUT, when i go to the MagicMirror website via browser or the MMM-RemoteControl it is right there!

      Can anyone explain that?

      the config i test it:

                     {
                              module: 'MMM-CalendarExt',
                              position: "bottom_bar",
                              config: {
                                            system: {
                                            show: ['month'],
                                            },
                                            views: {
                                            month: {
                                            position:'bottom_bar',
                                            },
                                            },
                                            calendars :[
                                            {
                                            url: "https://ics.fixtur.es/v2/eintracht-frankfurt.ics"
                                            },
                                            ]
                                  }
                      },
      

      alt text

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Magic mirror Pi3 + Windows 7 1.60m x 0.60m

      looks really really nice. Well done! :D

      Did you really just glued the mirror? i would be scared that the glass will fall…
      Anyhow it looks great !

      posted in Show your Mirror
      cruunnerrC
      cruunnerr
    • RE: Electron CPU usage

      Cause i didn’t want to run 2.1.0 and also got many errors every time i looked in the logs, i decided to do a fresh install and try again.

      So i just installed a fresh Raspbian stretch lite and followed this guide: https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide

      after the first start i got 80-85% cpu usage just playing the default modules.

      so i went into my MagicMirror folder and just typed “npm install electron@1.4.15”.
      It said that the version seems to be invalid, but after a reboot i tooled a look in the
      “/home/pi/MagicMirror/node_modules/electron/dist/version”
      and saw a 1.4.15 shown.

      thats all.

      so in my experience its just the electron version needed to downgrade. Neither the OS nor the MagicMirror Version needs to be downgraded.

      Loaded up a video: https://youtu.be/ak_mEMuLpYc

      shows “nmon-stats” while adding Traffic- and News-Module via Remote Control
      Still shows peaks when animation comes, but its fluety anyway

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: MMM-CalendarExt cant get the calendar to show

      @Sean said in MMM-CalendarExt cant get the calendar to show:

      pm2 log mm

      So i set a a new installation of MM 2.1.3
      i can’t get the calendar to show up.

      pi@raspberrypi:~ $ pm2 log mm
      [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-error-0.log last 15 lines:
      0|mm       | ERROR! Could not validate main module js file.
      0|mm       | /home/pi/MagicMirror/modules/MMM-CalendarExt/MMM-CalendarExt.js:182
      0|mm       |   addCalendars: async function() {
      0|mm       |                       ^^^^^^^^
      0|mm       | SyntaxError: Unexpected token function
      0|mm       |     at Object.exports.runInThisContext (vm.js:76:16)
      0|mm       |     at Module._compile (module.js:528:28)
      0|mm       |     at Object.Module._extensions..js (module.js:565:10)
      0|mm       |     at Module.load (module.js:473:32)
      0|mm       |     at tryModuleLoad (module.js:432:12)
      0|mm       |     at Function.Module._load (module.js:424:3)
      0|mm       |     at Module.require (module.js:483:17)
      0|mm       |     at require (internal/module.js:20:19)
      0|mm       |     at Class.loadModuleDefaultConfig (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:254:17)
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:211:10
      
      /home/pi/.pm2/logs/mm-out-0.log last 15 lines:
      0|mm       | Connecting socket for: MMM-NOAA
      0|mm       | Starting module: MMM-NOAA
      0|mm       | Connecting socket for: MMM-MyCommute
      0|mm       | ====================== Starting node_helper for module [MMM-MyCommute]
      0|mm       | Connecting socket for: MMM-SystemStats
      0|mm       | Connecting socket for: newsfeed
      0|mm       | Starting module: newsfeed
      0|mm       | Connecting socket for: MMM-CalendarExt
      0|mm       | Sockets connected & modules started ...
      0|mm       | Launching application.
      0|mm       | Create new calendar fetcher for url: xxx - Interval: 300000
      0|mm       | Create new calendar fetcher for url: http://i.cal.to/ical/61/nrw/feiertage/71e91ccb.83fad41c-d19fda68.ics - Interval: 300000
      0|mm       | Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
      0|mm       | [RCREPO] Repository scanning...
      0|mm       | [RCREPO] modules.json is updated.
      
      pi@raspberrypi:~/MagicMirror $ npm start dev
      
      > magicmirror@2.1.3 start /home/pi/MagicMirror
      > sh run-start.sh "dev"
      
      Starting MagicMirror: v2.1.3
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: MMM-Remote-Control
      Initializing new module helper ...
      Module helper loaded: MMM-Remote-Control-Repository
      Initializing new module helper ...
      Module helper loaded: MMM-PIR-Sensor
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      Initializing new module helper ...
      Module helper loaded: MMM-NOAA
      Initializing new module helper ...
      Module helper loaded: MMM-MyCommute
      Initializing new module helper ...
      Module helper loaded: MMM-SystemStats
      No helper found for module: MMM-GoogleMapsTraffic.
      Initializing new module helper ...
      Module helper loaded: newsfeed
      Initializing new module helper ...
      Module helper loaded: MMM-CalendarExt
      All module helpers loaded.
      Starting server on port 8080 ... 
      You're using a full whitelist configuration to allow for all IPs
      Server started ...
      Connecting socket for: MMM-Remote-Control
      Starting node helper for: MMM-Remote-Control
      Connecting socket for: MMM-Remote-Control-Repository
      Connecting socket for: MMM-PIR-Sensor
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: MMM-NOAA
      Starting module: MMM-NOAA
      Connecting socket for: MMM-MyCommute
      ====================== Starting node_helper for module [MMM-MyCommute]
      Connecting socket for: MMM-SystemStats
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Connecting socket for: MMM-CalendarExt
      Sockets connected & modules started ...
      Whoops! There was an uncaught exception...
      { Error: listen EADDRINUSE 0.0.0.0:8080
          at Object.exports._errnoException (util.js:1026:11)
          at exports._exceptionWithHostPort (util.js:1049:20)
          at Server._listen2 (net.js:1253:14)
          at listen (net.js:1289:10)
          at net.js:1399:9
          at _combinedTickCallback (internal/process/next_tick.js:77:11)
          at process._tickCallback (internal/process/next_tick.js:98:9)
          at Module.runMain (module.js:592:11)
          at run (bootstrap_node.js:402:7)
          at startup (bootstrap_node.js:157:9)
        code: 'EADDRINUSE',
        errno: 'EADDRINUSE',
        syscall: 'listen',
        address: '0.0.0.0',
        port: 8080 }
      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.
      ERROR! Could not validate main module js file.
      /home/pi/MagicMirror/modules/MMM-CalendarExt/MMM-CalendarExt.js:182
        addCalendars: async function() {
                            ^^^^^^^^
      SyntaxError: Unexpected token function
          at Object.exports.runInThisContext (vm.js:76:16)
          at Module._compile (module.js:528:28)
          at Object.Module._extensions..js (module.js:565:10)
          at Module.load (module.js:473:32)
          at tryModuleLoad (module.js:432:12)
          at Function.Module._load (module.js:424:3)
          at Module.require (module.js:483:17)
          at require (internal/module.js:20:19)
          at Class.loadModuleDefaultConfig (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:254:17)
          at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:211:10
      

      Any idea?

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: MMM-GoogleMapsTraffic

      Great, that worked. Thank you.

      Another question:

      Do you think its possible to show the map just at specific times.

      like in this module: https://github.com/jclarke0000/MMM-MyCommute

      so you were able to show the map just at times u need to know the traffic situation. for example i just need it Mo-Fr between 05:00-07:00 am and on Fr between 02:00-08:00 pm and Sa-So between 09:00am-02:00pm.

      its just an idea. Anyhow its a great module that worked now really fine for me :)

      posted in Transport
      cruunnerrC
      cruunnerr
    • RE: MMM-GoogleMapsTraffic

      but where to add this code?

      i typed in this in my MagicMirror/config/config.js:

      {
                        module: 'MMM-GoogleMapsTraffic',
                        position: 'bottom_left',
                        config: {
                            key: 'xxxx',
                            lat: 50.959023,
                            lng: 6.333991,
                            height: '250px',
                            width: '250px',
                            zoom: 9,
                            enableTraffic: true,
                            disableDefaultUI: true,
                            styles: [
      			{elementType: 'geometry', stylers: [{color: '#242f3e'}]},
      			{elementType: 'labels.text.stroke', stylers: [{color: '#242f3e'}]},
      			{elementType: 'labels.text.fill', stylers: [{color: '#746855'}]},
      			{
      			    featureType: 'administrative.locality',
      			    elementType: 'labels.text.fill',
      			    stylers: [{color: '#d59563'}]
      			},
      			{
      				featureType: 'poi',
      				elementType: 'labels.text.fill',
      				stylers: [{color: '#d59563'}]
      			},
      			{
      				featureType: 'poi.park',
      			        elementType: 'geometry',
      			        stylers: [{color: '#263c3f'}]
      			},
      			{
      				featureType: 'poi.park',
      				elementType: 'labels.text.fill',
      				stylers: [{color: '#6b9a76'}]
      			},
      			{
      				featureType: 'road',
      				elementType: 'geometry',
      				stylers: [{color: '#38414e'}]
      			},
      			{
      				featureType: 'road',
      				elementType: 'geometry.stroke',
      					  stylers: [{color: '#212a37'}]
      			},
      			{
      				featureType: 'road',
      				elementType: 'labels.text.fill',
      					  stylers: [{color: '#9ca5b3'}]
      			},
      			{
      				featureType: 'road.highway',
      				elementType: 'geometry',
      				stylers: [{color: '#746855'}]
      			},
      			{
      				featureType: 'road.highway',
      				elementType: 'geometry.stroke',
      				stylers: [{color: '#1f2835'}]
      			},
      			{
      				featureType: 'road.highway',
      				elementType: 'labels.text.fill',
      				stylers: [{color: '#f3d19c'}]
      			},
      			{
      				featureType: 'transit',
      				elementType: 'geometry',
      				stylers: [{color: '#2f3948'}]
      			},
      			{
      			        featureType: 'transit.station',
      				elementType: 'labels.text.fill',
      				stylers: [{color: '#d59563'}]
      			},
      			{
      			        featureType: 'water',
      			        elementType: 'geometry',
      				stylers: [{color: '#17263c'}]
      			},
      			{
      				featureType: 'water',
      				elementType: 'labels.text.fill',
      				stylers: [{color: '#515c6d'}]
      			},
      			{
      				featureType: 'water',
      				elementType: 'labels.text.stroke',
      				stylers: [{color: '#17263c'}]
      			}
      			]
                            }
                      },
      

      and it looks like this:

      0_1514024561160_Bildschirmfoto 2017-12-23 um 11.20.22.png

      posted in Transport
      cruunnerrC
      cruunnerr
    • RE: MMM-GoogleMapsTraffic

      Hey,

      cool module but got some issues when trying to select a dark mode style.
      I wanted to look the map like in this example: https://developers.google.com/maps/documentation/javascript/styling

      well, i have tried to use your code and modify the colors. also i have tried to use the code from here: https://mapstyle.withgoogle.com

      the module always starts, but i just got the standard view on it.

      maybe you could explain a little bit more detailed how to do it. that would be great. thx

      posted in Transport
      cruunnerrC
      cruunnerr
    • RE: npm ERR! cb() never called! _ when trying to install MMM-RTSPStream

      @shbatm said in npm ERR! cb() never called! _ when trying to install MMM-RTSPStream:

      npm install -g npm

      as i typed in this, it started to install and shows this:

      npm ERR! Linux 4.9.59-v7+
      npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "npm"
      npm ERR! node v6.12.2
      npm ERR! npm  v3.10.10
      npm ERR! path /usr/lib/node_modules/npm/node_modules/abbrev
      npm ERR! code EACCES
      npm ERR! errno -13
      npm ERR! syscall access
      
      npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/abbrev'
      npm ERR!     at Error (native)
      npm ERR!  { Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/abbrev'
      npm ERR!     at Error (native)
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'access',
      npm ERR!   path: '/usr/lib/node_modules/npm/node_modules/abbrev' }
      npm ERR! 
      npm ERR! Please try running this command again as root/Administrator.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /home/pi/npm-debug.log
      

      so i did it as root and rebooted my pi.

      now i installed your module and got some warnings AND some errors:

      pi@MagicMirror:~/MagicMirror/modules/MMM-RTSPStream $ npm install
      npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha1-QFUCsAfzGcP0cXXER0UnMA8qta0= integrity checksum failed when using sha1: wanted sha1-QFUCsAfzGcP0cXXER0UnMA8qta0= but got sha512-zr6QQnzLt3Ja0t0XI8gws2kn7zV2p0l/D3kreNvS6hFZhVU5g+uY/30l42jbgt0XGcNBEmBDGJR71J692V92tA==. (260 bytes)
      npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
      
      > MMM-RTSPStream@1.2.1 postinstall /home/pi/MagicMirror/modules/MMM-RTSPStream
      > ./install_sd_patch.sh && sudo npm i -g http-server
      
      Applying Graceful Shutdown patch to MagicMirror.
      error: Anwendung des Patches fehlgeschlagen: js/electron.js:96
      error: js/electron.js: Patch konnte nicht angewendet werden
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! MMM-RTSPStream@1.2.1 postinstall: `./install_sd_patch.sh && sudo npm i -g http-server`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the MMM-RTSPStream@1.2.1 postinstall 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/2017-12-22T17_39_55_666Z-debug.log
      pi@MagicMirror:~/MagicMirror/modules/MMM-RTSPStream $ 
      

      edit:

      i took a look in the debug_log file after the reboot of the pi (2017-12-22T17_36_34_105Z-debug.log) :

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
      2 info using npm@5.6.0
      3 info using node@v9.2.1
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle magicmirror@2.1.0~prestart: magicmirror@2.1.0
      6 info lifecycle magicmirror@2.1.0~start: magicmirror@2.1.0
      7 verbose lifecycle magicmirror@2.1.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.1.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirro$
      9 verbose lifecycle magicmirror@2.1.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.1.0~start: Args: [ '-c', 'electron js/electron.js' ]
      11 silly lifecycle magicmirror@2.1.0~start: Returned: code: 1  signal: null
      12 info lifecycle magicmirror@2.1.0~start: Failed to exec start script
      13 verbose stack Error: magicmirror@2.1.0 start: `electron js/electron.js`
      13 verbose stack Exit status 1
      13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
      13 verbose stack     at EventEmitter.emit (events.js:159:13)
      13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      13 verbose stack     at ChildProcess.emit (events.js:159:13)
      13 verbose stack     at maybeClose (internal/child_process.js:943:16)
      13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
      14 verbose pkgid magicmirror@2.1.0
      15 verbose cwd /home/pi/MagicMirror
      16 verbose Linux 4.9.59-v7+
      17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
      18 verbose node v9.2.1
      19 verbose npm  v5.6.0
      20 error code ELIFECYCLE
      21 error errno 1
      22 error magicmirror@2.1.0 start: `electron js/electron.js`
      22 error Exit status 1
      23 error Failed at the magicmirror@2.1.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 ]
      

      could it be, that my downgrade to 2.1.0 is to blame?

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: npm ERR! cb() never called! _ when trying to install MMM-RTSPStream

      hi,

      yes, its on a raspberry pi 3.

      pi@MagicMirror:~ $ node -v
      v6.12.2
      pi@MagicMirror:~ $ npm -v
      3.10.10
      

      edit:

      well, first it started to install something. i did it via ssh, so i changed to my browser to surf in the web while the raspberry is installing. When i looked back i just saw this message shown above.

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: MMM-MyCommute

      ok. i send it to you, but the code looks scary with the chat.

      i uploaded it to my ftp-server and send you the link

      thanks for helping me

      edit:

      Got it!
      you have too write it like this:

      alternatives: true, //does work
      

      not like this:

      alternatives: 'true', //doesn't work
      

      Thank you anyway :)

      posted in Transport
      cruunnerrC
      cruunnerr
    • RE: MMM-MyCommute

      For sure this is no problem. Take as much time as u need for your family. thats much more important!

      didn’t find a private message option, just a chat^^ sorry for that. I post my config right here.

      just for info: I didn’t touch the MMM-MyCommute.js, so its just this one i need: https://github.com/jclarke0000/MMM-MyCommute/blob/master/MMM-MyCommute.js

      So here is my full config:

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "0.0.0.0", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["192.0.0.0/3", "::fff:0.0.0.0/1", "::fff:128.0.0.0/2", "::fff:192.0.0.0/3", "::fff:224.0.0.0/4", "127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "de",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
              		module: 'MMM-Remote-Control'
              		// uncomment the following line to show the URL of the remote control on the mirror
              		// , position: 'bottom_left'
              		// you can hide this module afterwards from the remote control itself
          		},
      		{
      		module: 'MMM-SystemStats',
      		position: 'top_center', // This can be any of the regions.
      		classes: 'small dimmed', // Add your own styling. Optional.
      		config: {
      			updateInterval: 5000,
      			animationSpeed: 0,
      			align: 'right', // align labels
      			//header: 'System Stats', // This is optional
      			},
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: 'calendar',
      			header: 'Chris Kalender',
      			position: 'top_left',
      			config: {
      				calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: '*private*'
      					},
      					{
                                                      symbol: 'calendar-check-o ',
                                                      url: 'http://i.cal.to/ical/61/nrw/feiertage/71e91ccb.83fad41c-d19fda68.ics'
                                              },
      
      				]
      
      			}
      		},
      		{
      			module: 'MMM-MyCommute',
      			position: 'top_left',
      			header: 'Verkehrslage',
      			classes: 'default everyone',
      			showSummary: 'true', 
      			config: {
      				apikey: '*private*',
          				origin: '*private*',  
      				destinations: [
            				{
              				destination: '*private*',
              				label: 'Arbeit',
              				mode: 'driving',
      					alternatives: 'true',
      					time: null
            				},
            				{
              				destination: '*private*',
              				label: '*private*',
              				mode: 'driving',
              				time: null
            				},
          				]
         			}
        		},
      //		{
      //			module: "compliments",
      //			position: "lower_third"
      //		},
      //		{
      //			module: "currentweather",
      //			position: "top_right",
      //			config: {
      //				location: "New York",
      //				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
      //				appid: "YOUR_OPENWEATHER_API_KEY"
      //			}
      //		},
      //		{
      //			module: "weatherforecast",
      //			position: "top_right",
      //			header: "Weather Forecast",
      //			config: {
      //				location: "New York",
      //				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
      //				appid: "YOUR_OPENWEATHER_API_KEY"
      //			}
      //		},
      		{
      			disabled: false,
      			module: 'MMM-NOAA',
      			position: 'top_right',
      			config: {
      
      				apiKey: "*private*",    // https://www.wunderground.com/weather/api  select the middle plan... 
      				useAir: false,             // set to false if you do not want to use Air Quality Index
      				airKey: "*private*",    // IF you want Air Quality Index
      				pws: "*private*",         // go here to find your pws: https://www.wunderground.com/wundermap
      				showClock: false,           // Hides or shows clock
      				dformat: false,             // for M/D/YYYY format, false for D/M/YYYY
      				format: "24",              // 12 or 24 hour format.. will default to 12 hour if none selected.
      				ampm: false,                // to show AM and PM on Sunrise/Sunset time
      				showGreet: false,          // deafult is false - to show greeting under clock and above date
      				name: "",                  // Your name
      				showWind: false,
      				showDate: false,
      				showForecast: true,         //show bottom 3 day forecast
      				flash: true,                 //Today in forecast flashes halo
      				showUV: true,               //show UV index
      	      			showBar: true,             // show Barometer
      	    			showHum: true,              //show Humidity level
      				position: 'top_right',       //whatever you have in above position must also be here
      	      			alert: true                //show weather alerts default is true
      				}
      		},
      		{
      			module: 'MMM-Globe',
      			position: 'top_right',
      			config: {
      					style: 'natColor',
      					imageSize: 200,
      					ownImagePath:'',
      					updateInterval: 10*60*1000
      				}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "Tagesschau Themen",
      						url: "http://www.tagesschau.de/xml/rss2"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true,
      				showDescription: true,
      				updateInterval: 25000,
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      

      Thank u very much for helping :)

      posted in Transport
      cruunnerrC
      cruunnerr
    • RE: MMM-MyCommute

      its correct.

      intentionally i typed in a wrong apikey, what effects an error message when module loads up.

      its this format and its correct:

      apikey: 'ABCDabcd1234abcd5679',
      

      edit:

      i used the “standard api key” from google. there was also a “premium api key”, but this one i don’t need, right?

      to make sure that I express myself correctly… i want it to looks like this:

      alt text

      posted in Transport
      cruunnerrC
      cruunnerr
    • RE: MMM-MyCommute

      i thought it is set to “true” by default.

      i tried it like this, but still not working:

      {
              destination: 'xxx_hide_xxx',
              label: 'Arbeit',
              mode: 'driving',
              showSummary: 'true',
              alternatives: 'true',
              time: null
            },
      

      edit:
      still checked the “MMM-MyCommute.js”

      showSummary is true

      posted in Transport
      cruunnerrC
      cruunnerr
    • RE: MMM-MyCommute

      Hey,

      this is a great module. love it. but i got some issues by using the alternative routes.
      the “avoid” feature works, but it would be nice if i could see all available routes in one destination. With “available routes” i mean the alternative routes that google maps shows you normally.

      i tried like this:

      {
                              module: 'MMM-MyCommute',
                              position: 'top_left',
                              header: 'Verkehrslage',
                              classes: 'default everyone', 
                              config: {
                                      apikey: 'xxx_hide_xxx',
                                      origin: 'xxx_hide_xxx',  
                                     
                                     destinations: [
            {
              destination: 'xxx_hide_xxx',
              label: 'Arbeit',
              mode: 'driving',
              alternatives: 'true', // < thats what i mean!!!
              time: null
            },
            {
              destination: 'xxx_hide_xxx',
              label: 'Arbeit',
              mode: 'driving',
              avoid: 'highways',
              time: null
            },
            {
              destination: 'xxx_hide_xxx',
              label: 'xxx_hide_xxx',
              mode: 'driving',
              time: null
            },
          ]
         }
        },
      

      but it looks just like this:

      0_1513888105763_Bildschirmfoto 2017-12-21 um 21.25.27.png

      any idea?

      posted in Transport
      cruunnerrC
      cruunnerr
    • npm ERR! cb() never called! _ when trying to install MMM-RTSPStream

      Hey guys,

      i actually downgraded my MM to 2.1.0 and electron 1.4.15 cause of the “CPU Usage Problem”…
      However the MM runs very well and all Modules are fluety.

      Now i was trying to install the MMM-RTSPStream Module but get an error message. All other modules, where i needed to use npm install were good.

      i just clone the module into my MagicMirror/modules folder and cd in the new folder. when i type in “nom install” i get the message below:

      pi@MagicMirror:~ $ cd ~/MagicMirror/modules
      pi@MagicMirror:~/MagicMirror/modules $ git clone https://github.com/shbatm/MMM-RTSPStream.git
      Klone nach 'MMM-RTSPStream' ...
      remote: Counting objects: 162, done.
      remote: Total 162 (delta 0), reused 0 (delta 0), pack-reused 162
      Empfange Objekte: 100% (162/162), 1.02 MiB | 804.00 KiB/s, Fertig.
      Löse Unterschiede auf: 100% (102/102), Fertig.
      pi@MagicMirror:~/MagicMirror/modules $ cd MMM-RTSPStream
      pi@MagicMirror:~/MagicMirror/modules/MMM-RTSPStream $ npm install
      npm ERR! cb() never called!
      pi@MagicMirror:~/MagicMirror/modules/MMM-RTSPStream $
      

      Well, i am not a brilliant programmer, so i hope to get some help of you guys.

      Thank you very much :)

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Electron CPU usage

      Well,

      i had MM 2.1.2 installed, so i needed to use the 2.1.0 way…

      but i actually got it running with “DISPLAY=:0 npm start”

      then i just copied the installed modules folders to the new directory and copied my “old” config.js but that didn’t work.

      i actually install the 3rd party modules manual. hopefully my old config.js will work then.

      But thank you anyway

      edit:

      so,

      i got MM2.1.0 running with electron 1.4.15

      have had a few problems, but now all works great.

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • 1
    • 2
    • 10
    • 11
    • 12
    • 13
    • 14
    • 13 / 14