pageauc / pi-timolo

Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
MIT License
549 stars 101 forks source link

Shows an error in terminal #3

Closed josehb closed 9 years ago

josehb commented 9 years ago

Hi Claude... First of all, I want to thank you for development this program, it is helping me a lot. I was working with this program but suddenly it stopped working. I wish that you could help me with this error, i don't know what happens. 2015-01-17-224447_657x476_scrot

pageauc commented 9 years ago

Hi This looks like a firmware issue. Make sure you have the latest pi - timolo on github version 2.23 Do the firmware update per readme file. That should fix the problem.

Let me know if this resolves your problem. Claude

josehb commented 9 years ago

I just made the whole installation process again, but I get the same error. Even when I try to display the camera pi in python shell I get another error when I import the library "picamera". Do you know if there is any way to fix this? 2015-01-18-004206_657x506_scrot 2015-01-18-004323_667x573_scrot

pageauc commented 9 years ago

pi-timolo assumes a working pi camera module. It is possible a library module install failed and did not complete due to communications or some other problem. Here are basic steps to trouble shoot http://www.raspberrypi.org/learning/python-picamera-setup

Stop before the step CAMERA PROGRAMMING: CAPTURE WHEN ACTIVATED

If the above does not work can you do the following for me.

What output do you get when you manually install python-picamera library. It should say you already have the latest version. if there is a problem with python-picamera install then it may be due to a failed install. sometimes this can happen. Anyway let me know and we can walk through additional steps to fix an incomplete install.

sudo apt-get install python-picamera

did you do a firmware update?

sudo rpi-update

Is there enough room on the SD card

df -h

Does the camera work with raspistill and can you view the image?

raspistill -o test.jpg

It would appear the problem is with picamera module seeing a hardware or incomplete software problem.

On Sat, Jan 17, 2015 at 11:52 PM, josehb notifications@github.com wrote:

I just made the whole installation process again, but I get the same error. Even when I try to display the camera pi in python shell I get another error when I import the library "picamera". Do you know if there is any way to fix this? [image: 2015-01-18-004206_657x506_scrot] https://cloud.githubusercontent.com/assets/10580203/5791558/36544a7c-9eac-11e4-854e-80f44ae2659e.png [image: 2015-01-18-004323_667x573_scrot] https://cloud.githubusercontent.com/assets/10580203/5791557/36540792-9eac-11e4-88ce-3576c85fa30e.png

— Reply to this email directly or view it on GitHub https://github.com/pageauc/pi-timolo/issues/3#issuecomment-70397584.

See my YouTube Channel at http://www.youtube.com/user/pageaucp

pageauc commented 9 years ago

Read you post again and saw that the camera was working OK with pi-timolo and failed later on. This means the original install was successful but it is a good idea to do the trouble shooting steps. Might be a hardware problem (camera, SD card etc). If so then some of the troubleshooting steps will point you in the right direction. Also try a hard boot of the RPI. sudo halt then unplug and re plug USB power connector.

On Sun, Jan 18, 2015 at 8:18 AM, Claude Pageau pageauc@gmail.com wrote:

pi-timolo assumes a working pi camera module. It is possible a library module install failed and did not complete due to communications or some other problem. Here are basic steps to trouble shoot http://www.raspberrypi.org/learning/python-picamera-setup

Stop before the step CAMERA PROGRAMMING: CAPTURE WHEN ACTIVATED

If the above does not work can you do the following for me.

What output do you get when you manually install python-picamera library. It should say you already have the latest version. if there is a problem with python-picamera install then it may be due to a failed install. sometimes this can happen. Anyway let me know and we can walk through additional steps to fix an incomplete install.

sudo apt-get install python-picamera

did you do a firmware update?

sudo rpi-update

Is there enough room on the SD card

df -h

Does the camera work with raspistill and can you view the image?

raspistill -o test.jpg

It would appear the problem is with picamera module seeing a hardware or incomplete software problem.

On Sat, Jan 17, 2015 at 11:52 PM, josehb notifications@github.com wrote:

I just made the whole installation process again, but I get the same error. Even when I try to display the camera pi in python shell I get another error when I import the library "picamera". Do you know if there is any way to fix this? [image: 2015-01-18-004206_657x506_scrot] https://cloud.githubusercontent.com/assets/10580203/5791558/36544a7c-9eac-11e4-854e-80f44ae2659e.png [image: 2015-01-18-004323_667x573_scrot] https://cloud.githubusercontent.com/assets/10580203/5791557/36540792-9eac-11e4-88ce-3576c85fa30e.png

