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

    jaerenull

    @jaerenull

    0
    Reputation
    501
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    jaerenull Unfollow Follow

    Latest posts made by jaerenull

    • RE: Heat Problem

      No, mine is 2.5 amp. I thought yours was 1A due to this on the amazon description:

      "This adapter has been specially designed and tested for the raspberry Pi and can deliver a full 1A without the output voltage dropping below the recommended 5V necessary for reliable Raspberry Pi operation. "
      This is my power supply right now.
      MicroCenter 2.5A Power supply
      0_1513813808834_Screen Shot 2017-12-20 at 5.45.30 PM.png
      I’ve tried two of them on different outlets on two different Raspberry Pis. I really don’t know what I’m doing wrong lol.
      So I should probably go get the fans then and combine that with the heat sink?
      I’ll try that if that’s what everyone recommends!

      For some reason it wasn’t letting me link to the micro center site. It said that it was flagging me as spam for that.

      posted in Troubleshooting
      J
      jaerenull
    • RE: Heat Problem

      Thanks for that! Yeah the only app that I have running on it is my Magic Mirror. And it’s the pi itself that is getting hot.

      So the 1amp power supply isn’t too low to run a Pi on? I thought it needed a 2.5 amp?

      posted in Troubleshooting
      J
      jaerenull
    • Heat Problem

      So I bought a 2.5 amp micro-USB power adapter for Raspberry pi 3 from QVS.
      Currently it’s running at between 66-70* C. It’s been on for about 30 minutes. I don’t have a fan on it as well it’s not in a case. Just sitting on my desk in a cool room.
      Is this too hot to make a magic mirror with?
      It’s very hot to the touch and I’m worried that it will continue to heat up to the point of potentially causing a hazard.
      I’m about to build the box to put the monitor in so that I can actually have the mirror. So now is the time to address this issue for me.
      Any input would be great. Thanks

      posted in Troubleshooting
      J
      jaerenull
    • RE: Auto-Start Failed

      So I went back and ran that sudo command.
      *
      *
      pi@raspberrypi:~/MagicMirror $ pm2 startup
      [PM2] Init System found: systemd
      [PM2] To setup the Startup Script, copy/paste the following command:
      sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
      pi@raspberrypi:~/MagicMirror $ sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
      [PM2] Init System found: systemd
      Platform systemd
      Template
      [Unit]
      Description=PM2 process manager
      Documentation=https://pm2.keymetrics.io/
      After=network.target

      [Service]
      Type=forking
      User=pi
      LimitNOFILE=infinity
      LimitNPROC=infinity
      LimitCORE=infinity
      Environment=PATH=/usr/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
      Environment=PM2_HOME=/home/pi
      PIDFile=/home/pi/pm2.pid

      ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect
      ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all
      ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill

      [Install]
      WantedBy=multi-user.target

      Target path
      /etc/systemd/system/pm2-pi.service
      Command list
      [ ‘systemctl enable pm2-pi’,
      ‘systemctl start pm2-pi’,
      ‘systemctl daemon-reload’,
      ‘systemctl status pm2-pi’ ]
      [PM2] Writing init configuration in /etc/systemd/system/pm2-pi.service
      [PM2] Making script booting at startup…

      Executing systemctl enable pm2-pi
      [DONE]
      Executing systemctl start pm2-pi
      [DONE]
      Executing systemctl daemon-reload
      [DONE]
      Executing systemctl status pm2-pi
      ● pm2-pi.service - PM2 process manager
      Loaded: loaded (/etc/systemd/system/pm2-pi.service; enabled; vendor preset: enabled)
      Active: active (running) since Thu 2017-12-14 16:59:48 CST; 6min ago
      Docs: https://pm2.keymetrics.io/
      Main PID: 640 (PM2 v2.9.0: God)
      CGroup: /system.slice/pm2-pi.service
      └─640 PM2 v2.9.0: God Daemon (/home/pi)

      Dec 14 16:59:48 raspberrypi pm2[425]: [PM2] Restoring processes located in /home/pi/dump.pm2
      Dec 14 16:59:48 raspberrypi pm2[425]: [PM2][ERROR] Failed to read dump file in /home/pi/dump.pm2
      Dec 14 16:59:48 raspberrypi pm2[425]: [PM2] Restoring processes located in /home/pi/dump.pm2
      Dec 14 16:59:48 raspberrypi pm2[425]: [PM2][ERROR] Failed to read dump file in /home/pi/dump.pm2.bak
      Dec 14 16:59:48 raspberrypi pm2[425]: [PM2][ERROR] No processes saved; DUMP file doesn’t exist
      Dec 14 16:59:48 raspberrypi pm2[425]: ┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────┬──────────┐
      Dec 14 16:59:48 raspberrypi pm2[425]: │ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
      Dec 14 16:59:48 raspberrypi pm2[425]: └──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────┴──────────┘
      Dec 14 16:59:48 raspberrypi pm2[425]: Use pm2 show to get more details about an app
      Dec 14 16:59:48 raspberrypi systemd[1]: Started PM2 process manager.
      [DONE]
      ±--------------------------------------+
      [PM2] Freeze a process list on reboot via:
      $ pm2 save

      [PM2] Remove init script via:
      $ pm2 unstartup systemd
      pi@raspberrypi:~/MagicMirror $ pm2 save
      [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
      [PM2] PM2 Successfully daemonized
      [PM2] Saving current process list…
      [PM2] Successfully saved in /home/pi/.pm2/dump.pm2
      pi@raspberrypi:~/MagicMirror $ cd ~
      pi@raspberrypi:~ $ nano mm.sh
      pi@raspberrypi:~ $ chmod +x mm.sh
      pi@raspberrypi:~ $ pm2 start mm.sh
      [PM2] Starting /home/pi/mm.sh in fork_mode (1 instance)
      [PM2] Done.
      ┌──────────┬────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
      │ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
      ├──────────┼────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
      │ mm │ 0 │ fork │ 1304 │ online │ 0 │ 0s │ 2% │ 2.6 MB │ pi │ disabled │
      └──────────┴────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
      Use pm2 show to get more details about an app
      pi@raspberrypi:~ $ pm2 save
      [PM2] Saving current process list…
      [PM2] Successfully saved in /home/pi/.pm2/dump.pm2
      pi@raspberrypi:~ $ sudo reboot
      *
      *
      *
      and nothing happened still…any thoughts/suggestions?

      posted in Troubleshooting
      J
      jaerenull
    • Auto-Start Failed

      Hey so I’m having trouble auto-starting my magic mirror.
      I used this guide:
      https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
      And followed it line by line.
      That being said, I dug through the forums and it seems like people were having trouble doing this in the older versions of MM but I couldn’t find anything current.
      0_1513269249162_Screen Shot 2017-12-14 at 10.33.14 AM.png

      This is what I’ve been getting. It looks fine, but the mm.sh file just doesn’t actually execute on startup. I have to manually enter
      pm2 start mm.sh
      to get the MM to actually start.

      Any help with this?

      Thanks!

      posted in Troubleshooting
      J
      jaerenull
    • RE: Don't know what to do next...

      Thank you so much! I’ll try this out!

      posted in Troubleshooting
      J
      jaerenull
    • Don't know what to do next...

      So I’ve successfully gotten Raspbian installed on my pi. I got the Magic Mirror to successfully auto-open at login. I cannot figure out how to get to and edit the config.js file on my pi, or through ssh’ing via terminal (I’m on a Mac).
      I’d like to remove the compliments and newsfeed, (I get really annoyed with NYT) and add a couple modules of my own as well as making the 24-hr clock a 12-hour clock. I feel like once I’m able to view the config.js file everything will fall into place lol.
      I don’t know if I need to figure out how to ‘quit’ the MM application or if I should edit it through terminal.
      Just need some clarification! Thanks in advance!

      posted in Troubleshooting
      J
      jaerenull