MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. sdetweil
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Offline
    • Profile
    • Following 0
    • Followers 108
    • Topics 85
    • Posts 20,410
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Change to another SD with bigger size

      @hakupapa said in Change to another SD with bigger size:

      I´ve changed to this
      getPhotos: function() {
      var urlApHelper = “/media/pi/B82B-6FB6/fotos”;
      var self = this;
      var retry = true;

      right… the design of both modules depends on the data being IN the modules folder tree

      so, as u have it linked already… just (from the MM folder)

      mkdir modules/MMM-ImagesPhotos/my_fotos
      ln -s modules/MMM-ImagesPhotos/my_fotos  /media/pi/B82B-6FB6/fotos
      

      then the path modules/MMM-ImagesPhotos/my_fotos can show your photos…

      posted in Troubleshooting
      S
      sdetweil
    • RE: Change to another SD with bigger size

      @hakupapa do you have another machine in the house where u can put your pictures, and then have the image modules show from there? I do this

      install the samba client, mount the remote volume and then use a symbolic link to it.

      I so liked how this worked out, I built a photo frame with MM, MMM-ImagePhotos (or ImageSlideShow with multiple linked folders), a 32 in tv and a pi…

      added my MMM-SleepWake (to use my webcam as the motion detector)

      posted in Troubleshooting
      S
      sdetweil
    • RE: Autostart woes

      @mykle1 yes, cut and paste from the mm doc

      posted in Troubleshooting
      S
      sdetweil
    • RE: Autostart woes

      i gave up on pm2, edited /etc/rc.local

      posted in Troubleshooting
      S
      sdetweil
    • RE: Autostart woes

      I see this error/warning during

      sudo npm pm2 install -g

      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/pm2/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})

      posted in Troubleshooting
      S
      sdetweil
    • RE: Autostart woes

      I see this in the pi/.pm2/pm2.log, after service pm2-pi start

      internal/modules/cjs/loader.js:583
          throw err;
          ^
      
      Error: Cannot find module './lib/eventemitter2'
      

      and the systemctl status pm2-pi.service command produces

      ● pm2-pi.service - PM2 process manager
         Loaded: loaded (/etc/systemd/system/pm2-pi.service; enabled; vendor preset: enabled)
         Active: failed (Result: resources) since Tue 2018-07-10 10:36:25 CDT; 7s ago
           Docs: https://pm2.keymetrics.io/
        Process: 2899 ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect (code=exited, status=0/SUCCESS)
      
      Jul 10 10:36:23 raspberrypi systemd[1]: Starting PM2 process manager...
      Jul 10 10:36:24 raspberrypi pm2[2899]: [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
      Jul 10 10:36:25 raspberrypi systemd[1]: pm2-pi.service: PID file /home/pi/.pm2/pm2.pid not readable (yet?) after start: No such file or directory
      Jul 10 10:36:25 raspberrypi systemd[1]: Failed to start PM2 process manager.
      Jul 10 10:36:25 raspberrypi systemd[1]: pm2-pi.service: Unit entered failed state.
      Jul 10 10:36:25 raspberrypi systemd[1]: pm2-pi.service: Failed with result 'resources'.
      

      so, it looks like some pm2 install problem

      posted in Troubleshooting
      S
      sdetweil
    • Autostart woes

      i have a 2.4.1 instance of MM running just fine… now to set to start on boot…

      install pm2…

      the doc for ‘pm2 startup’ doesn’t help me…
      ‘will give you the command u need to execute’

      execute when, how? if unattended, who is ‘you’?

      anyhow…from the pi home directory

      pm2 start mm.sh
      

      doesn’t

      now what?

      i have a startup script, which checks for and starts other dependencies…
      called run
      it doesn’t work either

      and, so… IF I wanted pm2 to start at boot… how do I do THAT??
      execute that ‘command’…

      done that too… and well, pm2 doesn’t start at boot… (no running process with pm2 in it anywhere)

      now what?

      posted in Troubleshooting
      S
      sdetweil
    • RE: EyeCandy and out-of-memory

      @chef i have been using MMM-ImagesPhotos or MMM-ImageSlideshow and don’t see the out of memory issue… don’t have any gifs in the image list tho

      posted in Bug Hunt
      S
      sdetweil
    • RE: My 2-hour Google Home-enabled Magic Mirror (full guide)

      @zach awesome… thanks… another set of interesting info… had not seen pi-top before

      posted in Show your Mirror
      S
      sdetweil
    • RE: Black screen after MM v2.4.0 update.

      @shane1234 if u have the PIR module loaded, and do ctrl-shift-i (lower case letter i), it will open the debug env, and then select the console tab… do you see any errors?

      also, if u start from a terminal window, alt-spacebar, n will minimze the mirror screen so you can see the terminal window node_helper outputs… anything there?

      usually a module.js error kills with MM screen…

      posted in Troubleshooting
      S
      sdetweil
    • 1 / 1