Page 16 of 22

Re: Surveillance camera based on BuildRoot and Motion

Posted: Fri Mar 13, 2015 10:21 am
by bobbydriver
The generic browser on my Android phone works OK apart from the download buttons. If I try and download the pictures to my phone, it just does nothing. Same with the timelapse video, it goes through generates to 100% then goes straight back to the main screen. Is that normal?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Fri Mar 13, 2015 12:42 pm
by ccrisan
I don't know about the generic browser, but I know of a bug regarding the timelapse function that behaves somewhat like you describe. I hoping to fix it this weekend (along with many other small issues) and prepare a stable release.
bobbydriver wrote:The generic browser on my Android phone works OK apart from the download buttons. If I try and download the pictures to my phone, it just does nothing. Same with the timelapse video, it goes through generates to 100% then goes straight back to the main screen. Is that normal?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Fri Mar 13, 2015 1:23 pm
by bobbydriver
Thanks for the response. My wife has an iphone, I'll try it on her phone and see if it behaves differently

Re: Surveillance camera based on BuildRoot and Motion

Posted: Sun Mar 15, 2015 10:42 am
by bobbydriver
Having real problems now - it keeps hanging when trying to access the pictures, and then can't connect via web or ssh - meaning I have to unplug.

Now it seems to have got to the point where the web page loads, but choosing any options at all sends it into the hanging/unresponsive state. Do I need to reflash the SD card and start again? :?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Sun Mar 15, 2015 1:18 pm
by ccrisan
It sounds like some hardware failure. Check your network, power supply and sdcard. Inserting the SD card into a Linux machine and taking a look over the log files may get you an idea of what's actually happening.
bobbydriver wrote:Having real problems now - it keeps hanging when trying to access the pictures, and then can't connect via web or ssh - meaning I have to unplug.

Now it seems to have got to the point where the web page loads, but choosing any options at all sends it into the hanging/unresponsive state. Do I need to reflash the SD card and start again? :?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Mon Mar 16, 2015 1:36 pm
by georgedone
Great software.
Question:
For release of 03.15.2015 is there a difference between the image motionpie-20150315.img.gz and motionpie-raspberrypi-20150315.img.gz ?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Mon Mar 16, 2015 2:17 pm
by ccrisan
Nope, they the exact same file; the former is there for compatibility reasons and will eventually be left out of releases in the near future.
georgedone wrote:Great software.
Question:
For release of 03.15.2015 is there a difference between the image motionpie-20150315.img.gz and motionpie-raspberrypi-20150315.img.gz ?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Tue Mar 17, 2015 7:48 pm
by ccrisan
I have released the stable 20150317 version. There's nothing new or worth mentioning, relatively to 20150228, apart from a bunch of bug fixes and minor improvements.

As always, should anyone encounter any issue with this release, please just let me know. Don't forget there's an issue list that can be browsed or expanded with other issues.

Re: Surveillance camera based on BuildRoot and Motion

Posted: Wed Mar 18, 2015 5:04 am
by betocerda
Hi, is it an ETA to support WEP for the Wifi configuration?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Wed Mar 18, 2015 9:05 am
by ccrisan
WEP will never be supported.
betocerda wrote:Hi, is it an ETA to support WEP for the Wifi configuration?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Wed Mar 18, 2015 11:52 am
by Thaui
Software is impoving Version by Version. Thanks.
Has anybody some performance information with motionpie on a raspberry pi 2b ? Is the New pi able to run higher frame rates?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Tue Mar 24, 2015 5:44 pm
by Saffik
Hi ccrisan,

I'm running the latest version of MotionPi (20150317) and I have 3 x USB2.0 cameras attached to a raspberry pi 2 through a 7 PORT USB HUB. The cameras work smoothly with MotionPi and I've had them up for 7 days in a row with no problems and lags.

But...when I do a reboot of the system using the Reboot button, sometimes (30-40%) of the times... a camera will stop working and it will return "Unable to open video device since 2015-03-24 xx:xx:xx etc".

I then check under /dev
ls -l vid*

And this returns

crw-rw---- 1 root video 81, 0 Jan 1 1970 video0
crw-rw---- 1 root video 81, 1 Jan 1 1970 video1

......and the 3rd camera which will be 'video2' is gone. I don't know why this happens, but after unplugging it in and plugging it back into the same port doesn't work either.

Any ideas on this or how to avoid this happening?

Re: Surveillance camera based on BuildRoot and Motion

Posted: Wed Mar 25, 2015 8:05 am
by ccrisan
It might be the fact that sometimes the uvcvideo module does not get loaded automatically due to... some udev issue I suppose. The next version will have the uvcvideo module loaded at startup regardless of the detected cameras. I hope this will solve your problems. In the mean time, you can manually edit /etc/modules and append uvcvideo. Then try rebooting a few times and see if the problem persists. Keep me posted.
Saffik wrote:Hi ccrisan,

I'm running the latest version of MotionPi (20150317) and I have 3 x USB2.0 cameras attached to a raspberry pi 2 through a 7 PORT USB HUB. The cameras work smoothly with MotionPi and I've had them up for 7 days in a row with no problems and lags.

But...when I do a reboot of the system using the Reboot button, sometimes (30-40%) of the times... a camera will stop working and it will return "Unable to open video device since 2015-03-24 xx:xx:xx etc".

