• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-MyCommute module black screen

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 315 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    ChanceTime
    last edited by Jun 25, 2020, 1:21 PM

    Hey all,

    I’m still relatively new at the Magic Mirror platform and Python in general, so it’s entirely possible my error is a pretty easy one to fix. I’m having issues with adding MMM-MyCommute to my setup - when I insert the code into my config file, the screen stays black after an npm start and I can’t figure out why. (I also had this issue trying to add MMM-MovieList for some reason; for that, as with MMM-MyCommute, the solution seems to have simply been removing it from the config file.)

    The code I have for this config is as follows:

    		      {
    			module: "MMM-MyCommute",
    			position: 'bottom_center',
    			config: {
    			  apiKey: "myAPIkeygoeshere",
    			  origin: "60 George Street, Ottawa, ON, K1N 1J4",
    			  destinations: [
    			    {
    			      destination: "77 Bank Street, Ottawa, ON, K1P 5N2",
    			      label: "Work",
    			      mode: "driving",
    			      color: "#82E5AA"
    			    }
    			  ],
    			  // Additional config for calendar routes:
    			  maxCalendarEvents: 2,
    			  calendarOptions: [
    			    {
    			      mode: "driving"
    			    },
    			    {
    			      mode: "transit",
    			      transitMode: "train"
    			    }
    			  ]
    			}
    		      },
    
    

    I’m using this fork:

    https://github.com/qistoph/MMM-MyCommute

    Thanks in advance!

    S 1 Reply Last reply Jun 25, 2020, 1:39 PM Reply Quote 0
    • S Offline
      sdetweil @ChanceTime
      last edited by Jun 25, 2020, 1:39 PM

      @ChanceTime two places to look

      in the log from how you start MM, terminal window or pm2 (use pm2 logs --lines=100 command)
      and in the developers window, ctrl-shift-i on the mirror keyboard, select the tab labeled console, and scroll up to see any errors (usually red text)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • C Offline
        ChanceTime
        last edited by Jun 25, 2020, 3:20 PM

        Aaaaah, thanks sdetwell! I ah, just solved it, and the answer was very silly.

        For any future newbs having this issue across multiple modules, check that the files for modules you are referencing are actually in the Magic Mirror’s modules folder. A few of mine - MMM-MovieListings and MMM-MyCommute somehow got installed in ~/MagicMirror and not ~/MagicMirror/modules , which explains why it was happening in both places. Whoops! MyCommute is now working perfectly.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy