Glad it worked! :smiling_face_with_open_mouth:
Read the statement by Michael Teeuw here.
Posts
-
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 -e
with 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.
-
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.
-
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.
-
RE: Do you use a PIR sensor? How do you hide it?
The microwave sensor is compatible with the MMM-PIR-sensor module.
-
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 like55 19 * * * pm2 reload mm
(mine is0 6 * * * pm2 reload mm
and it works flawlessly). -
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.
-
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.
-
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.
-
RE: Cronjob
Why do you want to restart MM? Maybe
pm2 reload mm
is the better option.