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 873.4k 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
                        • A Offline
                          AAPS
                          last edited by

                          What is the difference between ::ffff:192.168.1.1/120 and ::ffff:192.168.1.1/24 ?

                          1 Reply Last reply Reply Quote 0
                          • schlachtkreuzer6S Offline
                            schlachtkreuzer6
                            last edited by

                            Heyo, after updating to 1.1.2, if i restart MM using pm2 i get a white screen and had to reboot the pi. Any idea?

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

                              I’m no professional but did you do npm install? If you didn’t, check this out: https://github.com/Jopyth/MMM-Remote-Control
                              There’s instructions for updating there. If this doesn’t help, look around the forum because I am pretty sure someone has had the same problem as you.

                              schlachtkreuzer6S 1 Reply Last reply Reply Quote 0
                              • schlachtkreuzer6S Offline
                                schlachtkreuzer6 @AAPS
                                last edited by

                                @AAPS i did use npm install the module and everything else is working. only pm2 restart mm crashes electron

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

                                  @schlachtkreuzer6 I have no idea. Is there anything in the logs?

                                  Helpful sticky: How to troubleshoot

                                  1 Reply Last reply Reply Quote 0
                                  • L Offline
                                    Labzz
                                    last edited by Labzz

                                    Is there ever thought about an android application ?

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

                                      With the new update, I have noticed that I get an error message when I restart Magic Mirror, but it still restarts anyway. I remember other people experiencing that too, so I’ll just ignore it. Why does it happen, though?

                                      1 Reply Last reply Reply Quote 0
                                      • foxF Offline
                                        fox
                                        last edited by

                                        Great app !

                                        What could be improved: the changelog would be interesting if i choose and perform an update.

                                        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 1
                                        • A Offline
                                          AAPS
                                          last edited by

                                          It would also be interesting to be able to remotely run commands on the mirror without having to take out a mouse and keyboard… Just giving ideas.:smiley:

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

                                            @fox I like the idea. Added it to my list.

                                            @AAPS Don’t know the reason for the “false” error messages, yet. Running commands would be nice, however without proper authentication, guests can just do whatever they want on your Raspberry and therefore potentially on your entire network. At the moment the stuff they can do is much more limited.

                                            Helpful sticky: How to troubleshoot

                                            A 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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 13
                                            • 14
                                            • 8 / 14
                                            • 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