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.

    Let it snow now Magic Mirror

    Scheduled Pinned Locked Moved Entertainment
    23 Posts 7 Posters 4.0k Views 7 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.
    • H Offline
      HNpis @sdetweil
      last edited by

      @sdetweil said in Let it snow now Magic Mirror:

      @cgillinger said in Let it snow now Magic Mirror:

      I cleared my MM installtion of modules to test this

      just fyi… you can use another config.js
      without removing the existing or removing any modules

      in the terminal window you are using to start/stop/test mm

      export MM_CONFIG_FILE=config/_other_config_name.js
      

      then npm start will use _other_config_name.js for config
      (and in that other config you can point to a different custom.css!)
      see https://docs.magicmirror.builders/configuration/introduction.html

      Thanks for the tip, that’s a great suggestion. Using export MM_CONFIG_FILE=config/_other_config_name.js makes testing easier without removing modules or modifying the main config.js. Plus, being able to point to a different custom.css in that alternate config is really useful. I’ll give it a try!

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

        @HNpis you never have to uninstall modules. just add

        disabled:true.
        

        on a line after the module: line

        you can also run multiple MagicMirror instances at once off the same folder and using any of the modules installed, even same module in both instances.(warning some modules write data to their folder)

        AND altho i wrote config/

        it can be any folder off the MagicMirror folder

        we run testing with the tests folder

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          cgillinger @sdetweil
          last edited by cgillinger

          @sdetweil I think I actually managed to implement it—so now snow falls whenever “Current conditions” report any of the various “snow” messages.

          I renamed the module and uploaded it as a standalone: “MMM-DynamicSnow”

          👉 https://github.com/cgillinger/MMM-DynamicSnow

          It should work with all weather providers. I created a separate dictionary for it, but so far, I’ve only had time to test it with Swedish SMHI. Also not easy to test during this mild winter, but I did finally manage to find a place where it snowed up north here in Sweden.

          C S 2 Replies Last reply Reply Quote 1
          • C Offline
            cgillinger @cgillinger
            last edited by cgillinger

            And here are the precipitation words used by the different providers:

            3a85aa60-96f9-4494-9fb1-97200b351f75-image.png
            openMeteo showers, Rain, Snow, Showers, sleet, drizzle, precipitation, hail, rain, Precipitation, snow
            overrideWrapper
            pirateWeather rain, sleet, snow
            smhi showers, Rain, Snow, sleet, Drizzle, precipitation, rain, drizzle, snow
            ukMetOffice showers, sleet, hail, rain, snow
            ukMetOfficeDataHub showers, sleet, hail, rain, Precipitation, snow
            weatherBit rain, sleet, snow
            weatherFlow snow
            weatherGov showers, Snow, Rain, Showers, Drizzle, precipitation, rain, snow
            yr rain, sleet, precipitation, snow

            I did notice a lot of just plain “precipitation” and one future fix might be combining a broadcast of “precipitation” and negative degrees centigrades, as that would also indicate snow.

            Also thinking of adding rain functionality, after testing the module more.

            D 1 Reply Last reply Reply Quote 0
            • S Offline
              Sebi76 0 @cgillinger
              last edited by

              @cgillinger

              I want to run the module but actually i hang on the Problem with Openweather an the API V3.0.
              Do you have a Solution for your Module?

              C 1 Reply Last reply Reply Quote 0
              • D Offline
                det @cgillinger
                last edited by

                @cgillinger said in Let it snow now Magic Mirror:

                Also thinking of adding rain functionality

                Hello,
                that’s a wonderful idea, to combine the two.
                And then add “sunshine”, “clouds” (for overcast).
                Great. Thanks, keep it up…

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  cgillinger @det
                  last edited by cgillinger

                  @det I actually did add rain: https://github.com/cgillinger/MMM-WeatherEffects

                  Cheers,
                  C

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cgillinger @Sebi76 0
                    last edited by cgillinger

                    Hey @Sebi76-0! I’m not sure what’s causing the issue. Could you share any error messages you’re seeing? Also, which version are you using?

                    Just so you know, this module has gone through a couple of transformations—first evolving into Dynamic Snow (available at: https://github.com/cgillinger/MMM-DynamicSnow), and later into Weather Effects (which you can find here: https://github.com/cgillinger/MMM-WeatherEffects).

                    I don’t personally use OpenWeather, and from what I understand, they now require a credit card for access. So, I don’t think I’ll be getting an API key anytime soon.

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

                      @cgillinger openweather doesn’t charge for first 1000 requests/day

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        cgillinger @sdetweil
                        last edited by

                        @sdetweil Yes, I understand, but it’s not the cost itself that’s the issue (although it would have been a problem if there was a cost). The concern is having to provide my credit card details. It’s not that I distrust OpenWeather, but I prefer not to share them unnecessarily. You never know, for example, if they might get hacked.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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