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

    Posts

    Recent Best Controversial
    • RE: Starter problem

      @kurt

      That’s okay! You’re in the right folder now :)

      In the previous post your command prompt looked like this:

      pi@raspberrypi:~/MagicMirror $
      

      Which shows you in the MagicMirror directory. But if your command prompt now looks like this:

      pi@raspberrypi:~ $
      

      Then you are back in the correct ‘~’ folder and you can proceed to step 2.

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Starter problem

      @kurt

      Two things -

      1. You’re in the MagicMirror directory. Type this:
      cd ~
      
      1. You need a space here:
      tar -cvf mirror.tar/MagicMirror
      

      should be

      tar -cvf mirror.tar /MagicMirror
      
      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Mirror won't start - Command line error [Details inside]

      @1uke_

      Rather than

      ~ $ cd MagicMirror/config
      

      just type

      cd MagicMirror/config
      
      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Starter problem

      @kurt

      Just wanted to check in. I tried to copy the config.js you posted and I had some problems as well. I’m a bit busy today, but I have some ideas and if you’re still stuck I’ll try to have a solution for you tomorrow. :)

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Starter problem

      @kurt

      From a new terminal session:

      cd MagicMirror/modules/MMM-WienerLinien

      npm install

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Starter problem

      @kurt

      Hmm. I’ll test your config.js on my system and see if I can isolate the problem.

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Starter problem

      @kurt

      You’re welcome, did you re-start the mirror program after changing the config file?

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Starter problem

      @kurt

      Also, it’s a good idea to remove your personal API codes when sharing your config file(s).

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Starter problem

      @kurt

      You’re missing a } here

      {
                    module: "MMM-WienerLinien",
                    position: "top_left",
                    config: {
                         api_key: "xxxxxxxxxxx",
                         stations: ["142", "141"],
      },
      

      should be

      {
                    module: "MMM-WienerLinien",
                    position: "top_left",
                    config: {
                         api_key: "xxxxxxxxxxx",
                         stations: ["142", "141"],
                    }
      },
      

      Could be other issues, but check that out first :)

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: iFrame

      I have a multi-page website I’m displaying in iFrame. Is there a simple way to scroll the page down after some amount of time passes, or as prompted by a socket notification?

      posted in Requests
      in_a_daysI
      in_a_days
    • RE: Restart Mirror?

      @Achatos

      Are you running pm2? If so,

      pm2 restart mm

      will restart your mirror software. Otherwise use

      DISPLAY=:0 npm start

      from the MagicMirror folder and it will start up.

      EDIT: Just realized this last suggestion is only applicable if you don’t have the MM software already running.

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Trouble getting it to start

      @PhilsterM9

      If you have a keyboard plugged into your Pi you should be able to use the ‘Windows’ key to pull the start menu up on top of MM, from which you can select Accessories > Terminal. Not sure what the equivalent key would be for a non-Windows system keyboard. You can also Alt + F4 to close the MM program - but you’ll have to act fast because the pm2 software is going to automatically re-load it. Either method should allow you to get into the Terminal.

      After that, as previously suggested

      pm2 stop mm

      will shut down the MM program and stop it from re-loading until your next boot up.

      I suspect most people prefer to access their Terminal over SSH from a different system. It’s pretty easy to enable on your Pi, and though the process varies depending on your OS, it’s pretty easy to figure out. I can give some pointers if you can’t figure it out from available documentation.

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Trouble getting it to start

      @bhepler

      Most definitely! I inferred from

      “even though I did all the pm2 steps”

      that @PhilsterM9 had gone through the pm2 install process after re-flash - but your directions should definitely help cross the finish line.

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: MMM-NBA / NBA Scores Module

      @Burner911

      Still a long way to go, but I’ll keep working at this till I make something work! :)

      The parser is available here if anybody wants to play around with displaying the data.

      https://github.com/in-a-days/MMM-NBA/blob/master/MMM-NBA.py

      It’s the first original code I’ve written in a very long time so forgive me if it’s not pretty. ;)

      posted in Development
      in_a_daysI
      in_a_days
    • RE: Trouble getting it to start

      @PhilsterM9

      That is weird! If you are able to launch the mirror software with

      DISPLAY=:0 npm start

      PM2 should definitely work :(

      If you want to modify system settings like timezone, go to your terminal command line and

      sudo raspi-config

      This will allow you modify a LOT of system settings including time zone and keyboard layout. If you’re looking to modify the configuration of modules on your mirror software you need to edit your config.js file. In a new Terminal session:

      cd MagicMirror/config
      nano config.js

      This will allow you to edit your MM config file which holds the specific configuration options for your MM modules.

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Trouble getting it to start

      @PhilsterM9

      Yes! From that screen type:

      cd ..
      

      So you see

      pi@raspberrypi: /MagicMirror $

      then type

      DISPLAY=:0 npm start

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Trouble getting it to start

      @PhilsterM9

      You need to launch the Terminal to get to the command prompt. Same place from which you launched the MM installer. If you type:

      cd MagicMirror/config

      you should see that you’ve changed directories. Then type:

      cp config.js.sample config.js

      That’s it. MM should be ready to launch.

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Trouble getting it to start

      @PhilsterM9

      No worries, I did the same thing on my first install!

      If you made it this far you should be able to put a fresh copy of Raspbian on your SD Card. Once done, go to the terminal and:

      curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
      

      for a clean install of MM.

      Before it’s going to run, you need to rename/copy the config.js file. Hit the terminal and

      cd MagicMirror/config
      cp config.js.sample config.js
      

      That config.js file is going to be very important in customizing your mirror. Next:

      cd ..
      DISPLAY=:0 nohup npm start
      

      If your mirror software pops up without issue you’re in the clear and can proceed with the Configuration and Auto-Start stuff. But if you’ve got any issues at this point, it ought to be troubleshot before continuing with system changes.

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Trouble getting it to start

      @PhilsterM9

      Looks like your issues are occurring in the pm2 install/setup process. Are you able to get the Magic Mirror software up and running before moving on to this step? All this pm2 stuff is intended to restart your mirror in the event of a crash. Did you have the mirror software working first?

      posted in Troubleshooting
      in_a_daysI
      in_a_days
    • RE: Show slideshow of pictures or play short video

      @corbins11

      These are both excellent and easy-install modules. Probably a good place to start. You can always create a private IG account or Flickr stream if it’s mostly for family photos.

      https://github.com/kapsolas/MMM-Flickr

      https://github.com/kapsolas/MMM-Instagram

      posted in Requests
      in_a_daysI
      in_a_days
    • 1 / 1