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

Scheduled Pinned Locked Moved System
67 Posts 18 Posters 19.0k Views 20 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.
  • M Offline
    MajorC Project Sponsor @ChrisDub
    last edited by Feb 18, 2021, 8:13 AM

    @chrisdub https://lmgtfy.app/?q=raspberry+pi+activate+gpio :beaming_face_with_smiling_eyes:

    C 1 Reply Last reply Feb 18, 2021, 3:05 PM Reply Quote 0
    • C Offline
      ChrisDub @MajorC
      last edited by ChrisDub Feb 18, 2021, 3:05 PM Feb 18, 2021, 3:05 PM

      @majorc said in MMM-NewPIR v3:

      @chrisdub https://lmgtfy.app/?q=raspberry+pi+activate+gpio :beaming_face_with_smiling_eyes:

      Thank you for your fast answer, ´ve found some articles for activating the GPIOs.

      I´ve followed this tutorial for testing my PIR Sensor: https://www.einplatinencomputer.com/raspberry-pi-pir-bewegungsmelder-ansteuern/

      The author doesn´t mention, that activating the GPIOs is necessary. Now I´m a little bit confused.

      When I´m starting the script, I´m getting the following output. When I´m moving in front of the sensor, nothing happens.
      1a8064bb-a5ab-4934-a5b1-6b30531745fb-image.png

      Just in case it helps, a picture from my setup:
      Foto 18.02.21, 16 01 29.jpg

      1 Reply Last reply Reply Quote 0
      • J Offline
        jordes
        last edited by Aug 31, 2021, 4:25 PM

        can i add an exception module to not hide, while hiding all others?

        1 Reply Last reply Reply Quote 0
        • C Offline
          cowboysdude Module Developer
          last edited by Sep 11, 2021, 1:55 AM

          What is this module made for…RPI3 or RPI4?

          S 1 Reply Last reply Sep 11, 2021, 2:23 AM Reply Quote 1
          • S Offline
            sdetweil @cowboysdude
            last edited by Sep 11, 2021, 2:23 AM

            @cowboysdude I don’t understand the question?

            it supports all the different screen dimming approaches

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Sep 11, 2021, 2:43 AM Reply Quote 1
            • C Offline
              cowboysdude Module Developer @sdetweil
              last edited by Sep 11, 2021, 2:43 AM

              @sdetweil Thanks Sam.

              1 Reply Last reply Reply Quote 1
              • P Offline
                philmavedzenge
                last edited by Oct 6, 2021, 7:19 AM

                Hi guys,

                After updating my MagicMirror to the latest version, this modules does not work. I tried reinstalling but its giving an error that i do not understand. Could someone help please? I have attached the logs, not sure if they will help.

                at Module._compile (internal/modules/cjs/loader.js:778:30)
                

                npm WARN notsup Unsupported engine for electron-rebuild@3.2.3: wanted: {“node”:“>=12.13.0”} (current: {“node”:“10.24.0”,“npm”:“6.13.6”})
                npm WARN notsup Not compatible with your version of node/npm: electron-rebuild@3.2.3
                npm WARN notsup Unsupported engine for @malept/cross-spawn-promise@2.0.0: wanted: {“node”:“>= 12.13.0”} (current: {“node”:“10.24.0”,“npm”:“6.13.6”})
                npm WARN notsup Not compatible with your version of node/npm: @malept/cross-spawn-promise@2.0.0
                npm WARN notsup Unsupported engine for fs-extra@10.0.0: wanted: {“node”:“>=12”} (current: {“node”:“10.24.0”,“npm”:“6.13.6”})
                npm WARN notsup Not compatible with your version of node/npm: fs-extra@10.0.0
                npm WARN notsup Unsupported engine for yargs@17.2.1: wanted: {“node”:“>=12”} (current: {“node”:“10.24.0”,“npm”:“6.13.6”})
                npm WARN notsup Not compatible with your version of node/npm: yargs@17.2.1

                npm ERR! code ELIFECYCLE
                npm ERR! errno 1
                npm ERR! @bugsounet/pir@1.0.6 postinstall: electron-rebuild
                npm ERR! Exit status 1
                npm ERR!
                npm ERR! Failed at the @bugsounet/pir@1.0.6 postinstall script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  DJBOOB66
                  last edited by Oct 6, 2021, 7:59 AM

                  @philmavedzenge said in MMM-NewPIR v3:

                  npm WARN notsup Unsupported engine for yargs@17.2.1: wanted: {“node”:“>=12”} (current: {“node”:“10.24.0”,“npm”:“6.13.6”})

                  You need to update npm and node

                  P 1 Reply Last reply Oct 6, 2021, 2:52 PM Reply Quote 0
                  • P Offline
                    philmavedzenge @DJBOOB66
                    last edited by Oct 6, 2021, 2:52 PM

                    @djboob66 said in MMM-NewPIR v3:

                    @philmavedzenge said in MMM-NewPIR v3:

                    npm WARN notsup Unsupported engine for yargs@17.2.1: wanted: {“node”:“>=12”} (current: {“node”:“10.24.0”,“npm”:“6.13.6”})

                    You need to update npm and node

                    Thanks for the response. How do I do that? Which folder should I update it in?

                    F 1 Reply Last reply Oct 6, 2021, 5:10 PM Reply Quote 0
                    • F Offline
                      Fozi Project Sponsor @philmavedzenge
                      last edited by Fozi Oct 6, 2021, 5:14 PM Oct 6, 2021, 5:10 PM

                      @philmavedzenge in your home directory execute following two commands:

                      sudo npm  install -g n
                      sudo n latest
                      

                      This installs the latest node version

                      Edit: added sudo

                      HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 6 / 7
                      • 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