Read the statement by Michael Teeuw here.
MMM-PIR-Sensor restart problem
-
How do you start your Mirror?
-
with autostart (from wiki).
-
It somehow probably starts multiple instances. Disable the auto start and try to get it working manually first.
-
how can I do that?
-
@trividar
pm2 stop mm
check if it’s running
pm2 list
No instances should be running at that point. then start the MM using
npm start
from your MagicMirror folder from a terminal running on your PI (so not via SSH) -
Moved this part of the topic into a new thread since it has nothing to do with the module.
-
If i stop with pm2 stop mm and start my MM with npm start from terminal everything works fine, but without the PIR sensor. If i connect the sensor to my pi i get the blackscreen.
-
@paviro See the replay in the other topic. It seems it has something to do with the module.
-
Strange no idea what could case that. Will check back…
-
Thank you both for your help!
How can I disable completely the MM autostart?