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

Eye Candy Reinstall - Config Doesn't Work

Scheduled Pinned Locked Moved Solved Troubleshooting
9 Posts 4 Posters 1.2k Views 4 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
    MMNewby
    last edited by Aug 4, 2022, 3:03 PM

    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 M 2 Replies Last reply Aug 4, 2022, 3:58 PM Reply Quote 0
    • M Offline
      MMNewby @mumblebaj
      last edited by Aug 7, 2022, 4:32 PM

      @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!

      M 1 Reply Last reply Aug 8, 2022, 9:35 AM Reply Quote 0
      • S Away
        sdetweil @MMNewby
        last edited by Aug 4, 2022, 3:58 PM

        @MMNewby show the error messages

        maybe a missing library?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          mumblebaj Module Developer @MMNewby
          last edited by Aug 4, 2022, 4:38 PM

          @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

          B 1 Reply Last reply Aug 5, 2022, 1:27 AM Reply Quote 1
          • B Offline
            BKeyport Module Developer @mumblebaj
            last edited by Aug 5, 2022, 1:27 AM

            @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 Offline
              MMNewby
              last edited by Aug 5, 2022, 2:29 PM

              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 Aug 5, 2022, 3:56 PM Reply Quote 0
              • S Away
                sdetweil @MMNewby
                last edited by Aug 5, 2022, 3:56 PM

                @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

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Aug 5, 2022, 7:38 PM Reply Quote 0
                • M Offline
                  mumblebaj Module Developer @sdetweil
                  last edited by mumblebaj Aug 5, 2022, 7:40 PM Aug 5, 2022, 7:38 PM

                  @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 Aug 7, 2022, 4:32 PM Reply Quote 0
                  • M Offline
                    MMNewby @mumblebaj
                    last edited by Aug 7, 2022, 4:32 PM

                    @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!

                    M 1 Reply Last reply Aug 8, 2022, 9:35 AM Reply Quote 0
                    • M Offline
                      mumblebaj Module Developer @MMNewby
                      last edited by Aug 8, 2022, 9:35 AM

                      @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
                      1 / 1
                      • First post
                        8/9
                        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