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

    Posts

    Recent Best Controversial
    • MMM-GoogleMapsTraffic freezes Magic Mirror

      For a long time a had the issue that MagicMirror freezes after a couple of hours. Finally I found out that after disabling the module GoogleMapsTrafic the error won’t occur.

      In the console the module produces 2 errors:

      js?key=xxxxxxxxxx:121 You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
      sh @ js?key= xxxxxxxxxx:121
      Ah @ js?key= xxxxxxxxxx:119
      google.maps.Load @ js?key= xxxxxxxxxx:18
      (anonymous) @ js?key= xxxxxxxxxx:208
      (anonymous) @ js?key= xxxxxxxxxx:208
      
      MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property 'length' of undefined
          at HTMLScriptElement.script.onload (MMM-GoogleMapsTraffic.js:77)
      script.onload @ MMM-GoogleMapsTraffic.js:77
      

      My config is quite simple and I couldn’t find a way to avoid these errors.

      {
              	module: 'MMM-GoogleMapsTraffic',
      	      	position: 'center',
              	config: {
                      	key: 'xxxxxxxxxx',
                      	lat: 52.5202362,
                      	lng: 13.3663832,
                      	height: '800px',
                      	width: '780px',
      			zoom: 12,
      			updateInterval: 300000, //5 Minuten
      			styledMapType: 'standard',
                      	disableDefaultUI: true,
      			}
      },
      

      Does anybody experiences this problem?
      Every help is highly appreciated.

      posted in Transport
      M
      MacMirror
    • RE: Magic Mirror Blanks Several Hours

      After disabling every single module I found the one which makes trouble: MMM-GoogleMapsTraffic. When it is disabled MagicMirror runs for weeks without problems. I will start a new thread with the errors of the module.

      posted in Troubleshooting
      M
      MacMirror
    • 1 / 1