Read the statement by Michael Teeuw here.
MMM-PIR-Sensor module not working after module update
-
@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 -
@JoeFranz ok, so the messages are displayed right there at npm start.
minimize mm (alt-spacebar, n) and u can see them, or redirect to a filenpm start > somefile