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 792.7k 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.
    • R Offline
      rvdgeer @Jopyth
      last edited by

      @Jopyth It would be great to be able to disable a module on startup, so you can enable it later with the remote control. Or even better: have a ‘save settings’ option on the remote control, so you can make the disabled modules stick after a reboot/reload.

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jopyth Moderator @Mr.Meeseeks
        last edited by

        @Mr.Meeseeks You mean like with a PIR sensor? Fiddling with CSS would be possible I think, I will look into that.

        @rvdgeer good idea I wanted something similar like this too.

        Helpful sticky: How to troubleshoot

        Mr.MeeseeksM 1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer @Jopyth
          last edited by

          @Jopyth said in MMM-Remote-Control:

          @rvdgeer Glad you like it. :)

          By the way I am also looking for new ideas, if anyone wants to a do a certain thing via this interface, I would happy to add it, if it is possible.

          How about the ability to send a message to display on the mirror? It would be funny if someone was standing in front of it and it said Hi and their name LOL Just throwing it out there…

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

            @cowboysdude, evil, just pure evil.

            Unsuspecting friend visits, friend goes to bathroom, you whip out phone and “text” the mirror … friend comes running out screaming.

            A Life? Cool! Where can I download one of those from?

            cowboysdudeC 1 Reply Last reply Reply Quote 1
            • cowboysdudeC Offline
              cowboysdude Module Developer @KirAsh4
              last edited by

              @KirAsh4 said in MMM-Remote-Control:

              @cowboysdude, evil, just pure evil.

              Unsuspecting friend visits, friend goes to bathroom, you whip out phone and “text” the mirror … friend comes running out screaming.

              Yes but funny none the less LOL

              1 Reply Last reply Reply Quote 0
              • KirAsh4K Offline
                KirAsh4 Moderator
                last edited by

                “Hey [NAME], you did not wash your hands.”

                “Turn the damn fan on!”

                A Life? Cool! Where can I download one of those from?

                cowboysdudeC 1 Reply Last reply Reply Quote 3
                • cowboysdudeC Offline
                  cowboysdude Module Developer @KirAsh4
                  last edited by

                  @KirAsh4 said in MMM-Remote-Control:

                  “Hey [NAME], you did not wash your hands.”

                  “Turn the damn fan on!”

                  LOL

                  1 Reply Last reply Reply Quote 0
                  • Mr.MeeseeksM Offline
                    Mr.Meeseeks @Jopyth
                    last edited by

                    @Jopyth ya like what the pir sensor does but just as a manual toggle, so you can turn it ‘off’ at night. I currently don’t have pir sensor yet.

                    CAAAAN DOO!👍

                    1 Reply Last reply Reply Quote 0
                    • Mr.MeeseeksM Offline
                      Mr.Meeseeks
                      last edited by

                      I might try to tinker in a config editor and maybe even a command to git clone modules remotely.

                      CAAAAN DOO!👍

                      1 Reply Last reply Reply Quote 0
                      • BangeeB Offline
                        Bangee Module Developer
                        last edited by Bangee

                        Ok, that’s a nice modul :-)

                        I’ve insert an restart function for the MM app and the ability to turn you monitor on and off:

                        insert in node_helper.js at line 54:

                        				if (query.action === 'RESTART')
                        				{
                        					res.send({'status': 'success'});
                        					exec('pm2 restart mm', function(error, stdout, stderr){ callback(stdout); });
                        					return;
                        				}
                        				if (query.action === 'MONITORON')
                        				{
                        					res.send({'status': 'success'});
                        					exec('/opt/vc/bin/tvservice -p', function(error, stdout, stderr){ callback(stdout); });
                        					return;
                        				}
                        				if (query.action === 'MONITOROFF')
                        				{
                        					res.send({'status': 'success'});
                        					exec('/opt/vc/bin/tvservice -o', function(error, stdout, stderr){ callback(stdout); });
                        					return;
                        				}
                        

                        in remote.js on line 131:

                            'restart-mm-button': function () {
                                Remote.getWithStatus("action=RESTART");
                            },
                            'monitor-on-button': function () {
                                Remote.getWithStatus("action=MONITORON");
                            },
                            'monitor-off-button': function () {
                                Remote.getWithStatus("action=MONITOROFF");
                            }
                        

                        in remote.html on line 40:

                        <!-- MagicMirror menu -->
                        		<div id="restart-mm-button" class="menu-button power-menu">
                                            <span class="fa fa-recycle" aria-hidden="true"></span>
                                            <span class="text">%%TRANSLATE:RESTARTMM%%</span>
                                        </div>
                        		<div id="monitor-on-button" class="menu-button power-menu">
                                            <span class="fa fa-toggle-on" aria-hidden="true"></span>
                                            <span class="text">%%TRANSLATE:MONITORON%%</span>
                                        </div>
                                        <div id="monitor-off-button" class="menu-button power-menu">
                                            <span class="fa fa-toggle-off" aria-hidden="true"></span>
                                            <span class="text">%%TRANSLATE:MONITOROFF%%</span>
                                        </div>
                        

                        and the translations/en.json and de.json on line 8 ff:

                            "RESTARTMM": "Restart MagicMirror2",
                            "MONITORON": "Turn monitor ON",
                            "MONITOROFF": "Turn monitor OFF",
                        
                            "RESTARTMM": "Starte MagicMirror2 neu",
                            "MONITORON": "Bildschirm einschalten",
                            "MONITOROFF": "Bildschirm ausschalten",
                        

                        I think thats it.

                        The evil this is a must for my mirror… so thats next. I think we can do this like the IFTTT module does it.
                        Install modules remotly will be the next big thing… :-)

                        J Mr.MeeseeksM 2 Replies Last reply Reply Quote 2
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 27
                        • 28
                        • 2 / 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