• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-PIR-Sensor module not working after module update

Scheduled Pinned Locked Moved Troubleshooting
32 Posts 3 Posters 8.1k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    JoeFranz
    last edited by Jul 18, 2020, 1:11 PM

    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.

    S 1 Reply Last reply Jul 18, 2020, 1:21 PM Reply Quote 0
    • S Offline
      sdetweil @JoeFranz
      last edited by Jul 18, 2020, 1:21 PM

      @JoeFranz so, mm goes black screen, u call it continues. but it’s broken

      please post the messages I requested

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • J Offline
        JoeFranz @sdetweil
        last edited by Jul 18, 2020, 1:31 PM

        @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 … :-(

        S 1 Reply Last reply Jul 18, 2020, 1:34 PM Reply Quote 0
        • S Offline
          sdetweil @JoeFranz
          last edited by Jul 18, 2020, 1:34 PM

          @JoeFranz how do u start mm?
          using pm2 at boot, or some command u enter

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • J Offline
            JoeFranz
            last edited by Jul 18, 2020, 1:52 PM

            cd ~/MagicMirror
            npm start

            S 1 Reply Last reply Jul 18, 2020, 1:54 PM Reply Quote 0
            • S Offline
              sdetweil @JoeFranz
              last edited by Jul 18, 2020, 1:54 PM

              @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 file

              npm start > somefile

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • J Offline
                JoeFranz
                last edited by JoeFranz Jul 18, 2020, 2:14 PM Jul 18, 2020, 2:11 PM

                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

                S 1 Reply Last reply Jul 18, 2020, 2:37 PM Reply Quote 0
                • S Offline
                  sdetweil @JoeFranz
                  last edited by Jul 18, 2020, 2:37 PM

                  @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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Jul 18, 2020, 3:18 PM Reply Quote 0
                  • J Offline
                    JoeFranz
                    last edited by Jul 18, 2020, 3:15 PM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      JoeFranz @sdetweil
                      last edited by Jul 18, 2020, 3:18 PM

                      @sdetweil Test2.jpg Test1.jpg

                      S M 2 Replies Last reply Jul 18, 2020, 3:52 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        10/32
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy