• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 685.1k 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.
  • I Offline
    in_a_days @Jopyth
    last edited by in_a_days Jan 30, 2017, 2:58 AM Jan 30, 2017, 2:34 AM

    @Jopyth

    Yes, the Save feature is now working for me. Thank you very much! :)

    I still get an error when I use Power > Restart MagicMirror

    The software does restart correctly. Seems like a false error.

    0_1485743633482_error.jpg

    What ship would bear me ever back across so wide a Sea?

    1 Reply Last reply Reply Quote 1
    • C Offline
      ChrisLaurie @Jopyth
      last edited by Jan 30, 2017, 2:55 AM

      @Jopyth So it is a core functionality. I’m not sure hat the value is of a fixed 4 second notification is.

      J 1 Reply Last reply Jan 30, 2017, 8:14 AM Reply Quote 0
      • J Offline
        Jopyth Moderator @ChrisLaurie
        last edited by Jan 30, 2017, 8:14 AM

        @ChrisLaurie Correct. The value is 3500 ms by default (code). This can be changed in the config of the alert module.

        @in_a_days Yes, that is a false error, I will probably implement it, so an error after trying to restart is just ignored.

        Helpful sticky: How to troubleshoot

        1 Reply Last reply Reply Quote 0
        • F Offline
          fox @Jopyth
          last edited by Jan 31, 2017, 6:43 PM

          @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 Jan 31, 2017, 6:49 PM Reply Quote 1
          • J Offline
            Jopyth Moderator @fox
            last edited by Jan 31, 2017, 6:49 PM

            @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

            F 1 Reply Last reply Jan 31, 2017, 9:04 PM Reply Quote 2
            • F Offline
              fox @Jopyth
              last edited by Jan 31, 2017, 9:04 PM

              @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
              • P Offline
                Patex
                last edited by Feb 1, 2017, 12:12 AM

                @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 Feb 1, 2017, 9:17 AM Reply Quote 0
                • A Offline
                  AAPS
                  last edited by AAPS Feb 7, 2017, 12:15 AM Feb 1, 2017, 12:52 AM

                  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 Feb 1, 2017, 9:10 AM Reply Quote 0
                  • J Offline
                    Jopyth Moderator @AAPS
                    last edited by Feb 1, 2017, 9:10 AM

                    @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 Feb 1, 2017, 7:42 PM Reply Quote 0
                    • J Offline
                      Jopyth Moderator @Patex
                      last edited by Feb 1, 2017, 9:17 AM

                      @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
                      • 1
                      • 2
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 27
                      • 28
                      • 15 / 28
                      15 / 28
                      • First post
                        143/274
                        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