I finally managed to operate my pir sensor but the problem is that when I am in front of the sensor it captures me for 1 second and and I get more for 5 seconds and so on
How can I fix this?
Thank you !
@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)
If someone can do this and if it is possible, can you make a module to display the next alarms of the Timely application?
The application shares alarm clocks with all phones with the same google account so why not with the mirror ? ^^
Thank you and have a good day.
Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.