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 13.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 Admin
      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 Admin
            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 Admin
              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 Admin
                  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
                        • 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