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

    Posts

    Recent Best Controversial
    • RE: MMM-ResRobot - Public transport information for Sweden

      @leanro great to hear it works. I had one or two of these “fetching departures” when I ran MagicMirror on my Rpi 1 with 256MB memory but since switching to a VM I haven’t seen it. As you have noticed, the solution is to restart MagicMirror.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: 3 tries 3 fails Raspberry b+

      @infamoustiggr
      I didn’t fiddle that much with the mirror pi. But ahead of that I’ve been doing quite some fiddling with Pis in general so I didn’t start from scratch.

      To help you with troubleshooting:

      After installing DietPi and rebooting you are presented with the dietpi-software screen:
      0_1488462696670_upload-e5c282b6-f86e-4f85-9db8-c09d2112e649

      Look under “Software Optimized” and “Software Additional” and make sure that NONE of the options are selected, you want an install that is as clean as possible.

      Under DietPi-Config make sure that Autostart is set to option 0 (default):
      0_1488462810956_upload-7d9332c2-e5a0-4048-9a38-cd6b58a09246

      Change directory to /root and install MagicMirror according to instructions in the README.

      Following my instructions above to install all systemd scripts and their helpers. My /root contains the following:
      0_1488463243912_upload-a81285c4-984c-490f-9115-d51ae96b7284

      Stop magicmirror service (just to make sure it isn’t running) with the command:

      systemctl stop magicmirror.service
      

      Start the magicmirror interactively by running node serveronly from the MagicMirror directory. You should see something similar to this:

      root@mirrortest:~/MagicMirror# node serveronly
      Starting MagicMirror: v2.1.1
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: MMM-Remote-Control
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      Initializing new module helper ...
      Module helper loaded: MMM-WunderGround
      Initializing new module helper ...
      Module helper loaded: newsfeed
      Initializing new module helper ...
      Module helper loaded: MMM-ResRobot
      Initializing new module helper ...
      Module helper loaded: MMM-NetworkScanner
      All module helpers loaded.
      Starting server op port 80 ... 
      Server started ...
      Connecting socket for: MMM-Remote-Control
      Starting node helper for: MMM-Remote-Control
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: MMM-WunderGround
      MMM-WunderGround helper started ...
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Connecting socket for: MMM-ResRobot
      Starting node_helper for module: MMM-ResRobot
      Connecting socket for: MMM-NetworkScanner
      Starting module: MMM-NetworkScanner
      Sockets connected & modules started ...
      
      Ready to go! Please point your browser to: http://localhost:80
      

      If any errors are shown, investigate them.

      Now that MagicMirror is running it’s time to move on to the browser part.
      Stop MagicMirror with ctrl+C and start the service with systemctl start magicmirror.service.

      Make sure browser and matchbox are stopped by running the commands:

      systemctl stop kioskbrowser.service
      systemctl stop matchbox.service
      

      Start matchbox with the command systemctl start matchbox.service. Check that it started ok with systemctl status matchbox.service. If not investigate.

      Once you get this far the “only” thing left to check is the midori browser. As you don’t have an X Display on the console it is slightly trickier. Let me know if/when you made it this far and we’ll take it from there.

      posted in Show your Mirror
      AlvingerA
      Alvinger
    • RE: new boot rpi4 2 giga

      @raf no, that’s not it. You need an Rpi4-specific image. Do like this:

      1. Find out where MagicMirror is installed. I’ll use ~/MagicMirror in the below. (~ is a shortcut to your home directory)
      2. Go to your home directory by entering the command:
        cd
      3. Make a full backup of you MagicMirror installation by entering the command:
        tar czvf mmbackup.tgz MagicMirror
        This will create a file call mmbackup.tgz
      4. Copy the file mmbackup.tgz to another computer or usb stick. There are several ways to do that, google if you don’t know. The important thing is that you do NOT store it on the SD card. The easiest way is probably to use an USB stick. Insert the stick into the Rpi3 and Raspbian will normally automount it. I will assume that the stick is mounted as /mnt/usb. If so then copy the backup with the command:
        cp -vi ~/mmbackup.tgz /mnt/usb
      5. On you Windows computer, download a raspbian image for Rpi4.
      6. Insert your SD card and write the image to card using Etcher or similar program (The same as you did when creating the SD card for the Rpi3)
      7. Move the SD card to the Rpi4 and complete the install.
      8. Copy the file mmbackup.tgz from wherever you put it to your home directory (~). If you used an USB stick in step 4 above then you can use the command:
        cp -vi /mnt/usb/mmbackup.tgz ~/
      9. Unpack the backup with the commands:
        cd
        tar xvzf mmbackup.tgz
      10. Follow the instructions at https://docs.magicmirror.builders/getting-started/installation.html to complete the install. Skip step 2 as you have already installed MagicMirror.
      posted in General Discussion
      AlvingerA
      Alvinger
    • RE: Help with config file

      @sullivnc
      There is a curly brace missing in the config field of the clock module.

      posted in Troubleshooting
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @Zapman I’ll have a look. Your config looks fine at a first look.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: Help with config file

      The position line for the clock module is also wrong, it should be like this:

      position: "top_left",
      

      I recommend that you use a lint tool (e.g. eslint) to do syntax checking. It will find most of the errors.

      posted in Troubleshooting
      AlvingerA
      Alvinger
    • 1
    • 2
    • 2 / 2