I then check under /dev
ls -l vid*

And this returns

crw-rw---- 1 root video 81, 0 Jan 1 1970 video0
crw-rw---- 1 root video 81, 1 Jan 1 1970 video1

......and the 3rd camera which will be 'video2' is gone. I don't know why this happens, but after unplugging it in and plugging it back into the same port doesn't work either.

Any ideas on this or how to avoid this happening?

Framerate - maximum number of pictures

Posted: Sun Mar 29, 2015 2:59 pm
by mcmanuf
Thank you for this magnificent pice of software.
I am unfortuneately stuck and need help.

I only want motion triggered captures, and no matter what I do, I cannot get more than one frame per second.
I have tried to increase framerate to "framerate 30" and have also added "webcam_maxrate 30" in the "thread-1.conf" file.

I am running a Rasperry Pi camera on a Rpi2, and fresh version of motionpie which I have just installed.
I have tried resolution 320x240 and higher resolutions as well.

In this thread on page 4, it seems that it should at least be possible to get 5 frames per second, when running in resolution 640x480, but I am not that lucky :(

Re: Framerate - maximum number of pictures

Posted: Sun Mar 29, 2015 3:10 pm
by ccrisan
If by "framerate" you refer to the number of pictures saved on your card, you will definitely not get more than 1 picture per second (due to the default naming convention and of course due to performance limitations). The framerate in the web UI however should be a lot better (5-10 fps with resolutions as low as 320x240 or 640x480).
mcmanuf wrote:Thank you for this magnificent pice of software.
I am unfortuneately stuck and need help.

I only want motion triggered captures, and no matter what I do, I cannot get more than one frame per second.
I have tried to increase framerate to "framerate 30" and have also added "webcam_maxrate 30" in the "thread-1.conf" file.

I am running a Rasperry Pi camera on a Rpi2, and fresh version of motionpie which I have just installed.
I have tried resolution 320x240 and higher resolutions as well.

In this thread on page 4, it seems that it should at least be possible to get 5 frames per second, when running in resolution 640x480, but I am not that lucky :(

Re: Surveillance camera based on BuildRoot and Motion

Posted: Sun Mar 29, 2015 3:32 pm
by mcmanuf
Thank you very much for the quick reply.

As I wanted to use it for home surveillance when im not home, I really wanted it to be able to take more than one picture a second in case if the burglar comes into the house, to be able to have more information on him/them.

Thank you

Re: Surveillance camera based on BuildRoot and Motion

Posted: Sun Mar 29, 2015 3:39 pm
by ccrisan
Then use motion movies. They go (approximately) at the capture framerate.
mcmanuf wrote:Thank you very much for the quick reply.

As I wanted to use it for home surveillance when im not home, I really wanted it to be able to take more than one picture a second in case if the burglar comes into the house, to be able to have more information on him/them.

Thank you

Re: Surveillance camera based on BuildRoot and Motion

Posted: Sun Mar 29, 2015 4:00 pm
by mcmanuf
That is off course a good idea, but then I would loose the opportunity to upload the pictures to dropbox as soon as they are taken, as that would require the theifs not to take the RPi with them.

That cannot be guaranteed unfortunately, unless it could somehow be implemented that the the recorded video would be streamed/saved directly to the cloud which i don't believe is possible :(

Re: Surveillance camera based on BuildRoot and Motion

Posted: Mon Mar 30, 2015 11:15 am
by Saffik
Use NAS (Network Share) option for storage to save all motion pictures or videos remotely stored away incase the burgler decide to steal the rpi too lol to remove evidence.
mcmanuf wrote:That is off course a good idea, but then I would loose the opportunity to upload the pictures to dropbox as soon as they are taken, as that would require the theifs not to take the RPi with them.

That cannot be guaranteed unfortunately, unless it could somehow be implemented that the the recorded video would be streamed/saved directly to the cloud which i don't believe is possible :(

Re: Surveillance camera based on BuildRoot and Motion

Posted: Mon Mar 30, 2015 1:49 pm
by JeromeV
Really need a save to nfs share feature !

Re: Surveillance camera based on BuildRoot and Motion

Posted: Mon Mar 30, 2015 4:25 pm
by mcmanuf
...

Re: Surveillance camera based on BuildRoot and Motion

Posted: Tue Mar 31, 2015 8:52 pm
by ccrisan
I just wanted to let you all know that 20150331 is out.

Re: Surveillance camera based on BuildRoot and Motion

Posted: Wed Apr 01, 2015 5:26 pm
by Thaui
Tried to do the update. Previous version is telling me the software is up to date. So no update possible!

Re: Surveillance camera based on BuildRoot and Motion

Posted: Wed Apr 01, 2015 5:38 pm
by ccrisan
Read the note below the changelog: https://github.com/ccrisan/motionPie/re ... g/20150331.
Thaui wrote:Tried to do the update. Previous version is telling me the software is up to date. So no update possible!

Re: Surveillance camera based on BuildRoot and Motion

Posted: Wed Apr 01, 2015 7:42 pm
by Thaui
Hi Calin, thanks for the reply. Have only seen the announcement in the board. Howerver with the information on Github it worked well. Took me a little while because I have not mentioned that SSH was off. A brief note at Github will help if you mention enable SSH server under Services. Thanks for the update.