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

Wifi isolation for pir sensor

Scheduled Pinned Locked Moved Hardware
7 Posts 2 Posters 3.1k Views 2 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.
  • V Offline
    vicdilou
    last edited by Apr 14, 2017, 2:17 PM

    Hello

    I read that it was necessary to put a ferrite bead around the cables, I try but it doesn’t work. You know how to do it and where on the cable ?

    Thank you :)

    J 1 Reply Last reply Apr 14, 2017, 4:03 PM Reply Quote 0
    • J Offline
      johnnyboy @vicdilou
      last edited by Apr 14, 2017, 4:03 PM

      This post is deleted!
      V 1 Reply Last reply Apr 14, 2017, 4:46 PM Reply Quote 0
      • V Offline
        vicdilou @johnnyboy
        last edited by Apr 14, 2017, 4:46 PM

        @johnnyboy the sensor will be about sixty centimeters of raspberry

        J 1 Reply Last reply Apr 14, 2017, 6:17 PM Reply Quote 0
        • J Offline
          johnnyboy @vicdilou
          last edited by johnnyboy Apr 14, 2017, 6:29 PM Apr 14, 2017, 6:17 PM

          This post is deleted!
          V 1 Reply Last reply Apr 14, 2017, 9:02 PM Reply Quote 0
          • V Offline
            vicdilou @johnnyboy
            last edited by vicdilou Apr 14, 2017, 9:03 PM Apr 14, 2017, 9:02 PM

            @johnnyboy I used several cables

            I have to put all the cables in the ferrite bead ?

            J 1 Reply Last reply Apr 14, 2017, 9:08 PM Reply Quote 0
            • J Offline
              johnnyboy @vicdilou
              last edited by johnnyboy Apr 14, 2017, 9:10 PM Apr 14, 2017, 9:08 PM

              This post is deleted!
              V 1 Reply Last reply Apr 14, 2017, 10:37 PM Reply Quote 0
              • V Offline
                vicdilou @johnnyboy
                last edited by Apr 14, 2017, 10:37 PM

                @johnnyboy There is no break in connection I think, I use this to test the sensor and it says always “Motion detected”.

                from gpiozero import MotionSensor
                import time
                
                pir = MotionSensor(4)
                
                while True: #repeat this forever
                    if pir.motion_detected: # if motion is detected print the message
                        print("Motion detected!")
                    if not pir.motion_detected: # if no motion is detected print the message
                        print("No motion detected!")
                    time.sleep(1)
                
                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  4/7
                  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