@KirAsh4 Siri! Lower the force field!
Read the statement by Michael Teeuw here.
Posts
-
RE: Besides your MagicMirror, what are some Maker-projects you worked/working on?
-
RE: HMDI (from Pi 3) to DVI? Will it work?
I have a DVI right angle adapter with a DVI to HDMI Cable.
-
RE: Cheapest monitor?
If you are looking for bulk. I would suggesting phoning a few IT resellers to see if you can get some old OEM gear.
-
RE: PIR Senor Test
I thought the same for a long time using the because I didnt have a breadboard. I went with the PIR Setup on the raspberry pi website. Managed to use this code to see that it works. You will need gpiozero to run it. Open Python 3. File > New. Paste this code in.
from gpiozero import MotionSensor import os pir = MotionSensor(4) #4 is the Pin? while True: if pir.wait_for_motion(timeout=10*60): #10 * 60 Seconds os.system("/opt/vc/bin/tvservice -p") else: os.system("/opt/vc/bin/tvservice -o")
You can if you want edit
os.system("/opt/vc/bin/tvservice -p")
to
print("Motion Detected")
to test if your PIR Sensor is working ok. After changing it, save it and press Ctrl + F5 to run the code. It will then spam up with motion detect or undetected depending on what you’ve changed. -
RE: Cheapest monitor?
@deephouselounge I would suggest going to a local IT shop for the cheapest of cheap or look for second hand monitor online.
Make sure the ports suit your means though. -
RE: Phone Notifications
@ronny3050 Any ideas on how to clear notifcations once read?
-
RE: Mirror, mirror on the wall. Who has the biggest of them all?
Great blog. Very nice read. Unless there is a lottery win in my future I dont see there being anything bigger.
-
RE: MMM-PIR-Sensor - White Screen
I made an attempt at fixing it but I struggled to find many JavaScript/Node.js tutorials out there. I have however managed to compile a straight forward script in Python that I have set up to run with pm2. A workaround for those who are in high demand for the motion sensor to work and to give paviro some breathing space.
Sorry but I don’t know how to add this as code snippets. If a mod could help me out that that would be great.
Open Python 3. File > New. Paste this code in.
from gpiozero import MotionSensor import os pir = MotionSensor(4) #4 is the Pin? while True: if pir.wait_for_motion(timeout=10*60): #10 * 60 Seconds os.system("/opt/vc/bin/tvservice -p") else: os.system("/opt/vc/bin/tvservice -o")
You can if you want edit
os.system("/opt/vc/bin/tvservice -p")
to
print("Motion Detected")
to test if your PIR Sensor is working ok. After changing it, save it and press Ctrl + F5 to run the code. It will then spam up with motion detect or undetected depending on what you’ve changed.Moderator’s note: You can use backticks (`) to highlight code. Check out the help at http://commonmark.org/help/ - scroll down to see the various options for using backticks.