My twitter timelapse script works on a pi4 with night vision camera now.
I've hooked up an IR sensor to get it to fire off on movement, so I can leave it out overnight and see wildlife tweets the next morning.
The script works fine in terms of firing via the sensor, but the camera part errors as
picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources
I'm on buster lite still to allow picamera to work as bullseye's Picamera2 is being worked on still.
raspistill works & picamera works outside of the sensor script as I tested it Fri night.
Anyone encountered this or similar and know a fix?
Edit: I created a video using the other script, the new script tweets it fine.
Edit2: after a break I went back to look at raspistill as capture mode, this works fine, -tl allows timelapse sequence frequency & duration to be defined too. Not sure why I'd never used this over picamera originally.
Q:
My twitter timelapse script works on a pi4 with night vision camera now.
I've hooked up an IR sensor to get it to fire off on movement, so I can leave it out overnight and see wildlife tweets the next morning.
The script works fine in terms of firing via the sensor, but the camera part errors as
I'm on buster lite still to allow picamera to work as bullseye's Picamera2 is being worked on still.
raspistill works & picamera works outside of the sensor script as I tested it Fri night.
Anyone encountered this or similar and know a fix?
Edit: I created a video using the other script, the new script tweets it fine.
Edit2: after a break I went back to look at raspistill as capture mode, this works fine, -tl allows timelapse sequence frequency & duration to be defined too. Not sure why I'd never used this over picamera originally.
Edit3: pic of the hardware.
1 Attachment