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

Pir sensor

Scheduled Pinned Locked Moved Unsolved Troubleshooting
27 Posts 8 Posters 5.6k Views 10 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 Away
    sdetweil @tanvir586
    last edited by Oct 6, 2022, 7:14 PM

    @tanvir586 said in Pir sensor:

    and the .js is

    never edit the module js file

    all config goes in config.js

    I don’t know the module

    does the PIR work outside MM?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    T 1 Reply Last reply Oct 6, 2022, 7:30 PM Reply Quote 1
    • T Offline
      tanvir586 @sdetweil
      last edited by Oct 6, 2022, 7:30 PM

      @sdetweil it work like https://github.com/paviro/MMM-PIR-Sensor
      mmm-pir-sensor is not working anymore that’s why I wanted to use the light one. but this one is not working looks like

      S M 2 Replies Last reply Oct 6, 2022, 7:31 PM Reply Quote 0
      • S Away
        sdetweil @tanvir586
        last edited by sdetweil Oct 6, 2022, 7:32 PM Oct 6, 2022, 7:31 PM

        @tanvir586 no, my question was , if u test the PIR connection/setup outside of MM does it work

        using a python script?

        I undertstand how it is SUPPOSED to work , and have tested modules on one of my systems before, but don’t
        use PIR daily

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Oct 6, 2022, 9:03 PM Reply Quote 0
        • T Offline
          tanvir586 @sdetweil
          last edited by Oct 6, 2022, 9:03 PM

          @sdetweil Hi mate. Sorry I don’t know how to do that. I’m not a programming person. I’m copy past person actually 🤣

          S 1 Reply Last reply Oct 6, 2022, 9:18 PM Reply Quote 0
          • S Away
            sdetweil @tanvir586
            last edited by Oct 6, 2022, 9:18 PM

            @tanvir586 https://projects.raspberrypi.org/en/projects/parent-detector/3

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            T 1 Reply Last reply Oct 6, 2022, 9:46 PM Reply Quote 0
            • P Offline
              pugsly
              last edited by pugsly Oct 6, 2022, 9:32 PM Oct 6, 2022, 9:31 PM

              This is what I use to put my monitor to sleep using a PIR sensor. I have a 3D printed case for the sensor that hangs under the mirror itself. The sensor does not have anything to do with the magic mirror software at all, in fact it just puts the monitor to sleep when no one is in the area.

              https://github.com/cowboysdude/Pir-Sensor

              S T 2 Replies Last reply Oct 6, 2022, 9:41 PM Reply Quote 0
              • S Away
                sdetweil @pugsly
                last edited by Oct 6, 2022, 9:41 PM

                @pugsly right, just trying to help w the debug. lots of things can go wrong, so, it’s best to start at the beginning before getting MM involved.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tanvir586 @pugsly
                  last edited by Oct 6, 2022, 9:45 PM

                  @pugsly I’ll give it a try tomorrow. Thanks

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tanvir586 @sdetweil
                    last edited by Oct 6, 2022, 9:46 PM

                    @sdetweil thanks mate. Will check this in detail once I go home

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tanvir586
                      last edited by Oct 7, 2022, 9:09 PM

                      Thanks guys for your help. But I recovered my old sd card which had magicmirror 2.19 installed. Pir sensor work with that version. I’m back on truck.

                      S 1 Reply Last reply Oct 7, 2022, 11:36 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        8/27
                        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