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 pulland 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 -
@JoeFranz ok, nothing obvious there, so, now we need to open the developers window, ctrl-shift-i and select the console tab and scroll up to see any errors, usually red text
-
This post is deleted! -
-
@JoeFranz looks likes is mmm-soccer w the problem
-
Without MMM-soccer same error :-(
-
@JoeFranz Looks more like an issue with the MMM-Formula1. It is the first thing throwing an error. Can you write the npm to file and post the contents of the log file?
npm start > log.txt 2>&1 -
@mumblebaj there were no errors in the npm start log info.
the calendar error is not fatal.
the soccer error is fatal, as it’s in the web drawing loop.@JoeFranz u can’t have the ‘same’ error if u disabled the soccer module
-
The Formula1 module is not active and i have nothing change in the config.js since MMM-PIR-Sensor update.
magicmirror@2.12.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js/home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror/node_modules/electron/dist/electron)
/home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror/node_modules/electron/dist/electron)
[2020-07-18 18:21:54.455] [LOG] Starting MagicMirror: v2.12.0
[2020-07-18 18:21:54.466] [LOG] Loading config …
[2020-07-18 18:21:54.476] [LOG] Loading module helpers …
[2020-07-18 18:21:54.479] [LOG] No helper found for module: alert.
[2020-07-18 18:21:54.541] [LOG] Initializing new module helper …
[2020-07-18 18:21:54.542] [LOG] Module helper loaded: updatenotification
[2020-07-18 18:21:54.543] [LOG] No helper found for module: clock.
[2020-07-18 18:21:55.313] [LOG] Initializing new module helper …
[2020-07-18 18:21:55.314] [LOG] Module helper loaded: calendar
[2020-07-18 18:21:55.992] [LOG] Initializing new module helper …
[2020-07-18 18:21:55.993] [LOG] Module helper loaded: MMM-Tado
[2020-07-18 18:21:56.585] [LOG] Initializing new module helper …
[2020-07-18 18:21:56.586] [LOG] Module helper loaded: MMM-DarkSkyForecast
[2020-07-18 18:21:56.629] [LOG] Initializing new module helper …
[2020-07-18 18:21:56.630] [LOG] Module helper loaded: newsfeed
[2020-07-18 18:21:57.071] [LOG] Initializing new module helper …
[2020-07-18 18:21:57.073] [LOG] Module helper loaded: MMM-COVID19-SPARKLINE
[2020-07-18 18:21:57.094] [LOG] Initializing new module helper …
[2020-07-18 18:21:57.095] [LOG] Module helper loaded: MMM-Tools
[2020-07-18 18:21:57.098] [LOG] Initializing new module helper …
[2020-07-18 18:21:57.099] [LOG] Module helper loaded: mmm-hue-lights
[2020-07-18 18:21:57.099] [LOG] All module helpers loaded.
[2020-07-18 18:21:57.302] [LOG] Starting server on port 8080 …
[2020-07-18 18:21:57.324] [LOG] Server started …
[2020-07-18 18:21:57.325] [LOG] Connecting socket for: updatenotification
[2020-07-18 18:21:57.327] [LOG] Connecting socket for: calendar
[2020-07-18 18:21:57.328] [LOG] Starting node helper for: calendar
[2020-07-18 18:21:57.328] [LOG] Connecting socket for: MMM-Tado
[2020-07-18 18:21:57.329] [LOG] Connecting socket for: MMM-DarkSkyForecast
[2020-07-18 18:21:57.330] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast]
[2020-07-18 18:21:57.331] [LOG] Connecting socket for: newsfeed
[2020-07-18 18:21:57.332] [LOG] Starting node helper for: newsfeed
[2020-07-18 18:21:57.333] [LOG] Connecting socket for: MMM-COVID19-SPARKLINE
[2020-07-18 18:21:57.333] [LOG] Starting node helper for: MMM-COVID19-SPARKLINE
[2020-07-18 18:21:57.334] [LOG] Connecting socket for: MMM-Tools
[2020-07-18 18:21:57.337] [LOG] Connecting socket for: mmm-hue-lights
[2020-07-18 18:21:57.338] [LOG] Starting node_helper for module [mmm-hue-lights]
[2020-07-18 18:21:57.339] [LOG] Sockets connected & modules started …
Fontconfig warning: “/etc/fonts/fonts.conf”, line 86: unknown element “blank”
/proc/self/exe: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /proc/self/exe)
[2020-07-18 18:21:57.496] [LOG] Launching application.
/proc/self/exe: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /proc/self/exe)
libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[2020-07-18 18:22:01.271] [LOG] Create new calendar fetcher for url: https://p24-calendars.icloud.com/published/2/RZI42MKNIhOnHx93vtTfvCkhhYLoD3Xefk_1-TIxfwNYJH4S_q7JqKO3ULTUgn1TfuS0bKRdQODjZH88Z9X_ZyWMj1KcfbSA_XcjqWokgas - Interval: 300000
[2020-07-18 18:22:01.296] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/f45jtrqkd9pc25ne28oid2ckbg%40group.calendar.google.com/public/basic.ics - Interval: 300000
[2020-07-18 18:22:01.301] [LOG] Create new calendar fetcher for url: http://www.project24.info/dav/JMNDA/KOHB/NPD/N/0/bda453a94fcc7de961b6fdcba986b2e6/feiertage.ics - Interval: 300000
[2020-07-18 18:22:01.314] [LOG] Create new calendar fetcher for url: http://p24-calendars.icloud.com/published/2/7gHy7EORV6hGC51yisVd75vyC1OWCHIxRVW9HGNBFWWCz84lugqogIfqYZQpK6QB38tkfyr9f3WYQS-kBpII7UpEfAXnliowXPB43EyyVAk - Interval: 300000
[2020-07-18 18:22:01.328] [LOG] Create new calendar fetcher for url: http://localhost:8080/MMM-Formula1/schedule.ics - Interval: 300000
[2020-07-18 18:22:01.476] [ERROR] Calendar Error. Could not fetch calendar: http://localhost:8080/MMM-Formula1/schedule.ics 404: Not Found
[2020-07-18 18:22:01.533] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 18:22:01.535] [LOG] - MMM-Tado: Not all data present
[2020-07-18 18:22:01.578] [LOG] Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
[2020-07-18 18:22:01.650] [LOG] Create new news fetcher for url: http://www.waz-online.de/rss/feed/waz_schlagzeilen - Interval: 300000
[2020-07-18 18:22:01.662] [LOG] Create new news fetcher for url: http://www.n-tv.de/rss - Interval: 300000
[2020-07-18 18:22:01.678] [LOG] [COVID:CORE] Scan starts.
[2020-07-18 18:22:03.860] [INFO] Calendar-Fetcher: Broadcasting 0 events.
[2020-07-18 18:22:03.879] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 18:22:03.880] [LOG] - MMM-Tado: Not all data present
[2020-07-18 18:22:04.777] [INFO] Newsfeed-Fetcher: Broadcasting 40 items.
[2020-07-18 18:22:04.884] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 18:22:04.885] [LOG] - MMM-Tado: Not all data present
[2020-07-18 18:22:05.180] [INFO] Calendar-Fetcher: Broadcasting 3 events.
[2020-07-18 18:22:05.268] [INFO] Checking git for module: MMM-Tado
[2020-07-18 18:22:05.305] [INFO] Checking git for module: MMM-DarkSkyForecast
[2020-07-18 18:22:05.342] [INFO] Checking git for module: MMM-COVID19-SPARKLINE
[2020-07-18 18:22:05.374] [INFO] Checking git for module: MMM-Tools
[2020-07-18 18:22:05.413] [INFO] Checking git for module: mmm-hue-lights
[2020-07-18 18:22:05.519] [LOG] - MMM-Tado: Logged in
[2020-07-18 18:22:06.068] [INFO] Newsfeed-Fetcher: Broadcasting 28 items.
[2020-07-18 18:22:06.193] [INFO] Newsfeed-Fetcher: Broadcasting 10 items.
[2020-07-18 18:22:06.303] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 18:22:06.305] [LOG] - MMM-Tado: Not all data present
[2020-07-18 18:22:07.917] [INFO] Calendar-Fetcher: Broadcasting 8 events.
[2020-07-18 18:22:07.924] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 18:22:07.926] [LOG] - MMM-Tado: Not all data present
[2020-07-18 18:22:08.117] [LOG] [COVID:CORE] Access to data source.
[2020-07-18 18:22:08.516] [LOG] - MMM-Tado: Got me()
[2020-07-18 18:22:08.518] [LOG] - MMM-Tado: Got homes()
[2020-07-18 18:22:08.756] [LOG] [COVID:CORE] Resolving: csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv
[2020-07-18 18:22:09.204] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 18:22:09.213] [LOG] - MMM-Tado: Not all data present
[2020-07-18 18:22:09.384] [LOG] - MMM-Tado: Got zones()
[2020-07-18 18:22:09.429] [LOG] [COVID:CORE] Resolving: csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv
[2020-07-18 18:22:09.876] [LOG] [COVID:CORE] Resolving: csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv
[2020-07-18 18:22:09.932] [LOG] can’t find property recovered Canada:
[2020-07-18 18:22:09.933] [LOG] adding…
[2020-07-18 18:22:10.185] [LOG] [COVID:CORE] Calculating Wordlwide total.
[2020-07-18 18:22:10.398] [LOG] [COVID:CORE] Scan Completed.
[2020-07-18 18:22:11.152] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 18:22:11.157] [LOG] - MMM-Tado: Not all data present
[2020-07-18 18:22:11.654] [INFO] Calendar-Fetcher: Broadcasting 1 events.
[2020-07-18 18:22:12.193] [LOG] - MMM-Tado: Checking if all data is present
[2020-07-18 18:22:12.194] [LOG] - MMM-TADO: All data is present
[2020-07-18 18:22:37.119] [LOG] Shutting down server…
[2020-07-18 18:22:37.157] [LOG] Stopping module helper: updatenotification
[2020-07-18 18:22:37.159] [LOG] Stopping module helper: calendar
[2020-07-18 18:22:37.161] [LOG] Stopping module helper: MMM-Tado
[2020-07-18 18:22:37.169] [LOG] Stopping module helper: MMM-DarkSkyForecast
[2020-07-18 18:22:37.171] [LOG] Stopping module helper: newsfeed
[2020-07-18 18:22:37.174] [LOG] Stopping module helper: MMM-COVID19-SPARKLINE
[2020-07-18 18:22:37.178] [LOG] Stopping module helper: MMM-Tools
[2020-07-18 18:22:37.180] [LOG] Stopping module helper: mmm-hue-lights
/proc/self/exe: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /proc/self/exe)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

