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

    Posts

    Recent Best Controversial
    • RE: MMM-DynamicWeather

      @sifuhall Did you review the configuration options? The holiday references the “Name” column from https://www.timeanddate.com/holidays/us/?hol=43122559. You can only have one holiday per effect, but you can have many effects. Please review the documentation and troubleshooting techniques listed at https://github.com/scottcl88/MMM-DynamicWeather.

      Example:

      {
       module: 'MMM-DynamicWeather',
       position: 'fullscreen_above',
       config: {
        api_key: "your_key",
        locationID: "4140963",
        effects: [
         {
          holiday: "Valentine's Day",
          images: ["heart1.png", "heart2.png"],
         },
         {
          holiday: "Super Bowl",
          images: ["football.png",],
         }
        ],
       }
      },
      
      posted in Fun & Games
      S
      scottcl88
    • RE: MMM-DynamicWeather

      @sceetch Well that’s what the zIndex option is supposed to, but I don’t believe it works. As an alternative, you can change the opacity to something lower and be able to see through the animations.

      Unfortunately I believe I would need to spend a lot more time re-writing the animations to get the zIndex thing to work. I might try to look into that later, or maybe someone from the community can take a try.

      There is an active issue for that: https://github.com/scottcl88/MMM-DynamicWeather/issues/36

      posted in Troubleshooting
      S
      scottcl88
    • RE: MMM-DynamicWeather

      @george I am having trouble reproducing. I installed MMM-News and MM-ImagesPhotos and have been running just fine for several hours and see all modules.

      I did just push a new update to MMM-DynamicWeather with more logging and error handling, can you get latest and see if that does anything?

      A few more things :

      • I’ve posted my config.js, do you see anything notably different with yours that I should try?
        • https://justpaste.it/9qkn1
      • Can you verify your API key works by going to the link in your browser:
        • https://api.openweathermap.org/data/2.5/weather?appid=API_KEY&id=LOC_ID
        • You should be able to actually see the weather data.
      • Have you reviewed this post about troubleshooting?
        • https://forum.magicmirror.builders/topic/86/how-to-troubleshoot
      posted in Troubleshooting
      S
      scottcl88
    • RE: MMM-DynamicWeather

      @george hmm. What activity did you see after rebooting? Does it work for a little bit then crash?

      Perhaps this module is timing out or too much going on that it locks things up; but that seems far-fetched to me. What other modules do you have? Do you mind sharing your config.js (remove sensitive info)?

      I’ll definitely look into getting more logging and error catching in my module, but this may not be specific to this module. Has this happened with other modules; if you disable MMM-DynamicWeather does it always work? Have you tried updating your MagicMirror? Any recent changes to your installation or RaspberryPi?

      posted in Troubleshooting
      S
      scottcl88
    • RE: MMM-DynamicWeather

      @george Thanks for the details. Really interesting, sorry to hear about your issues. I’m not sure how the module would effect some of these issues with the resolution, so that might not be related. However, the blocking sounds like it could be because of how the images are being rendered on top of other modules. I added an option called “zIndex” which should allow you to set what layer this module renders at, such that lower numbers means other modules can display over it. I’d suggest adjusting that to see if there is any difference.

      Also, how have you been updating? I have been making numerous changes in the last several weeks that could have caused some of these issues. Perhaps it may help to just delete the MMM-DynamicWeather module folder and re-install it.

      I will also look into adding some additional logging. In the meantime, you can run the command npm start dev in the MagicMirror folder. This will bring up the console dev tools in the mirror to look for errors.

      posted in Troubleshooting
      S
      scottcl88
    • RE: MMM-DynamicWeather

      @george Can you explain further? Are you saying when you switch to landscape mode the DynamicWeather module no longer displays? Does it work okay in portrait? Could you share your configuration? Have you tried changing the “position” of the module?

      I don’t think I have tested it with landscape mode before, so it could be messed up.

      posted in Troubleshooting
      S
      scottcl88
    • MMM-DynamicWeather

      A module to display different weather effects (ie: rain, snow, clouds, lightning) based on current weather from OpenWeatherMap API. Also allows for custom effects based on weather codes or just a date; such as for displaying hearts on the screen for Valentine’s day. Heavily configurable.

      All info can be found here: https://github.com/scottcl88/MMM-DynamicWeather

      posted in Fun & Games weather animation holiday
      S
      scottcl88
    • 1 / 1