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.
    • foxF Offline
      fox
      last edited by

      @Jopyth have you changed something on the screen?

      Now on the devices the page losts the icons and back buttons etc.
      Tested on iOS, linux, laptop, handy, tablet. Everywhere the same effect:
      alt text

      Issues With MMM-WatchDog known?

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

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

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

        @fox the module didn’t update the path to the icons that has changed in v2.1.1 yet.

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

        K foxF 2 Replies Last reply Reply Quote 0
        • K Offline
          kurt @strawberry 3.141
          last edited by

          @strawberry-3.141
          how can we update the path?
          cause I’ve got the same effect with lost icons, even after a git pull and npm install in the MMM-Remote-Control modul.
          Thanke you

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

            @kurt as far as i can see it is merged into the dev branch

            to change to dev branch do the following

            cd ~/MagicMirror/modules/MMM-Remote-Control
            git fetch
            git checkout develop
            

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

            K 1 Reply Last reply Reply Quote 0
            • foxF Offline
              fox @strawberry 3.141
              last edited by

              @strawberry-3.141
              What do you mean? That I can fix it with 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 0
              • ? Offline
                A Former User
                last edited by

                Can anyone post a example of his config, so I can see what to do to switch on/off the single modules? I only do have the default values there, shutdown etc…

                Appreciate your help, thx

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

                  @PatrickGlatz

                  You should oopen it on a device: :8080/remote.html and after you changed sth you will see, that your config has been greatly rewritten! :-)

                  So no need to change other modules configs

                  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
                    kurt @strawberry 3.141
                    last edited by

                    @strawberry-3.141
                    thank you, the icons are here again :slight_smile:
                    I’ll try to install pm2 so I can use the New start and Switch off feature.

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

                      Hi @Jopyth !

                      I’m trying to acces from my smartphone, but I have no answer.
                      From the browser were is runnig the MM I am able to run the contrl, but not from other device. Any idea why?

                      Kind regards

                      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 check your whitelist settings

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

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

                          @strawberry-3.141 it is empty, with this any IP is allowed to access, am I right?

                          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 should be yes. When you enter from a device which gets blocked through the ipwhitelist you get a message in the logs

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

                            P K 2 Replies Last reply Reply Quote 0
                            • P Offline
                              pepemujica @strawberry 3.141
                              last edited by

                              @strawberry-3.141 Still can’t find the way, the whitelist is empty, I can access from the browser where it is installed the MM, but outside that I can’t, even being at the same wifi network :(

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

                                @strawberry-3-141
                                PM2 restart won’t work.
                                Could you have a look, please.
                                Thanks a lot

                                [PM2] PM2 Successfully daemonized
                                Use --update-env to update environment variables
                                ┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────────┐
                                │ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ watching │
                                └──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────────┘
                                 Use `pm2 show ` to get more details about an app
                                
                                [PM2][ERROR] Process mm not found
                                
                                { Error: Command failed: pm2 restart mm
                                [PM2][ERROR] Process mm not found
                                
                                    at ChildProcess.exithandler (child_process.js:218:12)
                                    at emitTwo (events.js:106:13)
                                    at ChildProcess.emit (events.js:191:7)
                                    at maybeClose (internal/child_process.js:877:16)
                                    at Socket. (internal/child_process.js:334:11)
                                    at emitOne (events.js:96:13)
                                    at Socket.emit (events.js:188:7)
                                    at Pipe._handle.close [as _onclose] (net.js:493:12) killed: false, code: 1, signal: null, cmd: 'pm2 restart mm' }
                                pi@raspberrypi:~/MagicMirror $
                                strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                • strawberry 3.141S Offline
                                  strawberry 3.141 Project Sponsor Module Developer @kurt
                                  last edited by

                                  @kurt looks like there is currently no instance running that can be restarted so just start a new one by doing pm2 start mm

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

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

                                    @strawberry-3.141
                                    Thank you, this is what I get…

                                    pi@raspberrypi:~/MagicMirror $  pm2 start mm
                                    [PM2][ERROR] script not found : /home/pi/MagicMirror/mm
                                    script not found : /home/pi/MagicMirror/mm
                                    ┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────────┐
                                    │ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ watching │
                                    └──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────────┘
                                     Use `pm2 show ` to get more details about an app
                                    pi@raspberrypi:~/MagicMirror $ pm2 show
                                    
                                      error: missing required argument `id'
                                    
                                    pi@raspberrypi:~/MagicMirror $
                                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                    • strawberry 3.141S Offline
                                      strawberry 3.141 Project Sponsor Module Developer @kurt
                                      last edited by

                                      @kurt [PM2][ERROR] script not found

                                      did you follow these steps to create the script? https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

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

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

                                        @strawberry-3.141
                                        yes I did it following the steps in that wiki

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

                                          Shouldn’t pm2 start mm be executed in ~ and not in ~/MagicMirror ? The tutorial said to create mm.sh in ~

                                          So please go back one folder with cd .. or directly with cd ~ and try again

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

                                            @yawns
                                            this is what I get,
                                            do you think it is a good idea to start the install routine once again from the beginning? pi@raspberrypi:~ $
                                            in my modules folder there is no PM2 folder. Should there be one?
                                            Thanks a lot for help
                                            kurt

                                            pi@raspberrypi:~ $ npm start
                                            npm ERR! Linux 4.4.50-v7+
                                            npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
                                            npm ERR! node v6.10.0
                                            npm ERR! npm  v3.10.10
                                            npm ERR! path /home/pi/package.json
                                            npm ERR! code ENOENT
                                            npm ERR! errno -2
                                            npm ERR! syscall open
                                            
                                            npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                                            npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                                            npm ERR! enoent This is most likely not a problem with npm itself
                                            npm ERR! enoent and is related to npm not being able to find a file.
                                            npm ERR! enoent 
                                            
                                            npm ERR! Please include the following file with any support request:
                                            npm ERR!     /home/pi/npm-debug.log
                                            pi@raspberrypi:~ $  pm2 start mm
                                            [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
                                            [PM2] PM2 Successfully daemonized
                                            [PM2][ERROR] script not found : /home/pi/mm
                                            script not found : /home/pi/mm
                                            ┌──────┬──────┬────────┬───┬─────┬────────┐
                                            │ Name │ mode │ status │ ↺ │ cpu │ memory │
                                            └──────┴──────┴────────┴───┴─────┴────────┘
                                             Use `pm2 show ` to get more details about an app
                                            
                                            
                                            yawnsY 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
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 10 / 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