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
    • 1 / 1