— Reply to this email directly or view it on GitHub https://github.com/pageauc/pi-timolo/issues/3#issuecomment-70397584.

See my YouTube Channel at http://www.youtube.com/user/pageaucp

See my YouTube Channel at http://www.youtube.com/user/pageaucp

josehb commented 9 years ago

I did the steps until "CAMERA PROGRAMMING: CAPTURE WHEN ACTIVATED", but when i put "raspistill -o image.jpg" on terminal it shows me: "mmal: Received unexpected camera control callback event, 0x4f525245" and stops here. I have been looking for a solution for this error, but this looks like a camera module problem, or even that the ribbon which connects the raspberry with the module has been damaged. Tomorrow, i will borrow another camera module and try to make it run. I thank you for the time that you take to help me. i will write you to tell you if it solved.

pageauc commented 9 years ago

If you have not already tried it, try re seating the camera ribbon cable into the RPI as well as at the camera end. There are youtube videos and instructions on how to do this. I have been pretty rough sometimes with my camera modules and found they are very durable. The ribbon cable connections would be the first thing I would try.

On Sun, Jan 18, 2015 at 2:34 PM, josehb notifications@github.com wrote:

I did the steps until "CAMERA PROGRAMMING: CAPTURE WHEN ACTIVATED", but when i put "raspistill -o image.jpg" on terminal it shows me: "mmal: Received unexpected camera control callback event, 0x4f525245" and stops here. I have been looking for a solution for this error, but this looks like a camera module problem, or even that the ribbon which connects the raspberry with the module has been damaged. Tomorrow, i will borrow another camera module and try to make it run. I thank you for the time that you take to help me. i will write you to tell you if it solved.

— Reply to this email directly or view it on GitHub https://github.com/pageauc/pi-timolo/issues/3#issuecomment-70424562.

See my YouTube Channel at http://www.youtube.com/user/pageaucp

josehb commented 9 years ago

I have been plugging and unplugging the ribbon and the usb connector, too. But nothing changes. When i put raspistill in terminal window, it shows me the same error and the led in camera module turns on. In raspberry forums, some people says that they bought another camera because that problems always occurs and there is no solution yet. Do you know how i can test if the module still works?

2015-01-18-150239_657x386_scrot 20150118_160433

pageauc commented 9 years ago

Looks like a 3rd party camera module. Try contacting the vendor if you can. They may have diagnostic tool or warranty policy On Jan 18, 2015 3:20 PM, "josehb" notifications@github.com wrote:

I have been plugging and unplugging the ribbon and the usb connector, too. But nothing changes. When i put raspistill in terminal window, it shows me the same error and the led in camera module turns on. In raspberry forums, some people says that they bought another camera because that problems always occurs and there is no solution yet. Do you know how i can test if the module still works?

[image: 2015-01-18-150239_657x386_scrot] https://cloud.githubusercontent.com/assets/10580203/5794117/cf880888-9f2d-11e4-9b57-d1b963598a6a.png [image: 20150118_160433] https://cloud.githubusercontent.com/assets/10580203/5794118/cfaacec2-9f2d-11e4-9ad7-16c62f43e86e.jpg

— Reply to this email directly or view it on GitHub https://github.com/pageauc/pi-timolo/issues/3#issuecomment-70426533.

josehb commented 9 years ago

Is there any way to make the pi-timolo code run with a USB web cam?

pageauc commented 9 years ago

I did have code based on opencv but not to the level of pi - timolo. The picamera python module I believe only supports the pi camera not usb. The pi camera module is only $25 USD at Newark element14 On Jan 18, 2015 4:50 PM, "josehb" notifications@github.com wrote:

Is there any way to make the pi-timolo code run with a USB web cam?

— Reply to this email directly or view it on GitHub https://github.com/pageauc/pi-timolo/issues/3#issuecomment-70430444.

watou commented 9 years ago

I have had serious performance and reliability issues with USB webcams on the Raspberry Pi, including the more modern USB standardised interface (as well as with the old, vendor-specific drivers). I think you would find it to be a problem. The quality and throughput of the pi camera is vastly superior to USB. There is USB interface code for DSLR cameras that work on the RPi, which I've used in a commercial photo booth, but they are also very slow in comparison.