roberttidey

Results 322 comments of roberttidey

As /tmp is RAM based it is using up the real CPU memory of the Raspberry which can be much more limiting than the SD card memory. I have not...

There are two aspects here; sensing events from the PIR, and triggering activity in RCWI. RCWI can be fully controlled by sending commands into its control pipe (FIFO) at /var/www/html/FIFO...

Attaching a PIR to a GPIO will do nothing without a program or script to detect its signal and do something with it. The program or script can be in...

You don't really need to change anything in the RCWI set up as it listens to and obeys any instructions coming into FIFO or FIFO1 all the time. You do...

I think you might need to use fifo = open("/var/www/html/FIFO1", "w") instead of fifo = open("/var/www/html/FIFO1", "a") The "a" means it is trying to append whereas the "w" just means...

That is because you have the send command stuff inside a loop while the PIR signal is active. You need to arrange it so it only sends once when the...

Something like this for the text version which should only print the message once per motion trigger `import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) PIR_PIN = 14 GPIO.setup(PIR_PIN, GPIO.IN)...

Have you tried the version with the inner loop waiting for the PIR to go low?

You need to get indenting right in python. If this gives errors then tell me what they are ``` import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) PIR_PIN = 14...

I made the script just printing out the text. Once that works then replace the print with the lines to send the fifo commannd