Read the statement by Michael Teeuw here.
MMM-PIR-Sensor module not working after module update
-
Hi, the PIR sensor is not working since the last module update. Shortly after starting MM, the monitor goes into standby and stays that way. The sensor then no longer reacts to movement. Only after restarting the Pi do I have a picture again. In the config nothing is entered everything on default. That’s how it worked before. Someone an idea?
-
@JoeFranz what do you mean by module update?
In the config nothing is entered everything on default.
i don’t understand what that means… you added a module entry for the PIR module, yes?
-
Three days ago there was an update for the module MMM-PIR sensor.
https://github.com/paviro/MMM-PIR-SensorOnly the module is in the config.js, no further entries.
{
module: ‘MMM-PIR-Sensor’,
config: {
// See ‘Configuration options’ for more information.
}
} -
@JoeFranz so, you did
cd ~/MagicMirror/modules/MMM-PIR-Sensor git pull
and then restarted mm, yes?
there should be some config options u needed to specify. like the gpio pin the sensor is connected to
-
@JoeFranz what do the console messages look like at mm startup?
either the output of npm start, or the output of pm2 logs --lines=20
-
MM does not restart, the screen goes into standby shortly after the start and remains so. Despite movement in front of the PIR sensor. MM continues, there is no error. The PIR module has been running without any options in the config for over two years without any problems.
-
@JoeFranz so, mm goes black screen, u call it continues. but it’s broken
please post the messages I requested
-
@sdetweil said in MMM-PIR-Sensor module not working after module update:
@JoeFranz what do the console messages look like at mm startup?
either the output of npm start, or the output of pm2 logs --lines=20
sorry but i don’t know how to do that … :-(
-
@JoeFranz how do u start mm?
using pm2 at boot, or some command u enter -
cd ~/MagicMirror
npm start