Go to advanced search

by emphillips18
Sat Feb 22, 2020 4:03 am
Forum: Troubleshooting
Topic: BrightPi Schedule On/Off in Python?
Replies: 12
Views: 839

Re: BrightPi Schedule On/Off in Python?

bumping this because I never got it figured out. Currently working on it. New code below if anyone is interested in helping! # Import required Python libraries import RPi.GPIO as GPIO import time from gpiozero import MotionSensor from datetime import datetime from subprocess import call import picam...
by emphillips18
Thu Jun 13, 2019 11:31 pm
Forum: Troubleshooting
Topic: BrightPi Schedule On/Off in Python?
Replies: 12
Views: 839

Re: BrightPi Schedule On/Off in Python?

Hello again, Tried adding the code on a new board and the same thing happened again. I literally copy and pasted the code over and it started with this error message. 1.PNG When I run brightpi-test.py, it runs great. So I tried adding from brightpi.brightpilib import * into my code instead and then ...
by emphillips18
Wed Jun 05, 2019 11:33 pm
Forum: Troubleshooting
Topic: BrightPi Schedule On/Off in Python?
Replies: 12
Views: 839

Re: BrightPi Schedule On/Off in Python?

Hi all, Thanks for the input. I figured out the problem, being that I was not adding 'brightPi' to the begin some of the functions. Wanted to post an update of the code in case anyone else has a similar problem. # Import required Python libraries import RPi.GPIO as GPIO import time from gpiozero imp...
by emphillips18
Sun Jun 02, 2019 12:09 am
Forum: Troubleshooting
Topic: BrightPi Schedule On/Off in Python?
Replies: 12
Views: 839

Re: BrightPi Schedule On/Off in Python?

It was unable to install under pip3:
brightpierror.PNG
brightpierror.PNG (7.8 KiB) Viewed 763 times

And when I tried running it under python3, it gave me this syntax error:
1.PNG
1.PNG (6.26 KiB) Viewed 763 times
I changed all the spaces I had to indents, so I am not sure what the problem is for that one.
by emphillips18
Sat Jun 01, 2019 11:09 pm
Forum: Troubleshooting
Topic: BrightPi Schedule On/Off in Python?
Replies: 12
Views: 839

Re: BrightPi Schedule On/Off in Python?

No luck for either. New error:
brightpierror.PNG
brightpierror.PNG (11.02 KiB) Viewed 780 times
I have the folder "Bright-Pi" in my directory, and I installed it via the shell script, but nothing has changed. Tried running the brightpi.py in the folder as well, still giving the same error. Either the error here or the previous one.
by emphillips18
Sat Jun 01, 2019 9:45 pm
Forum: Troubleshooting
Topic: BrightPi Schedule On/Off in Python?
Replies: 12
Views: 839

Re: BrightPi Schedule On/Off in Python?

Woops.
brightpierror.PNG
brightpierror.PNG (10.85 KiB) Viewed 805 times
by emphillips18
Sat Jun 01, 2019 5:04 pm
Forum: Troubleshooting
Topic: BrightPi Schedule On/Off in Python?
Replies: 12
Views: 839

BrightPi Schedule On/Off in Python?

I am trying to use Bright Pi with a NOIR and PIR Pi camera system at night. It is battery-powered so it is important to preserve the battery, hence turning off the IR lights during the daytime. I am trying to add Bright Pi to my python code for the camera schedule, but I keep getting a name error. I...
by emphillips18
Wed Apr 03, 2019 7:34 pm
Forum: Camera board
Topic: PiCamera not sleeping
Replies: 2
Views: 390

Re: PiCamera not sleeping

@6by9 Thank you so much. I am not as quick of a learner in coding as I would like to be.
by emphillips18
Tue Apr 02, 2019 8:11 pm
Forum: Camera board
Topic: PiCamera not sleeping
Replies: 2
Views: 390

PiCamera not sleeping

Having problems with my code and the motion detection constantly triggering. It also does not record for the set time every single time. Random between 5 and 30 seconds. Suggestions? import RPi.GPIO as GPIO import time from gpio zero import MotionSensor import logging from datetime import datetime f...
by emphillips18
Thu Mar 28, 2019 8:05 pm
Forum: Camera board
Topic: PiCamera increase FPS?
Replies: 5
Views: 6002

Re: PiCamera increase FPS?

That worked, thank you. Any ideas why after the first motion and recording is completed, it automatically beings capturing again even with no motion?

Edit: Turns out it was dust, happens intermittently. Thanks again.
by emphillips18
Wed Mar 27, 2019 6:38 pm
Forum: Camera board
Topic: PiCamera increase FPS?
Replies: 5
Views: 6002

Re: PiCamera increase FPS?

@6by6 Hi and thank you. Is that for raspivid or for picamera? I have tried a code for raspivid but through my poor understanding of python (noob) it is not working properly. I am missing something that actually activates the camera after motion is detected--which I guess is also not working. import ...
by emphillips18
Tue Mar 26, 2019 11:50 pm
Forum: Camera board
Topic: PiCamera increase FPS?
Replies: 5
Views: 6002

PiCamera increase FPS?

Hi all, I am trying to use a pi zero using picamera as a trail camera. I have the code, but anytime I try to change the framerate, it always comes out as 25fps. I need the frame rate to be at least 60 (used for flying birds), but I can't seem to work this out. Is it possible to get the frame rate to...
by emphillips18
Wed Feb 06, 2019 3:04 am
Forum: Camera board
Topic: RPi Web Interface stop motion and delay after
Replies: 0
Views: 211

RPi Web Interface stop motion and delay after

I have tried looking through the "RPi Cam Web Interface" but may not be using the right words. Is there a way to set 10 minutes or so of no recording between motion detected events using silvanmelchior's Web Interface? I am trying to use time lapse and/or video for a project, but we want to maximize...
by emphillips18
Wed Jan 23, 2019 4:09 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5244
Views: 1584928

Re: RPi Cam Web Interface

I have tried looking through this thread but may not be using the right words. Is there a way to set 10 minutes or so of no recording between motion detected events? We are trying to use time lapse and video for a project, but we want to maximize storage space and only need the beginning of the even...
by emphillips18
Wed Jan 23, 2019 1:51 am
Forum: Troubleshooting
Topic: Can't figure out what program is starting my PiCam every bootup or how to stop it
Replies: 7
Views: 619

Re: Can't figure out what program is starting my PiCam every bootup or how to stop it

Thanks for the replies. I just ended up reinstalling the software on the board because I had not done much else with the board prior. If this happens again I'll be sure to reference this.
by emphillips18
Sat Jan 19, 2019 1:34 am
Forum: Troubleshooting
Topic: Can't figure out what program is starting my PiCam every bootup or how to stop it
Replies: 7
Views: 619

Can't figure out what program is starting my PiCam every bootup or how to stop it

Hello, I am a beginner to Raspberry Pi, Python and this type of coding in general. I am trying to learn how to program a RaspiCam for some trail camera-like work. I was messing around with raspistill, motion, and pikrellcam to see which worked for me. Pikrell was barely working in the web interface,...

Go to advanced search