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

    morso

    @morso

    0
    Reputation
    272
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    morso Unfollow Follow

    Latest posts made by morso

    • RE: Default Calender-absolute Date

      @paulocarrasco said in Default Calender-absolute Date:

      The solution is placing the timeFormat: ‘absolute’ parameter before the "calendars: [ " line.

      I followed @paulocarrasco suggestion and it worked!

      Here is the code

      {
                              module: "calendar",
                              header: "US Holidays",
                              position: "top_left",
                              config: {
                                      timeFormat: "absolute",
                                      calendars: [
                                              {
                                                      symbol: "calendar-check-o ",
                                                      url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                                              }
                                      ]
                              }
                      },
      
      
      posted in Troubleshooting
      M
      morso
    • RE: Newbe help please

      @E3V3A Thank you very much!!

      posted in Troubleshooting
      M
      morso
    • RE: Newbe help please

      @yawns Thanks for the prompt replay. Yes HDMI screen is connected and shows Pi OS desktop.
      I am connected via VNC but I can also work directly on the Pi. Not really sure how to use SSH yet.

      I run

      DISPLAY=:0 nohup npm start &
      

      inside the MM folder from VNC and MagicMirror screen started!!
      I also run

      npm start
      

      from Pi and works.

      MagicMirror doesn’t start on reboot though. Reboot goes strait to desktop.
      I guess my confusion is that before I just exec

      pm2 start MagicMirror"
      

      and the MagicMirro screen start while now I will need to run

      npm start
      

      Can you please explain why this happens and how I can have MagicMirror starts at boot again?

      Thanks so much for your help.

      posted in Troubleshooting
      M
      morso
    • Newbe help please

      Hello,

      It looks like my MagicMirror is running (see below) but the MagiciMirror screen doesn’t start.

      pi@raspberrypi:~/MagicMirror $ pm2 restart  MagicMirror
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
      [PM2] [MagicMirror](0) ✓
      ┌─────────────┬──────┬────────┬─────┬─────┬───────────┐
      │ Name        │ mode │ status │ ↺   │ cpu │ memory    │
      ├─────────────┼──────┼────────┼─────┼─────┼───────────┤
      │ MagicMirror │ fork │ online │ 159 │ 66% │ 11.2 MB   │
      └─────────────┴──────┴────────┴─────┴─────┴───────────┘
       Use `pm2 show ` to get more details about an app
      

      Everything was working fine from the original install (I even added a module w/o issues) till I followed the instructions to Disabling the screensaver and Disable WiFi Power Save.

      Since I have a RPi 3 (Raspbian Stretch) I used the following instruction:

      For RPi 3 (Raspbian Stretch)

      We no longer have any default entries in /etc/network/interfaces, instead we make a plugin to the (service) startup script. Copy paste the following into you terminal:

      cat << EOF | sudo tee /etc/network/if-up.d/off-power-manager
      > #!/bin/sh
      > # off-power-manager - Disable the internal power manager of the (built-in) wlan0 device
      > # Added by MagicMirrorSetup
      > iw dev wlan0 set power_save off
      > EOF
      #!/bin/sh
      # off-power-manager - Disable the internal power manager of the (built-in) wlan0 device
      # Added by MagicMirrorSetup
      iw dev wlan0 set power_save off
      
      

      Then set the permissions and reload the network daemon.

      sudo chmod 755 /etc/network/if-up.d/off-power-manager
      sudo /etc/init.d/networking restart
      

      You don’t need to reboot for this to take effect, but do it anyway to make sure it works. After reboot and your wifi is back up, test with:

      iw dev wlan0 get power_save
      

      After this the MagicMirror stopped starting up when

      pm2 star MagicMirror
      

      is executed.

      Any help you could offer to troubleshoot this is much much appreciated.
      Thanks,

      posted in Troubleshooting
      M
      morso