Read the statement by Michael Teeuw here.
MMM-PIR-Sensor module not working after module update
-
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
-
magicmirror@2.12.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[2020-07-18 16:04:39.810] [LOG] Starting MagicMirror: v2.12.0
[2020-07-18 16:04:39.825] [LOG] Loading config …
[2020-07-18 16:04:39.835] [LOG] Loading module helpers …
[2020-07-18 16:04:39.838] [LOG] No helper found for module: alert.
[2020-07-18 16:04:39.981] [LOG] Initializing new module helper …
[2020-07-18 16:04:39.982] [LOG] Module helper loaded: MMM-PIR-Sensor
[2020-07-18 16:04:40.021] [LOG] Initializing new module helper …
[2020-07-18 16:04:40.022] [LOG] Module helper loaded: updatenotification
[2020-07-18 16:04:40.023] [LOG] No helper found for module: clock.
[2020-07-18 16:04:40.798] [LOG] Initializing new module helper …
[2020-07-18 16:04:40.799] [LOG] Module helper loaded: calendar
[2020-07-18 16:04:41.497] [LOG] Initializing new module helper …
[2020-07-18 16:04:41.498] [LOG] Module helper loaded: MMM-Tado
[2020-07-18 16:04:42.098] [LOG] Initializing new module helper …
[2020-07-18 16:04:42.099] [LOG] Module helper loaded: MMM-DarkSkyForecast
[2020-07-18 16:04:42.164] [LOG] Initializing new module helper …
[2020-07-18 16:04:42.165] [LOG] Module helper loaded: newsfeed
[2020-07-18 16:04:42.629] [LOG] Initializing new module helper …
[2020-07-18 16:04:42.679] [LOG] Module helper loaded: MMM-COVID19-SPARKLINE
[2020-07-18 16:04:42.778] [LOG] Initializing new module helper …
[2020-07-18 16:04:42.779] [LOG] Module helper loaded: MMM-soccer
[2020-07-18 16:04:42.801] [LOG] Initializing new module helper …
[2020-07-18 16:04:42.802] [LOG] Module helper loaded: MMM-Tools
[2020-07-18 16:04:42.805] [LOG] Initializing new module helper …
[2020-07-18 16:04:42.806] [LOG] Module helper loaded: mmm-hue-lights
[2020-07-18 16:04:42.806] [LOG] All module helpers loaded.
[2020-07-18 16:04:43.026] [LOG] Starting server on port 8080 …
[2020-07-18 16:04:43.050] [LOG] Server started …
[2020-07-18 16:04:43.051] [LOG] Connecting socket for: MMM-PIR-Sensor
[2020-07-18 16:04:43.053] [LOG] Connecting socket for: updatenotification
[2020-07-18 16:04:43.054] [LOG] Connecting socket for: calendar
[2020-07-18 16:04:43.061] [LOG] Starting node helper for: calendar
[2020-07-18 16:04:43.062] [LOG] Connecting socket for: MMM-Tado
[2020-07-18 16:04:43.063] [LOG] Connecting socket for: MMM-DarkSkyForecast
[2020-07-18 16:04:43.064] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast]
[2020-07-18 16:04:43.065] [LOG] Connecting socket for: newsfeed
[2020-07-18 16:04:43.066] [LOG] Starting node helper for: newsfeed
[2020-07-18 16:04:43.066] [LOG] Connecting socket for: MMM-COVID19-SPARKLINE
[2020-07-18 16:04:43.067] [LOG] Starting node helper for: MMM-COVID19-SPARKLINE
[2020-07-18 16:04:43.068] [LOG] Connecting socket for: MMM-soccer
[2020-07-18 16:04:43.068] [LOG] Starting module: MMM-soccer
[2020-07-18 16:04:43.069] [LOG] Connecting socket for: MMM-Tools
[2020-07-18 16:04:43.072] [LOG] Connecting socket for: mmm-hue-lights
[2020-07-18 16:04:43.073] [LOG] Starting node_helper for module [mmm-hue-lights]
[2020-07-18 16:04:43.074] [LOG] Sockets connected & modules started …
[2020-07-18 16:04:43.301] [LOG] Launching application.[2020-07-18 16:04:46.964] [LOG] Create new calendar fetcher for url: http://localhost:8080/MMM-Formula1/schedule.ics - Interval: 300000
[2020-07-18 16:04:47.058] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 16:04:47.060] [LOG] - MMM-Tado: Not all data present
[2020-07-18 16:04:47.066] [LOG] Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
[2020-07-18 16:04:47.138] [LOG] Create new news fetcher for url: http://www.waz-online.de/rss/feed/waz_schlagzeilen - Interval: 300000
[2020-07-18 16:04:47.142] [LOG] Create new news fetcher for url: http://www.n-tv.de/rss - Interval: 300000
[2020-07-18 16:04:47.152] [LOG] [COVID:CORE] Scan starts.
[2020-07-18 16:04:47.647] [INFO] Checking git for module: MMM-PIR-Sensor
[2020-07-18 16:04:47.680] [INFO] Checking git for module: MMM-Tado
[2020-07-18 16:04:47.707] [INFO] Checking git for module: MMM-DarkSkyForecast
[2020-07-18 16:04:47.732] [INFO] Checking git for module: MMM-COVID19-SPARKLINE
[2020-07-18 16:04:47.755] [INFO] Checking git for module: MMM-soccer
[2020-07-18 16:04:47.779] [INFO] Checking git for module: MMM-Tools
[2020-07-18 16:04:47.803] [INFO] Checking git for module: mmm-hue-lights
[2020-07-18 16:04:48.279] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 16:04:48.280] [LOG] - MMM-Tado: Not all data present
[2020-07-18 16:04:48.877] [INFO] Newsfeed-Fetcher: Broadcasting 40 items.
[2020-07-18 16:04:51.061] [INFO] Calendar-Fetcher: Broadcasting 0 events.
[2020-07-18 16:04:51.067] [LOG] Requests available: 9
[2020-07-18 16:04:51.088] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 16:04:51.089] [LOG] - MMM-Tado: Not all data present
[2020-07-18 16:04:51.618] [LOG] - MMM-Tado: Logged in
[2020-07-18 16:04:53.448] [INFO] Calendar-Fetcher: Broadcasting 8 events.
[2020-07-18 16:04:53.476] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 16:04:53.477] [LOG] - MMM-Tado: Not all data present
[2020-07-18 16:04:53.545] [INFO] Newsfeed-Fetcher: Broadcasting 10 items.
[2020-07-18 16:04:53.949] [INFO] Newsfeed-Fetcher: Broadcasting 29 items.
[2020-07-18 16:04:54.339] [INFO] Calendar-Fetcher: Broadcasting 3 events.
[2020-07-18 16:04:54.359] [LOG] - MMM-Tado: Got me()
[2020-07-18 16:04:54.360] [LOG] - MMM-Tado: Got homes()
[2020-07-18 16:04:54.458] [LOG] [COVID:CORE] Access to data source.
[2020-07-18 16:04:54.940] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 16:04:54.941] [LOG] - MMM-Tado: Not all data present
[2020-07-18 16:04:55.286] [LOG] - MMM-Tado: Got zones()
[2020-07-18 16:04:55.324] [LOG] [COVID:CORE] Resolving: csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv
[2020-07-18 16:04:56.023] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 16:04:56.024] [LOG] - MMM-Tado: Not all data present
[2020-07-18 16:04:56.039] [LOG] [COVID:CORE] Resolving: csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv
[2020-07-18 16:04:56.475] [LOG] [COVID:CORE] Resolving: csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv
[2020-07-18 16:04:56.523] [LOG] can’t find property recovered Canada:
[2020-07-18 16:04:56.524] [LOG] adding…
[2020-07-18 16:04:56.755] [LOG] [COVID:CORE] Calculating Wordlwide total.
[2020-07-18 16:04:56.965] [LOG] [COVID:CORE] Scan Completed.
[2020-07-18 16:04:57.528] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 16:04:57.529] [LOG] - MMM-TADO: All data is present
[2020-07-18 16:04:58.109] [INFO] Calendar-Fetcher: Broadcasting 1 events.
[2020-07-18 16:06:03.699] [LOG] Shutting down server…
[2020-07-18 16:06:03.705] [LOG] Stopping module helper: MMM-PIR-Sensor
[2020-07-18 16:06:03.707] [LOG] Stopping module helper: updatenotification
[2020-07-18 16:06:03.708] [LOG] Stopping module helper: calendar
[2020-07-18 16:06:03.709] [LOG] Stopping module helper: MMM-Tado
[2020-07-18 16:06:03.710] [LOG] Stopping module helper: MMM-DarkSkyForecast
[2020-07-18 16:06:03.711] [LOG] Stopping module helper: newsfeed
[2020-07-18 16:06:03.712] [LOG] Stopping module helper: MMM-COVID19-SPARKLINE
[2020-07-18 16:06:03.713] [LOG] Stopping module helper: MMM-soccer
[2020-07-18 16:06:03.714] [LOG] Stopping module helper: MMM-Tools
[2020-07-18 16:06:03.715] [LOG] Stopping module helper: mmm-hue-lights