Read the statement by Michael Teeuw here.
Motion Detector
-
i don’t have a mm.sh script. Where should it be located?
-
@DirkS Aha. You probably haven’t set it up yet. No worries. You normally start your mirror by going into
~/MagicMirror
and enteringnpm start
, right? Just append the dev switch and you should see both the mirror UI and the browser console on your mirror:npm start dev
If you’re starting your mirror via SSH, prepend the command to send the output to the mirror’s display:
DISPLAY=:0 npm start dev
-
The mirror is starting at reboot. So maybe there is a script, i installed it a few month ago, i don’t remember :D
If i’m testing new settings i use pm2 restart mm for example. npm i’m just using to install new modules.
-
@DirkS Interesting. Following the instructions I found via the GitHub MagicMirror repository, the pm2 should be using
/home/pi/mm.sh
to start the magic mirror process. Editing this file and appendingDEV
should give you the web browser console with log. -
Hi and thanks to everybody making this module work!
@cpramhofer Did your solution solve the issue that the monitor did not switch on again after a longer period of time?
-
@done Wait, does it work for you? Because it’s not working for me and this is the last thing I need before my mirror is done.
-
@bhepler Sorry, I haven’t tried yet. :)
I installed the cam and the module yesterday and motion detection worked.
But I experienced the same issue this morning. Wake up problem is not solved. -
@done propably everything is working for you guys and you can just see the screensaver, be sure to disable the screensaver
-
Hi @strawberry-3.141
Thanks for your answer
I disabled the screensaver by editing (found here
Is that what you had in mind?sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
#@xscreensaver -no-splash@xset s off
@xset -dpms
@xset s noblank
@unclutterStrange that my camera driver was not working today.
I had to activate the cam in the pi config again.In the morning the cam led was on but when I tried to wake up the monitor the led just turned off.
I use a v1.3 cam on a rpi3.
-
@done Personally I don’t have a mirror myself, but I heard from other users in this forum they had problems with the screensaver when they tried to wake up the mirror using my voice module. They could see the mirror got brighter, but the screen was still black because of the screensaver. I would connect a mouse or keyboard and do some action to see if there is a screensaver active.