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

    Posts

    Recent Best Controversial
    • RE: Cronjob

      Glad it worked! :smiling_face_with_open_mouth:

      posted in Troubleshooting
      M
      MadScientist
    • RE: Cronjob

      This is my crontab:

      # daemon's notion of time and timezones.
      #
      # Output of the crontab jobs (including errors) is sent through
      # email to the user the crontab file belongs to (unless redirected).
      #
      # For example, you can run a backup of all your user accounts
      # at 5 a.m every week with:
      # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
      #
      # For more information see the manual pages of crontab(5) and cron(8)
      #
      # m h  dom mon dow   command
      0 6 * * * pm2 reload mm
      
      
      
      

      Are you running crontab -ewith sudo? Because you have to run it as the user that runs MM (= most likely without sudo).

      Edit: @Zwirbel: For me it works using a cronjob. See what I wrote above and if you have questions regarding crontab, just ask again.

      posted in Troubleshooting
      M
      MadScientist
    • RE: Cronjob

      Depennding on the other modules you’re using it might be good to reload MM more than once a day. In my case once is enough. Without reloading the screen turns black after more than one day. Depending on your setup it could be better to reload it twice or 4 times a day. In the end the reload is very quick and you won’t notice anything.

      posted in Troubleshooting
      M
      MadScientist
    • RE: Do you use a PIR sensor? How do you hide it?

      I could use mine because it worked through the prick wall behind the mirror.

      posted in Hardware
      M
      MadScientist
    • RE: Do you use a PIR sensor? How do you hide it?

      The microwave sensor is compatible with the MMM-PIR-sensor module.

      posted in Hardware
      M
      MadScientist
    • RE: Cronjob

      Are you using the GoogleMapsTraffic module? In that case the pm2 reload mm will do. Or a simple Ctrl+R on the mirror. The cronjob should then look something like 55 19 * * * pm2 reload mm (mine is 0 6 * * * pm2 reload mm and it works flawlessly).

      posted in Troubleshooting
      M
      MadScientist
    • RE: Wunderground ?

      @thobach Is it possible to adjust the regular MMM-Wunderground module for the DarkSky api? That’d be awesome as I really liked the look and the icons of the Wunderground module. I had it set up to show hourly and daily forecast. Which was just perfect.

      posted in Troubleshooting
      M
      MadScientist
    • RE: Knock on frame to activate mirror

      It’s a nice idea. Maybe it even works withe MMM-PIRsensor module. Just give it a try. A quick Google search leads to a Pi compatible SW-420. They cost a few cents on AliExpress.

      posted in Hardware
      M
      MadScientist
    • RE: Considerations to take for MM that won't be at my house?

      @retroflex said in Considerations to take for MM that won't be at my house?:

      One more thing… don’t buy a cheap SD card. Buy a high quality one that gets good reviews together with a RPi. Then you will at least minimize the risk of a corrupt card. Sandisk has worked good for me.

      Use a cheap SSD. Much more reliable. That’s what I am using for more than a year now.

      posted in General Discussion
      M
      MadScientist
    • RE: Cronjob

      Why do you want to restart MM? Maybe pm2 reload mmis the better option.

      posted in Troubleshooting
      M
      MadScientist
    • 1
    • 2
    • 5
    • 6
    • 7
    • 8
    • 9
    • 20
    • 21
    • 7 / 21