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.

    Bugsounet and MMM-Pir

    Scheduled Pinned Locked Moved General Discussion
    68 Posts 10 Posters 23.7k Views 11 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 Do not disturb
      sdetweil @myfingersarecold
      last edited by

      @myfingersarecold add it to the 3rd party wiki

      see the link here
      you do the editing
      https://docs.magicmirror.builders/modules/introduction.html

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Reply Quote 1
      • M Offline
        myfingersarecold @sdetweil
        last edited by

        @sdetweil will do.

        1 Reply Last reply Reply Quote 0
        • M Offline
          myfingersarecold @myfingersarecold
          last edited by

          @sdetweil

          added to the 3rd party module wiki list under the other PIR modules. github page linked as well.

          https://github.com/ryanjblajda/MMM-SimplePIR

          1 Reply Last reply Reply Quote 1
          • S Do not disturb
            sdetweil @bitass
            last edited by sdetweil

            @bitass i didnt say disable the modules. i said disable the notifications

            from the updateNotifications module doc
            https://docs.magicmirror.builders/modules/updatenotification.html#configuration-options

            IMG_0683.png

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @bitass
              last edited by

              @bitass and he has blocked all his modules

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • M Offline
                MMaik100
                last edited by

                so now the EXT-YouTube wont work either?

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @MMaik100
                  last edited by

                  @MMaik100 yes, sadly all his modules will fail eventually, depending on how tight he coupled them

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    coernel
                    last edited by

                    I also just looked for the module as I wanted to contribute some troubleshooting guide and didn’t find it.

                    As I have installed the module, what do you think about re-publishing it so that it doesn’t get lost?
                    It is MIT-license so no problem about that!

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      coernel
                      last edited by

                      I have re-published it already: https://github.com/Coernel82/MMM-Pir

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @coernel
                        last edited by

                        @coernel please add it to the third party list

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          lif
                          last edited by

                          Hi,

                          Is this the correct place to ask questions about the module?

                          If so, is there any way to test that it is actually running?

                          I have installed the module for using a PIR module but nothing appears in the screen in the place I requested it.

                          Thanks

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @lif
                            last edited by

                            @lif have you verified that the PIR is working outside of MagicMirror??

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            L 1 Reply Last reply Reply Quote 0
                            • L Offline
                              lif @sdetweil
                              last edited by

                              @sdetweil said in Bugsounet and MMM-Pir:

                              @lif have you verified that the PIR is working outside of MagicMirror??

                              Yes,
                              21b66725-a2ad-4ae6-aa85-9b67316fa649-image.png

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @lif
                                last edited by

                                @lif and you are using the correct pin definition

                                    Pir: {
                                      mode: 0,
                                      gpio: 21
                                    },
                                

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                L 2 Replies Last reply Reply Quote 0
                                • L Offline
                                  lif @sdetweil
                                  last edited by

                                  @sdetweil said in Bugsounet and MMM-Pir:

                                  @lif and you are using the correct pin definition

                                      Pir: {
                                        mode: 0,
                                        gpio: 21
                                      },
                                  

                                  Yes, the working script is:
                                  from gpiozero import MotionSensor
                                  from datetime import datetime
                                  import os, time
                                  import RPi.GPIO as GPIO

                                  pir = MotionSensor(21)
                                  while True:

                                      pir.wait_for_motion()
                                      now = datetime.now()
                                      current_time = now.strftime("%H:%M:%S")
                                      print("Movement detected at", current_time)
                                      pir.wait_for_no_motion()
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @lif
                                    last edited by

                                    @lif I meant MMM-PIR config setup

                                    there are different numbering schemes for GPIO pins and different ways to access

                                    the doc (readme) describes the different choices.

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      lif @sdetweil
                                      last edited by

                                      @sdetweil said in Bugsounet and MMM-Pir:

                                      @lif and you are using the correct pin definition

                                          Pir: {
                                            mode: 0,
                                            gpio: 21
                                          },
                                      

                                      Yes, I think so, the pir is connected to pin 40 on the Raspberry pi 3b which I’m sure is GPIO 21

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @lif
                                        last edited by

                                        @lif and if you change to mode 1?? which matches your python lib test?

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        L 1 Reply Last reply Reply Quote 0
                                        • L Offline
                                          lif @sdetweil
                                          last edited by

                                          @sdetweil said in Bugsounet and MMM-Pir:

                                          @lif and if you change to mode 1?? which matches your python lib test?

                                          No difference.

                                          I have added a header: “PIR”, line before the config and that is not showing either.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @lif
                                            last edited by

                                            @lif are there any errors listed in the MM startup messages??

                                            if using pm2 to auto start

                                            pm2 logs --lines =xxx

                                            xxx is number of most recent lines to display, default 15,
                                            usually need 100 or more for full message list

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            L 1 Reply Last reply Reply Quote 0

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