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.7k 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.
    • S Offline
      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

      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

        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 Offline
          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

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            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

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              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 Offline
                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

                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

                  @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 Offline
                    sdetweil @JoeFranz
                    last edited by

                    @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

                      cd ~/MagicMirror
                      npm start

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

                        @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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 4 / 4
                        • First post
                          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