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.

    New module: Weather effects

    Scheduled Pinned Locked Moved Entertainment
    27 Posts 4 Posters 6.3k Views 5 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.
    • C Offline
      cgillinger @uros76
      last edited by cgillinger

      I dont think PM2 shows module-specific broadcasts unless explicitly logged, but Im no expert. Maybe @sdetweil knows?

      To test it I just bascially found locations with rain or snow, and set that in config.js.

      S uros76U 2 Replies Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @cgillinger
        last edited by sdetweil

        @cgillinger correct. notifications are not logged

        1 they are in browser
        2 if the sending or receiving module does not console.log() a message there is nothing to see

        you can install MMM-Logging which will capture the browser console and merge it with the npm start output

        or install MMM-Notifications which will display them in a window on the MagicMirror screen

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • M Offline
          mmmallday @cgillinger
          last edited by

          @cgillinger Very cool well done

          1 Reply Last reply Reply Quote 1
          • uros76U Offline
            uros76 @cgillinger
            last edited by

            @cgillinger duh, why didn’t I think of setting to a city where it rains LOL. I picked a random rainy city and presto, it works! Tnx again for this module.

            @sdetweil thanks. I installed the MMM-Logging and checked the npm start console for any hint of notifications coming through but I can’t see anything related to notifications being broadcasted. I am probably missing something obvious again :(
            And I can’t seem to find the MMM-Notifications location. Do you perhaps have a link to it?
            I did thind this one but it doesn’t show anything https://github.com/glitch452/MMM-ViewNotifications

            My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

            S 2 Replies Last reply Reply Quote 1
            • S Do not disturb
              sdetweil @uros76
              last edited by sdetweil

              @uros76 yes, it was https://github.com/glitch452/MMM-ViewNotifications

              it shows for me

              Screenshot at 2024-12-29 10-23-46.png

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              C uros76U 2 Replies Last reply Reply Quote 0
              • C Offline
                cgillinger @sdetweil
                last edited by cgillinger

                And I just want to add here that I’m running it on a Raspberry Pi with a 7-inch screen, so there’s not much screen space to work with. I don’t have room for the weather module with the ‘current’ option as well. However, after testing, it seems to work perfectly fine to keep the module ‘hidden’ by simply omitting a location in the config.js file

                I’m considering making the rain direction controlled by the wind direction from the Weather module. If it’s possible, it would look pretty neat.

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @cgillinger
                  last edited by

                  @cgillinger yes, commenting out the psosition still allows the module to work in the background…
                  also do this for calendar with Ext3 family of modules

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @uros76
                    last edited by

                    @uros76 said in New module: Weather effects:

                    I installed the MMM-Logging and checked the npm start console for any hint of notifications coming through

                    yes, if they don’t print a console message then its not in the the log for logging to forward…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • uros76U Offline
                      uros76 @sdetweil
                      last edited by

                      @sdetweil said in New module: Weather effects:

                      @uros76 yes, it was https://github.com/glitch452/MMM-ViewNotifications

                      it shows for me

                      Screenshot at 2024-12-29 10-23-46.png

                      Well that’s interesting. I will keep trying to get this one to work. Not sure why it’s refusing to workfor me

                      My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                      uros76U 1 Reply Last reply Reply Quote 0
                      • uros76U Offline
                        uros76 @uros76
                        last edited by

                        On my test MM install the weather effects work. This confirms the module is getting the notification broadcast from wethaer after all.

                        But the viewnotifications module doesn’t come up. I will keep it running for a bit longer to see if notifications show up. Even the newsfeed notifications should come up I think…
                        It’s not the end of the world, I am just digging into why I can’t see notifications :)
                        f81ac05b-4f04-4d63-933f-fc5a522281c8-image.png

                        My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @uros76
                          last edited by

                          @uros76 said in New module: Weather effects:

                          But the viewnotifications module doesn’t come up. I will keep it running for a bit longer to see if notifications show up

                          what position is it in?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          uros76U 1 Reply Last reply Reply Quote 0
                          • uros76U Offline
                            uros76 @sdetweil
                            last edited by

                            @sdetweil top_left. It should show up under the clock.

                            My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @uros76
                              last edited by sdetweil

                              @uros76 did you use the default config?

                               {
                                          module: 'MMM-ViewNotifications',
                                          position: "top_left",
                                          header: "Notifications",
                                          classes:"page1",  // for MMM-pages
                                          config: {
                                              // See below for Configuration Options
                                          }
                              },
                              

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              uros76U 1 Reply Last reply Reply Quote 0
                              • uros76U Offline
                                uros76 @sdetweil
                                last edited by uros76

                                @sdetweil yes I used the default config. I also added timeout: 0 to see if I perhaps missed them. Default is 8sec timeout before notifications disappear.

                                My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @uros76
                                  last edited by

                                  @uros76 ok… did the header appear?

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  uros76U 1 Reply Last reply Reply Quote 0
                                  • uros76U Offline
                                    uros76 @sdetweil
                                    last edited by uros76

                                    @sdetweil nope, cant even see the header of the notifications module. I am running this test enviroment as a server mode and on a windows 10 PC. If that makes any difference.

                                    My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @uros76
                                      last edited by sdetweil

                                      @uros76 its only in browser, so thats all that matters…

                                      notifications list can’t last forever as its crazy busy sometimes…

                                      open the developers window, ctrl-shift-i, select the elements tab, and expand the top bar, top left section
                                      (mine is in bottom left)
                                      Screenshot at 2024-12-29 11-24-07.png

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      uros76U 1 Reply Last reply Reply Quote 0
                                      • uros76U Offline
                                        uros76 @sdetweil
                                        last edited by

                                        @sdetweil I changed it to top_center location to see if that could help. No difference.
                                        Inspecting the developers window I can’t see anything in top_center region.
                                        a9a069c1-6824-49fe-bc6d-ae0dbf0e0505-image.png
                                        This is the config I am using
                                        bf0a99b2-1ebf-463d-9c88-de716ef005c6-image.png

                                        My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @uros76
                                          last edited by

                                          @uros76 I changed mine to timeout:0… and they show and stay

                                          what is that stuff on body? I don’t have that
                                          nano ~/MagicMirror/index.html

                                          that is the page definition
                                          unless some other modules is hacking the dom…

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          uros76U 1 Reply Last reply Reply Quote 0
                                          • uros76U Offline
                                            uros76 @sdetweil
                                            last edited by

                                            @sdetweil that must be the Grammarly extension on my chrome browser. I’ll retry with different browser later and report back.

                                            My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                                            uros76U 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
                                            • 1 / 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