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.

    [Remote-Control] Shutdown, Configure and Update your MagicMirror

    Scheduled Pinned Locked Moved System
    274 Posts 78 Posters 794.9k Views 77 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.
    • foxF Offline
      fox @Jopyth
      last edited by

      @Jopyth said in [Remote-Control] Shutdown, Configure and Update your MagicMirror:

      @AAPS (and everyone else): You can try the new version, but you can also go back to a previous version afterwards with the commands:

      cd MagicMirror/modules/MMM-Remote-Control # or wherever you installed the Mirror and the module
      git checkout v1.0.0 # or the version you want
      

      Currently, there is v1.0.0 (which is probably the one you are on) and v1.1.0 as older versions. To check out the most recent version use git checkout master again.

      I want to update. But git checkout master does not work. There stands i shall use git pull but then there comes:
      *Please, commit your changes or stash them before you can merge.
      Aborting
      *

      Issues With MMM-WatchDog known?

      https://forum.magicmirror.builders/post/29827

      Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

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

        @fox Interesting. What changes did you make? I will try to give you a short git crash course for your case: You can get an overview via git status (should show changed files) and git diff (showing the changes themselves). If you do not care about these changes you should be able to use git reset --hard origin/master or if you do care about them use git stash, then do git pull, and then git stash pop to apply the changes again.

        Helpful sticky: How to troubleshoot

        foxF 1 Reply Last reply Reply Quote 2
        • foxF Offline
          fox @Jopyth
          last edited by

          @Jopyth said in [Remote-Control] Shutdown, Configure and Update your MagicMirror:

          @fox Interesting. What changes did you make? I will try to give you a short git crash course for your case: You can get an overview via git status (should show changed files) and git diff (showing the changes themselves). If you do not care about these changes you should be able to use git reset --hard origin/master or if you do care about them use git stash, then do git pull, and then git stash pop to apply the changes again.

          Thank you!

          What for a fantastic update! I tested nearly every module and everythink worked fine.
          You refactored also the config file during saving. Awesome! Nice job.

          Issues With MMM-WatchDog known?

          https://forum.magicmirror.builders/post/29827

          Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

          1 Reply Last reply Reply Quote 0
          • PatexP Offline
            Patex
            last edited by

            @Jopyth I forked your project and am looking into adding the functionality to toggle back and forth between different configurations with one click using the remote page (like having a set of different config files). Is this proposed change on your to do list as well?

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

              Is there anything I need to do to update instead of just putting “git pull” in ~/MagicMirror/modules/MMM-Remote-Control ?

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

                @AAPS The script does git pull and npm install (therefore you need to do the npm install, if you are updating from an old version). Also it offers to switch between the develop and the master version (source).

                Helpful sticky: How to troubleshoot

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

                  @Patex Do you want to do this with the config.js or with the settings.json (visibility of modules and brightness)? I had this idea once for the settings of visible modules and brightness, but did not implement it. Basically what other modules do with profiles defined in the config. I am not sure how much sense it makes to have multiple config.js. One (large) config.js (which includes all configured modules) and multiple “profiles” which only show a selection of these might be the way to go?

                  Helpful sticky: How to troubleshoot

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AAPS @Jopyth
                    last edited by AAPS

                    @Jopyth What is the difference between develop and master version? Also, I probably sound dumb, but how do I change my ipWhitelist? Currently I have “::ffff:192.168.1.1/24” added. Do I need anything else? ( I would rather be able to access the mirror from any device )

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

                      Master branch is the official stable release
                      Developer branch is in development, so it contains new features but could contain bugs. Once the development team is happy they move the current development version over as the new stable release

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

                        @AAPS If you want to allow all devices on your network, change the 24 to a 120 for IPv6: ::ffff:192.168.1.1/120

                        Also, new version with bugfixes is out, see below. Has anyone tried the installer yet? I made it mostly for fun, but I am still look for serious feedback. :)

                        [1.1.2] - 2017-02-01

                        Note: Since version 1.1.0 this module uses (new) dependencies, check the Updating section in the README.md.

                        Added

                        • Swedish translation

                        Changed

                        • Installation process updated in README.md
                        • Automatic installer/updater includes hint to restart Magic Mirror²

                        Fixed

                        • Issues with not applying shown and hidden status correctly to modules
                        • Issues where lockstrings were missing
                        • Modules sometimes did not show correctly in the UI as hidden or shown:
                          • This is due to a bug in Magic Mirror²
                          • PR #659 to fix this was made in the project, will be released in the next version

                        Helpful sticky: How to troubleshoot

                        schlachtkreuzer6S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 15
                        • 16
                        • 17
                        • 18
                        • 19
                        • 27
                        • 28
                        • 17 / 28
                        • 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