MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bhepler
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 2
    • Followers 9
    • Topics 21
    • Posts 1,116
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: MagicMirror wont start

      @kalleK Well, those errors didn’t seem to kill your mirror. I would comment out the 3rd-party modules in your config.js and restart your mirror process. Add them back one at a time until you get those warnings again and then talk to the module developer. Assuming those are module errors.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Error Installing Dependencies Permission Denied

      @buckgup It installed into desktop because that’s the folder you were in when you ran the git command. So:

      cd /home/pug
      git clone https://github.com/MichMich/MagicMirror.git
      cd MagicMirror
      npm install
      
      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Two Instances in PM2

      @shazglass - Hmm. I don’t know. It should be working normally at this point. Let’s try switching to the previous process. We’ll delete the one that the installer created, then add the one to your script.

      First, we remove the existing process:

      cd ~
      pm2 delete MagicMirror
      pm2 save
      

      Then we use your mm.sh script that you had earlier.

      pm2 flush
      pm2 start mm.sh
      pm2 save
      

      At this point, your mirror should come up in about 30 seconds. If it does not, enter pm2 log mm and copy the results here. Be sure to use the forum markup tools to help format your log messages.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: pm2 logs - UnhandledPromiseRejectionWarning

      @ooskay - Please post your config.js file here and we’ll take a look at it. When you do, be sure to use the forum markdown features to help us read your file and be sure to remove any API keys from your file to keep them private. Here is a link explaining the markdown features.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: stopping MM via pm2 does not close electron - at restart I get EADDRINUSE

      It sounds like something on your Pi is attempting to start the Magic Mirror process twice. If you used a cron job to start MM as well as PM2, then this can happen. Likewise, if your script that PM2 calls to start the process has the command twice, this can happen.

      EADDRINUSE usually means that two processes are trying to serve up web pages on the same port. If that happens on reboot, then most likely two commands are trying to start MM.

      My recommendation is to remove PM2’s attempts to start MM, reboot and see if the mirror process starts. If so, find out how it’s being called and remove that, then reset pm2 to do it. If MM doesn’t start after the reboot, run your netstat -lptn again and find out what’s listening on that port.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: PM2 error

      @dawookie1979 - At a guess, it looks like pm2 is not compatible with the version of node that you have on your pi. I would try upgrading node then re-running the pm2 startup command.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Help Me To Get Lucy Working

      @mykle1 - Ah. That’s fine. Considering the functionality added, it seems a small price to pay. I just want to be sure I’m aware of the ramifications. If I’m building mirrors for friends, I need to weigh the pros & cons of including Hello Lucy into their builds. If I can maintain access to their mirror, then I can make it work. I just have to remember to redo my modifications to the module code.

      But if the owners intend to run the updates… then I should probably hold off on the Hello Lucy module. I barely trust myself with modifying the code, let alone teaching someone else how to do it!

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Remote into MM not working

      @dazza120 - Remember to mark the topic as solved. I’m glad you got it working.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: HELP to use a cam with MM PLEASE

      @axel - Well, if you really want to use the camera, the basic module to use is MMM-Motion-Detection. This will turn the MagicMirror display off & on when it detects movement in front of the camera.

      I’m pretty sure there is a selfie module around here that will let you take pictures of yourself. If you really want to get advanced, there’s a facial recognition app that has been used with varying degrees of success.

      posted in Troubleshooting
      bheplerB
      bhepler
    • RE: Sun VS mirror

      FWIW, the professionals at TwoWayMirrors.com sell two way glass specifically for smart mirrors at 30% transparent. I have three of their mirrors and I’m quite pleased with them.

      posted in Troubleshooting
      bheplerB
      bhepler
    • 1 / 1