• 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 6.8k 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, 8:25 AM

    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?

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

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

      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, 12:30 PM

        Three days ago there was an update for the module MMM-PIR sensor.
        https://github.com/paviro/MMM-PIR-Sensor

        Only the module is in the config.js, no further entries.
        {
        module: ‘MMM-PIR-Sensor’,
        config: {
        // See ‘Configuration options’ for more information.
        }
        }

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

          @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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Jul 18, 2020, 1:31 PM Reply Quote 0
            • 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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        1/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