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.

    MMM-Snow - Yet another Snow Module

    Scheduled Pinned Locked Moved Fun & Games
    39 Posts 18 Posters 40.7k Views 17 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.
    • dasbooterD Offline
      dasbooter
      last edited by dasbooter

      Thanks a bunch for this. Its quite jerky for me. I have limited the flake count to 25 in the config. Whats my expectation here on a rasberry pi 3 with default modules plus globe, remote module , and traffic . Wondering if i didnt maybe nerf something in the initial first time install of the magic mirror following a tutorial?

      Edit: Found the Answer had to downgrade electron bc I’m using stretch. Took forty minutes to locate an answer on google but worth it! Thanks a bunch for this module and the MM

      Mykle1M 1 Reply Last reply Reply Quote 3
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @dasbooter
        last edited by

        @dasbooter said in MMM-Snow - Yet another Snow Module:

        Found the Answer had to downgrade electron bc I’m using stretch. Took forty minutes to locate an answer on google but worth it!

        Please consider posting your findings and the procedure you took to rectify your issue in this topic.

        https://forum.magicmirror.builders/topic/4684/electron-cpu-usage/210

        It will certainly help someone at some time, as did the other findings in that topic.

        Many thanks, mate. :-)

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • Andrius okA Offline
          Andrius ok @strawberry 3.141
          last edited by Andrius ok

          Hello @strawberry-3.141 first Happy Holidays! and thank you for your answer. Yes I see now that only working with the Chromium browser on RPi3

          After spending a day to find the solution on how to make work MM on Raspberry Pi Zero W with Chromium I found the solution and it works like a charm! :)

          I tried many browsers (Midori, Kweb, Epiphany) no one is working correctly with es6 and css3 only Chromium.

          There is link on how to make work Chromium on RPi W Zero:
          https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=157049

          Also on how to start Chromium with root (if someone is needed):
          https://www.linkedin.com/pulse/20141028025215-79939846-google-chrome-and-chromium-as-root-on-kali-linux/

          There is my start.sh script:
          #! /bin/bash
          cd ~/MagicMirror
          node serveronly &
          sleep 45
          sudo xbacklight -set 100
          sudo xinit /home/pi/startMirror.sh

          and startMirror.sh script:
          #!/bin/sh
          xset -dpms # disable DPMS (Energy Star) features.
          xset s off # disable screen saver
          xset s noblank # don’t blank the video device
          xbacklight -set 100

          #Chromium Browser
          matchbox-window-manager &
          unclutter &
          sed -i ‘s/“exited_cleanly”: false/“exited_cleanly”: true/’ ~/.config/chromium/Default/Preference
          chromium-browser --start-maximized --noerrdialogs --kiosk --incognito http://localhost:8080

          Everything the same config like there (only Chromium browser needed instead Midori):
          https://forum.magicmirror.builders/topic/1183/how-i-got-my-magic-mirror-working-on-a-raspberry-pi-0-zero

          Maybe for someone it will be usefull on how to start MM on Raspberry Pi Zero W with all features working.

          Happy Holidays!

          0_1514241955871_MM.JPG

          Mykle1M 1 Reply Last reply Reply Quote 2
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Andrius ok
            last edited by

            @Andrius-ok said in MMM-Snow - Yet another Snow Module:

            Maybe for someone it will be usefull on how to start MM on Raspberry Pi Zero W with all features working.

            Nice work! :-)

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • lavolp3L Offline
              lavolp3 Module Developer
              last edited by

              Happy New Year everyone!

              I need to bring one neverending topic back again here:

              I tried to use MMM-Snow recently with a Pi 3B+ and stretch installed.
              Currently I have today’s MM 2.6.0 with electron 2.0.x installed, but I have tried electron v1.4.15 as well.

              The snowflakes are lagging on my mirror, not falling fluently. If I use the web version from a laptop it’s fluent, so it should be a browser issue.
              Config:

                  {
                      module: 'MMM-Snow',
                      position: 'fullscreen_above',
                      config: { // See 'Configuration options' for more information.
                          flakeCount: 40,
                          theme: "winter"
                      }
                  },
              

              I have tried the kms driver, the fake kms driver (which gives me a flickering screen after some time for some odd reasons), and no kms driver at all. No recognizable change with regards to the snowflake performance.

              Is there any chance for fluent animations using electron at the moment that I have overseen?
              As far as I understand none of the electron versions work properly with hardware support. Is that true?

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              bheplerB 1 Reply Last reply Reply Quote 0
              • bheplerB Offline
                bhepler Module Developer @lavolp3
                last edited by

                @lavolp3 - Electron has always been a bit flakey with animations. Pardon the pun.

                I have 50 flakes running on the office mirror right now and it’s acceptable. But I haven’t upgraded the office mirror to the latest versions yet. If you need, I’ll swing by and check out what version it’s running.

                lavolp3L 1 Reply Last reply Reply Quote 0
                • rudibaraniR Offline
                  rudibarani Project Sponsor
                  last edited by

                  Dear all,
                  would it be possible to have this module hidden until a weather module (e.g. MMM-DarkSkyForecast broadcasts a DARK_SKY_FORECAST_WEATHER_UPDATE) broadcasts a weather update that contains a snow forecast for today? That would be really useful :)

                  1 Reply Last reply Reply Quote 0
                  • lavolp3L Offline
                    lavolp3 Module Developer @bhepler
                    last edited by

                    @bhepler That would be great thanks. Also, if you have one of the drivers enabled and what relosution you’re running.

                    How to troubleshoot modules
                    MMM-soccer v2, MMM-AVStock

                    bheplerB 1 Reply Last reply Reply Quote 0
                    • bheplerB Offline
                      bhepler Module Developer @lavolp3
                      last edited by

                      @lavolp3 - Will do. I should be at the office tomorrow. I’ll check it then.

                      1 Reply Last reply Reply Quote 0
                      • bheplerB Offline
                        bhepler Module Developer
                        last edited by bhepler

                        Sorry for the delay. I’m running v2.5.0 of the Magic Mirror at work. Electron is (I think) v2.0, using the fake OpenGL drivers.

                        Resolution is 1920x1080.

                        ETA - Confirmed. Electron is v2.0.0

                        lavolp3L 1 Reply Last reply Reply Quote 0
                        • lavolp3L Offline
                          lavolp3 Module Developer @bhepler
                          last edited by lavolp3

                          @bhepler Is it fluent or would you say it is lagging a bit?
                          That’s a bit non-scientific now so a video would help most but I 'd undterstand if you don’t want to go through the trouble of uploading a video.

                          I have a Pi 3b+ with MM v2.6.0 and all else like above, but it is lagging too much for me to enjoy it.

                          I’ll try running it on Chrome locally as described above. But I don’t like this workaround.

                          How to troubleshoot modules
                          MMM-soccer v2, MMM-AVStock

                          1 Reply Last reply Reply Quote 0
                          • bheplerB Offline
                            bhepler Module Developer
                            last edited by

                            Ask and ye shall receive. https://youtu.be/2WksYxILZa0

                            lavolp3L 1 Reply Last reply Reply Quote 0
                            • lavolp3L Offline
                              lavolp3 Module Developer @bhepler
                              last edited by

                              @bhepler Thanks! Looks good, especially the beard :-D

                              Don’t understand why it wont work as fluent on my device.

                              How to troubleshoot modules
                              MMM-soccer v2, MMM-AVStock

                              bheplerB 1 Reply Last reply Reply Quote 0
                              • bheplerB Offline
                                bhepler Module Developer @lavolp3
                                last edited by bhepler

                                @lavolp3 - Perhaps switch between the fake and the real OpenGL driver.

                                PS - the word you’re looking for is “fluid”, not “fluent”.

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  nobita @jasondreher
                                  last edited by

                                  to @jasondreher or anyone
                                  If i would like to change Theme (winter,love,water) ,I have to edit in config
                                  but If i can change Theme in MMM-RemoteControl (replace to edit in config)
                                  How can to do that

                                  Thanks for your help

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    tintkovich
                                    last edited by

                                    Hi guys!
                                    Did somebody integrat mmm-snow with currentweather module, and can tell me how may I do it? ;)

                                    StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                                    • StoffbeuteluweS Offline
                                      Stoffbeuteluwe Project Sponsor @tintkovich
                                      last edited by

                                      @tintkovich
                                      that would be cool …

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jasondreher
                                        last edited by

                                        @tintkovich
                                        see
                                        https://forum.magicmirror.builders/post/37353

                                        T 1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          tintkovich @jasondreher
                                          last edited by

                                          @jasondreher I saw it, but I need Home Assistant, right?
                                          I prefere to integrate currentweather with mmm-snow just like compliments module:

                                          config: {
                                          	compliments: {
                                          		day_sunny: [
                                          			"Today is a sunny day",
                                          			"It's a beautiful day"
                                          		],
                                          		snow: [
                                          			"Snowball battle!"
                                          		],
                                          		rain: [
                                          			"Don't forget your umbrella"
                                          		]
                                          	}
                                          }
                                          

                                          Is it possible?

                                          sifuhallS 1 Reply Last reply Reply Quote 1
                                          • sifuhallS Offline
                                            sifuhall @tintkovich
                                            last edited by

                                            For those interested in a dynamic weather module check here:

                                            https://github.com/scottcl88/MMM-DynamicWeather

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • 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