MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Eye Candy Reinstall - Config Doesn't Work

    Troubleshooting
    4
    9
    360
    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
      MMNewby last edited by

      Uninstalled Eye Candy as described at MM site, then reinstalled as directed at MM site. Here are the two config files as edited:

      In directory: home/pi/MagicMirror/modules/MMM-EyeCandy

      /* Magic Mirror

      • Module: MMM-EyeCandy
      • By Mykle1
      • MIT Licensed.
        */
        Module.register(“MMM-EyeCandy”, {
        // Default module config.
        defaults: {
        style: ‘1’, // 1-52
        maxWidth: “100%”, // Adjusts size of images. Retains aspect ratio.
        ownImagePath: ‘https://radar.weather.gov/ridge/lite/KCLE_loop.gif’
        updateInterval: 5 * 60 * 1000, // set in config.js
        animationSpeed: 3000,
        },

      In directory: home/pi/MagicMirror/config
      {
      module: “MMM-EyeCandy”,
      position: “top_right”,
      config: {
      maxWidth: “75%”, // Sizes the images. Retains aspect ratio.
      style: ‘1’, ‘https://radar.weather.gov/ridge/lite/KCLE_loop.gif’
      ownImagePath: ‘’, ‘https://radar.weather.gov/ridge/lite/KCLE_loop.gif’
      }
      },

      I’ve looked and tweeked trying to figure out why I can’t boot because the MM says there is no config file, but can’t. Appreciate any guidance. Thank you.

      S mumblebaj 2 Replies Last reply Reply Quote 0
      • M
        MMNewby @mumblebaj last edited by

        @mumblebaj and @sdetweil thank you for the assistance. I was able to clean up the config file with what you provide and MM boots. However, I’ll need to figure out why the weather radar gif didn’t populate onscreen. Perhaps more posts are coming, but is config file question is now solved. Thank you for your time, expertise and help!

        mumblebaj 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @MMNewby last edited by

          @MMNewby show the error messages

          maybe a missing library?

          Sam

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • mumblebaj
            mumblebaj Module Developer @MMNewby last edited by

            @MMNewby Looks like the quotes need to be replaced with the correct ones. When copy and paste from the web the quotes change. Just delete the quotes and add new ones.

            Check out my modules at: https://github.com/mumblebaj?tab=repositories

            BKeyport 1 Reply Last reply Reply Quote 1
            • BKeyport
              BKeyport Module Developer @mumblebaj last edited by

              @mumblebaj I believe you’re correct. @MMNewby From now on, use a editor such as geany so that correct quotes won’t be an issue, unless you copy and paste from bad source.

              The "E" in "Javascript" stands for "Easy"

              1 Reply Last reply Reply Quote 0
              • M
                MMNewby last edited by

                Thank you for the suggestion. I changed the quotes in both files, save and started MM. What I continue to get the a black screen that says Magic Mirror2 Please create a config file. See README for more information. If you get this message while your config file is already created, your config file probably contains an error. Use a JavaScript linter to validate your file.

                When I use // before the command lines (the lines turn red), and restart, the MM operates normally with the other modules working, but the upper right where Eye Candy is assigned is blank. It’s only when the command lines are “live” for Eye Candy (i.e. the URL for the gif) that the black screen error shows up. Thanks again for your help.

                S 1 Reply Last reply Reply Quote 0
                • S
                  sdetweil @MMNewby last edited by

                  @MMNewby as I said before show us the rest of the messages.

                  I suspect this
                  https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

                  Sam

                  Create a working config
                  How to add modules

                  mumblebaj 1 Reply Last reply Reply Quote 0
                  • mumblebaj
                    mumblebaj Module Developer @sdetweil last edited by mumblebaj

                    @sdetweil Eye Candy doesn’t have a node_helper so no modules to install.

                    @MMNewby However, the config entry was incorrect. Below is the correct config.

                    module: "MMM-EyeCandy",
                    position: "top_right",
                    config: {
                    maxWidth: "75%", // Sizes the images. Retains aspect ratio.
                    style: '1', 
                    ownImagePath: 'https://radar.weather.gov/ridge/lite/KCLE_loop.gif'
                    }
                    },````

                    Check out my modules at: https://github.com/mumblebaj?tab=repositories

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MMNewby @mumblebaj last edited by

                      @mumblebaj and @sdetweil thank you for the assistance. I was able to clean up the config file with what you provide and MM boots. However, I’ll need to figure out why the weather radar gif didn’t populate onscreen. Perhaps more posts are coming, but is config file question is now solved. Thank you for your time, expertise and help!

                      mumblebaj 1 Reply Last reply Reply Quote 0
                      • mumblebaj
                        mumblebaj Module Developer @MMNewby last edited by

                        @MMNewby Strange. I get the Radar image to show.

                        71bf93b0-7403-41b6-a42b-cdc34c9ddcb9-image.png

                        Check out my modules at: https://github.com/mumblebaj?tab=repositories

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy