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.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.
    • yawnsY Offline
      yawns Moderator
      last edited by

      EADDRINUSE means, there is another process running and listening on port 8080
      It looks like the magicmirror somehow is running already.

      1 Reply Last reply Reply Quote 0
      • K Offline
        kurt @kurt
        last edited by

        @yawns
        By now the PM2 does its work! Great!
        When I put the pi away from electricity and then start the pi again, PM2 starts the mirror :slight_smile:
        But when I make some changes in Edit modulesor Einstellungen, save them, the changes are not shown, also after restarting the mirror but I get Error!also after restarting the mirror.
        So by now some features work :slight_smile: some still need some time or a little push…
        Thank you

        1 Reply Last reply Reply Quote 1
        • P Offline
          pepemujica
          last edited by

          Hi @mochman !
          Is there any chance to change the caption that it is shown of each module?
          For example, I’ve got 2 clocks modules, so I can see what time is it in 2 different countries. But when I go to the Remote control I see 2 “Clocks” and don’t know which is the clock I’m hiding or showing until I press the boton.
          Is it possible to change the caption in the control?

          Kind regards

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

            Sorry for my long absence. I am currently in the last weeks of writing my master thesis. Therefore unfortunately not much will be happening until second or third week of May.

            Big thanks to @strawberry-3-141 and @yawns to help everyone out so much. I finally made a release with the outstanding fixes:

            [1.1.3] - 2017-04-23

            Added

            • Portuguese translation
            • Indonesian translation
            • Support for iOS Icon and Webapp

            Changed

            • Installation no longer needs a temporary file

            Fixed

            • Icon paths adapted to changes in Magic Mirror² 2.1.0

            Hopefully I got everyone covered in my answers:

            @PatrickGlatz Have you figured it out yet? I don’t think there is any special configuration needed, just need to find the right menu.

            @kurt Thanks! Hopefully I will come around to improve the config interface at some point, as there are still some known bugs and problems, but I am glad it is already helping.

            @AAPS You are right, I should probably add npm install after updating MM.

            @pepemujica What error do you get? Maybe it is something in your network settings?

            Helpful sticky: How to troubleshoot

            P ? 2 Replies Last reply Reply Quote 1
            • P Offline
              pepemujica @Jopyth
              last edited by

              @Jopyth Hi! Yes I could solve the part of remote connection, but still can’t find the way to change the name of moddules in the control, since I have for example 3 or 4 iFrames, all of them just says iFrame in the control, so I’m looking the way to customize them. Is it possible?

              Kind regards

              J 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @Jopyth
                last edited by

                Hey @Jopyth, yes you are of course totally right. Took a closer look into it and of course it is jut a menu entry. Thanks for the hint.

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

                  @pepemujica Currently not possible. How would you identify them? Do they have different headers? Or by region/position?

                  Helpful sticky: How to troubleshoot

                  P strawberry 3.141S 2 Replies Last reply Reply Quote 0
                  • foxF Offline
                    fox
                    last edited by

                    Hi @Jopyth thank you for your efforts. A question, on mobile device a crazy bug is there. The navigation is not correct because the navigation buttons are not correct and partly dissappeared.

                    Does anybode have the same issue?

                    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
                      pepemujica @Jopyth
                      last edited by

                      @Jopyth Actually I have no idea haha
                      I’ve added a link in the module control section where I can change proffiles with the proffile switcher module, so I thought may be something similar could be done

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

                        Has anybode an idea why “no modules loaded” ?
                        alt text

                        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
                        • strawberry 3.141S Offline
                          strawberry 3.141 Project Sponsor Module Developer @Jopyth
                          last edited by

                          @Jopyth maybe something like alias

                          {
                            module: "modulename",
                            alias: "fancymodule",
                            ...
                          }
                          

                          then check if alias exists if not display normal module name

                          Please create a github issue if you need help, so I can keep track

                          P 1 Reply Last reply Reply Quote 1
                          • P Offline
                            pepemujica @strawberry 3.141
                            last edited by

                            @strawberry-3.141 does the alias exist or it’s just an idea?

                            strawberry 3.141S 1 Reply Last reply Reply Quote 0
                            • strawberry 3.141S Offline
                              strawberry 3.141 Project Sponsor Module Developer @pepemujica
                              last edited by

                              @pepemujica well you can put everything in there but alias isnt supported from anything yet, so we could claim it for this and the other configuration modules

                              Please create a github issue if you need help, so I can keep track

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                twosix
                                last edited by

                                The module is not working for me to any extent, when I whitelist the IPs for my school’s wifi (following the HowToWhitelistIP thread’s directions) in every way stated, I get the “this device is not allowed to access…” message. Then, when I allow all IPs access I get the “cannot get remote/html” message. Any help would be great! Thanks!

                                1 Reply Last reply Reply Quote 0
                                • SnilleS Offline
                                  Snille Module Developer
                                  last edited by Snille

                                  Hi! I’m trying to figure out how to hide/show modules with “REMOTE_ACTION” from “MMM-ModuleScheduler”.

                                  First, here is the remote control “config”.

                                  {
                                  	module: "MMM-Remote-Control",
                                  	position: "top_left",
                                  	config: {
                                  		"moduleData":[
                                  			{"identifier":"module_55_MMM-TextClock"},
                                  		],
                                  	}
                                  },
                                  

                                  I know that the “identifier” for the “MMM-TextClock” is correct.

                                  Then in the “MMM-ModuleScheduler” I have this:

                                  {
                                  	module: "MMM-ModuleScheduler",
                                  	config: {
                                  		uselock: false,
                                  		notification_schedule: [
                                  			{notification: "REMOTE_ACTION", schedule: "0 11 * * *", payload: {action: 'HIDE {"identifier":"module_55_MMM-TextClock"}'}},
                                  		],
                                  		global_schedule: []
                                  }
                                  

                                  It’s suppose to hide the “MMM-TextClock” at 11 AM but it’s not hiding it.
                                  I do get this in the log at the correct time:

                                  ---
                                  MMM-TextClock received a module notification: REMOTE_ACTION from sender: MMM-ModuleScheduler module.js:115
                                  ---
                                  

                                  So the action get sent… But the “MMM-TextClock” still shows… What have I missed?
                                  Or misunderstood? :)

                                  Thank you.

                                  If you cant find it, make it and share it!
                                  Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                                  B 1 Reply Last reply Reply Quote 0
                                  • SnilleS Offline
                                    Snille Module Developer
                                    last edited by

                                    Hi again! I’ve been using your excellent module since I started my build. And all along I had it in an “IFrame” on the mirror (the IFrame is shown via a touch on a button MMM-ModuleBar). However, about 2 moths ago, your module no longer shows up in the IFrame (it’s just black on the Mirror). However if I use another browser (not Electron) the IFrame shows the Remote Control. Also it shows up “remotely” both if I go directly to the Remote Control address and if I open the full Mirror in another browser.
                                    I’m not sure where the problem is. If it’s on your module or in Electron.
                                    I have another “web-interface” (SONOS Web Interface) in another IFrame showed the same way and that still works.
                                    I’m on the dev branch of MM.

                                    Let me know if you have any ideas… :)

                                    If you cant find it, make it and share it!
                                    Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                                    1 Reply Last reply Reply Quote 1
                                    • chaseb1357C Offline
                                      chaseb1357
                                      last edited by

                                      I downloaded this module today and its been the best one so far. It has everything in it that I have been trying to accomplish for weeks. I wish I saw this one sooner. I have only one issue, when i click the restart MagicMirror button i get an error and my MagicMirror dose not restart.

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

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

                                        I downloaded this module today and its been the best one so far. It has everything in it that I have been trying to accomplish for weeks. I wish I saw this one sooner.

                                        same to me. this module rocks…! i am for donating with ETH

                                        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
                                        • K Offline
                                          krisalexroberts
                                          last edited by

                                          Can you confirm the get URL to hide and show all?

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

                                            @Jopyth

Hi! First of all thanks a lot for creating this awesome module, it really expands the capability of what a Magic Mirror can do.

I just wanted to point out that I had an issue turning on the screen after turn it it off using the module. I went to the “node_helper.js” file to see which function you were using:

 if (query.action === “MONITORON”)
                                            {
                                            exec(“tvservice --preferred && sudo chvt 6 && sudo chvt 7”, opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
                                            return true;
                                            }
                                            if (query.action === “MONITOROFF”)
                                            {
                                            exec(“tvservice -o”, opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
                                            return true;
                                            }
                                            This function wasn’t really working for me and it seems a bit outdated. You can go further on the reasons why on this links:

https://raspberrypi.stackexchange.com/questions/52042/turning-tvservice-on-and-off-leaves-screen-blank

http://www.elinux.org/RPI_vcgencmd_usage

I just changed that code to:

                                            if (query.action === “MONITORON”)
                                            {
                                            exec(“vcgencmd display_power 1”, opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
                                            return true;
                                            }
                                            if (query.action === “MONITOROFF”)
                                            {
                                            exec(“vcgencmd display_power 0”, opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
                                            return true;
                                            }

And everything seems to work perfectly for me now. I’m using a Raspberry pi 1 and Midori as a web browser. 

My question is, would you be able to implement this changes in order to solve this issue for another users? (and also to keep my same valid configuration in case of an update)

Thanks!

                                            1 Reply Last reply Reply Quote 2

                                            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
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 11 / 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