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.

    (2.1.0) New default module: update notification.

    Scheduled Pinned Locked Moved Upcoming Features
    15 Posts 6 Posters 15.2k Views 6 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.
    • MichMichM Offline
      MichMich
      last edited by

      The new default module updatenotification will display a message whenever a new version of the MagicMirror application is available. It will show the number of commits behind on the current branch and the name of the active branch.

      The new module is included in the new sample config. Make sure you add it to your own config if you want to add it:

      {
          module: "updatenotification",
          position: "top_center"
      }
      

      This module uses new default translations. Any pull requests with translation in other languages are welcome! (English and Dutch already included.)

      strawberry 3.141S lolobyteL 2 Replies Last reply Reply Quote 3
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @MichMich
        last edited by

        @MichMich isn’t it like pushing down the other modules with the default module margin, if there is no update available?

        Firing an alert would make more sense to me.

        PS; german translation added

        Please create a github issue if you need help, so I can keep track

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

          I like the idea, but as @strawberry-3-141 says, maybe a notification at start up would be good alternative? Or as an additional option, so if you do not set a position, you see the notification, and if you have a fixed position it does not show a notification.

          If it pushes other modules down, the module could just hide itself instead?

          @strawberry-3-141 Added some feedback on the translation.

          Helpful sticky: How to troubleshoot

          1 Reply Last reply Reply Quote 0
          • MichMichM Offline
            MichMich
            last edited by

            Indeed, when hidden it is pushing down other modules. Will fix this in an upcoming release. (This is actually a core issue … When it’s hidden. It should not push other modules down.)

            I’m not a fan of an alert since these are very obstructive. In some cases you won’t have the time to immediately update. If we use notifications, these would stay in the way.

            Since most mirrors aren’t restarted very often, a message at start up would not make much sense.

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

              Margin issue should be fixed now.

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jopyth Moderator @MichMich
                last edited by

                @MichMich Well, I start my mirror in the morning, and shut it down before going to sleep, so a notification at start up would be perfect for me. I even installed a “light” switch under my mirror to do that. But maybe this is really just me, I can implement this on my fork.

                Helpful sticky: How to troubleshoot

                1 Reply Last reply Reply Quote 0
                • MichMichM Offline
                  MichMich
                  last edited by

                  But then still, after starting you would instantly see the message, right?

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jopyth Moderator @MichMich
                    last edited by

                    @MichMich Yes. Since the mirror is integrated into our wardrobe, with our shoes beneath it, I get ready for my morning run in front of it. So there I would notice the update notification (that was my original thought at least). But this is really not a big issue, the fixed message probably works fine as well.

                    Helpful sticky: How to troubleshoot

                    1 Reply Last reply Reply Quote 0
                    • lolobyteL Offline
                      lolobyte @MichMich
                      last edited by

                      @MichMich

                      hi, an where can i find this module?

                      I recently install mm2 an there is no notification in the default modules.

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        roramirez Core Contributors @lolobyte
                        last edited by

                        @lolobyte Hi, you can find it into the develop branch.

                        Please check out a clean clone

                        git clone -b develop https://github.com/MichMich/MagicMirror.git 
                        

                        Or using your MagicMirror code project

                        cd ~/MagicMirror
                        git fetch
                        git checkout develop
                        

                        Easy module development with MagicMirror Module Template

                        lolobyteL 1 Reply Last reply Reply Quote 0
                        • lolobyteL Offline
                          lolobyte @roramirez
                          last edited by

                          @roramirez

                          Oh, great. Thanks a lot ramirez.

                          I’m affraid about loosing my config and other things in mm2.

                          Must i be affraid?

                          R 1 Reply Last reply Reply Quote 0
                          • R Offline
                            roramirez Core Contributors @lolobyte
                            last edited by

                            @lolobyte Prevent this with a copy backup your MagicMirror directory.

                            Easy module development with MagicMirror Module Template

                            1 Reply Last reply Reply Quote 0
                            • lolobyteL Offline
                              lolobyte
                              last edited by

                              Another question…

                              Is it possible to run a second instance of MM2?

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                roramirez Core Contributors
                                last edited by

                                Yes, use a different port for each instance in configuration file.
                                https://github.com/MichMich/MagicMirror/#configuration

                                Easy module development with MagicMirror Module Template

                                1 Reply Last reply Reply Quote 0
                                • H Offline
                                  Hawking
                                  last edited by Hawking

                                  If I’m not totally mistaken, this module does not only check for updates of MagicMirror itself but also all other used modules. Maybe one should make this clearer in the description/Readme. I was a bit surprised to suddenly see several git-remote-http-processes (for all my modules) in top.

                                  1 Reply Last reply Reply Quote 1

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