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

New PIR sensor problem

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 5 Posters 1.1k Views 5 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.
  • F Offline
    Freddy_boy
    last edited by Mar 6, 2022, 8:55 PM

    I just noticed that my PIR sensor (MMM-NewPIR from bugsounet) stopped working and I got a notification that this module has reached end-of-life. I have been using this module for quite awhile now, and have been happy with the performance. It was simple and reliable. I decided to install the older EXT-Screen module from bugsounet.

    Everything appears to install ok, but now I cannot get my PIR sensor to work. I normally see the countdown timer begin at 2 minutes and it will countdown. Any detected movement will reset the clock to 2 minutes again. Here is my old configuration:

    // {
    // module: ‘MMM-NewPIR’,
    // position: ‘bottom_left’,
    // configDeepMerge: true,
    // config: {
    // screen: {
    // delay: 2 * 60 * 1000,
    // mode: 4,
    // text: “Auto Turn Off”,
    // displayLastPresence: false
    // },
    // pir: {
    // gpio: 21
    // },
    // }
    // },

    and here is the new configuration:

    {
    module: ‘EXT-Screen’,
    position: ‘bottom_left’,
    configDeepMerge: true,
    config: {
    screen: {
    delay: 2 * 60 * 1000,
    mode: 4,
    displayStyle: “Text”,
    displayLastPresence: false,
    gpio: 21
    },
    }
    },

    The parameters are pretty much identical, so I cannot determine why the sensor is not being recognized. My PIR sensor is wired with an LED, so that whenever it senses movement, the LED will light up. That works still.

    However, when I observe the countdown timer, it does not reset to the 2 minute countdown now. It just simply counts down from 2 minutes and turns off the monitor. So, it is acting as if the sensor is not even present (but I have not changed any wiring, and the LED is still working on it). I know that there may be a suggestion to move the sensor GPIO pin, but I don’t understand why that would make a difference, if it has been working properly for months on GPIO 21.

    Please let me know if you have any ideas. Thanks.

    M 1 Reply Last reply Mar 6, 2022, 9:13 PM Reply Quote 0
    • F Offline
      Freddy_boy @MZ-BER
      last edited by Mar 6, 2022, 10:54 PM

      @mz-ber
      Yes, that did it! I didn’t install the EXT-Pir module. Fixed. Thanks very much!

      M 1 Reply Last reply Jul 31, 2022, 1:55 AM Reply Quote 0
      • M Offline
        MZ-BER @Freddy_boy
        last edited by Mar 6, 2022, 9:13 PM

        @freddy_boy you missed to install the second extension. I had the same problem.

        F 1 Reply Last reply Mar 6, 2022, 10:54 PM Reply Quote 0
        • F Offline
          Freddy_boy @MZ-BER
          last edited by Mar 6, 2022, 10:54 PM

          @mz-ber
          Yes, that did it! I didn’t install the EXT-Pir module. Fixed. Thanks very much!

          M 1 Reply Last reply Jul 31, 2022, 1:55 AM Reply Quote 0
          • M Offline
            MMKF @Freddy_boy
            last edited by Jul 31, 2022, 1:55 AM

            @Freddy_boy Would you mind sharing your config.js? I am trying to figure this out also and using a PIR for the first time. Did you have to install mmm-google assistant first?

            S 1 Reply Last reply Jul 31, 2022, 3:44 AM Reply Quote 0
            • S Offline
              sdetweil @MMKF
              last edited by Jul 31, 2022, 3:44 AM

              @MMKF EXT-… require GA…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply Jul 31, 2022, 4:51 PM Reply Quote 0
              • B Offline
                bugsounet Banned @sdetweil
                last edited by Jul 31, 2022, 4:51 PM

                @sdetweil it can be used with or without GA

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