MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-PIR-Sensor module not working after module update

    Troubleshooting
    3
    32
    1458
    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
      JoeFranz last edited by

      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 Reply Quote 0
      • S
        sdetweil @JoeFranz last edited by sdetweil

        @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

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • J
          JoeFranz last edited by

          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 Reply Quote 0
          • S
            sdetweil @JoeFranz last edited by sdetweil

            @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

            Create a working config
            How to add modules

            S 1 Reply Last reply Reply Quote 0
            • S
              sdetweil @sdetweil last edited by sdetweil

              @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

              Create a working config
              How to add modules

              J 1 Reply Last reply Reply Quote 0
              • J
                JoeFranz last edited by

                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 Reply Quote 0
                • S
                  sdetweil @JoeFranz last edited by

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

                  please post the messages I requested

                  Sam

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • J
                    JoeFranz @sdetweil last edited by

                    @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 Reply Quote 0
                    • S
                      sdetweil @JoeFranz last edited by

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

                      Sam

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • J
                        JoeFranz last edited by

                        cd ~/MagicMirror
                        npm start

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 1 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy