• 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.

Modules with Images not Displaying

Scheduled Pinned Locked Moved Solved Troubleshooting
10 Posts 3 Posters 2.9k Views 3 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @StrIIker
    last edited by Oct 15, 2018, 8:50 PM

    @striiker

    Did you run npm install in the MMM-EARTH directory first?

    Then, this should be your default config.js entry for MMM-EARTH:

    {
        module: "MMM-EARTH",
        position: "bottom_center",
        config: {
            mode: "Natural",
            rotateInterval: 15000,
            MaxWidth: "50%",
            MaxHeight: "50%",
        }
    },
    

    and the default config.js entry for MMM-MARS

    {
        module: 'MMM-MARS',
        position: 'top_left',
        config: {
            rover: "curiosity",              // which rover? curiosity, opportunity or spirit
            sol: "200",                      // sol date you want pictures from
            useHeader: false,                // true if you want a header      
            header: "",                      // useHeader must be true
            maxWidth: "300px",
            rotateInterval: 5 * 60 * 1000,   // new image 5 minutes
        }
    },
    

    Create a working config
    How to add modules

    S 1 Reply Last reply Oct 15, 2018, 9:02 PM Reply Quote 1
    • S Offline
      StrIIker @Mykle1
      last edited by StrIIker Oct 15, 2018, 9:03 PM Oct 15, 2018, 9:02 PM

      @mykle1

      Yes, I did run the nom install command from the MMM-EARTH directory and it completed the install. I also have the config in place as listed. Please see a screen shot of the lower portion of my display… (and yes, that news headline is terrifying!) ;)

      Here’s my command summary from when I installed MMM-EARTH

      pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/mykle1/MMM-EARTH.git
      Cloning into 'MMM-EARTH'...
      remote: Enumerating objects: 361, done.
      remote: Total 361 (delta 0), reused 0 (delta 0), pack-reused 361
      Receiving objects: 100% (361/361), 1.73 MiB | 2.15 MiB/s, done.
      Resolving deltas: 100% (202/202), done.
      pi@raspberrypi:~/MagicMirror/modules $ cd MMM-EARTH/
      pi@raspberrypi:~/MagicMirror/modules/MMM-EARTH $ npm install
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 49 packages in 41.578s
      

      0_1539637161553_Screen Shot 2018-10-15 at 4.57.03 PM.png

      EDIT: Here’s a link to the other module which is having issues:

      https://github.com/spectroman/mmm-moon-phases/issues/11

      S 1 Reply Last reply Oct 15, 2018, 9:13 PM Reply Quote 0
      • S Offline
        StrIIker @StrIIker
        last edited by Oct 15, 2018, 9:13 PM

        Here are my config entries for the two modules…

        {
            module: 'MMM-MARS',
            position: 'bottom_left',
            config: {
                rover: "curiosity",              // which rover? curiosity, opportunity or spirit
                sol: "200",                      // sol date you want pictures from
                useHeader: false,                // true if you want a header
                header: "",                      // useHeader must be true
                maxWidth: "300px",
                rotateInterval: 5 * 60 * 1000,   // new image 5 minutes
            }
        },
        {
            module: "MMM-EARTH",
            position: "bottom_center",
            config: {
                mode: "Natural",
                rotateInterval: 15000,
                MaxWidth: "50%",
                MaxHeight: "50%",
            }
        },
        
        J M 2 Replies Last reply Oct 15, 2018, 9:23 PM Reply Quote 0
        • J Offline
          justjim1220 Module Developer @StrIIker
          last edited by Oct 15, 2018, 9:23 PM

          @striiker

          Have your tried rebooting your system?

          "Life's Too Short To Dance With Ugly People"
          Jim Hallock - 1995

          S 1 Reply Last reply Oct 15, 2018, 9:39 PM Reply Quote 1
          • M Offline
            Mykle1 Project Sponsor Module Developer @StrIIker
            last edited by Oct 15, 2018, 9:24 PM

            @striiker

            I just copy and pasted your config entry from above and both modules fired right up. Have you changed anything in the module files?

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • S Offline
              StrIIker @justjim1220
              last edited by Oct 15, 2018, 9:39 PM

              @justjim1220 said in Modules with Images not Displaying:

              @striiker

              Have your tried rebooting your system?

              Derp… No… I should have done that!! It’s all working now… Thank you for the advice!

              1 Reply Last reply Reply Quote 1
              • S Offline
                StrIIker
                last edited by Oct 15, 2018, 9:41 PM

                @mykle1 said in Modules with Images not Displaying:

                @striiker

                I just copy and pasted your config entry from above and both modules fired right up. Have you changed anything in the module files?

                Well, looks like I should have rebooted my system. I was going to and thought “nah, I shouldn’t have to do that”. Then it was suggested by @justjim1220 and so I tried it and now both are working… Thank you both for your help!!

                M 1 Reply Last reply Oct 16, 2018, 12:22 AM Reply Quote 2
                • M Offline
                  Mykle1 Project Sponsor Module Developer @StrIIker
                  last edited by Oct 16, 2018, 12:22 AM

                  @striiker said in Modules with Images not Displaying:

                  “nah, I shouldn’t have to do that”

                  True, you should not have to do that but I’m glad you got them working. :thumbsup:

                  Create a working config
                  How to add modules

                  J 1 Reply Last reply Oct 23, 2018, 8:54 PM Reply Quote 1
                  • J Offline
                    justjim1220 Module Developer @Mykle1
                    last edited by Oct 23, 2018, 8:54 PM

                    @mykle1 @StrIIker

                    All I know is that with the new MM update that came out on the 1st of October, this is the only way I have been able to get some modules to work, including after the MM update. Was suggested to me by Michael Teeuw when I first updated to v2.5.0.

                    "Life's Too Short To Dance With Ugly People"
                    Jim Hallock - 1995

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      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