If you have multiple camera attached Raspberry Pis running RPi Cam Web Interface, I've just figured out that you can offload motion detection to a Windows machine using iSpy Connect!
I've been trying to figure out a way to link iSpy with Raspberry Pis for ages because it does a really good job of managing multiple camera sources and analysing them for motion, including sending email/text alerts, recording streams, offloading video to remote storage, linking separate audio feeds to a video (potential audio solution for the RPi Cam Web Interface), and loads more!
The program is Open Source as you can use most of the features on your internal network, but if you need external access such as sending motion alerts to a mobile then a subscription is available for online services.
I first started using iSpy back when it was in beta before the developer started to make a living from it by creating the subscription service, and I had various laptops with USB webcams hooked up around the house, but I haven't had a subscription for a couple of years now because that setup wasn't wife friendly, and to be honest it's quite expensive at $7.95 a month. However just using the non-subscription features should be doable as things like remote viewing of the stream can be done using IP Cam Viewer Pro for example.
Anyway, thanks to a post from Oke, I realised that iSpy can use the continually updated cam.jpg file in ramdisk as the video stream. With my Pi's on wifi (not all that close to the router), I get around 5fps which is plenty for motion detection - I'm sure it would be much higher on ethernet which I'll test later.
Enough waffling, here is how to make it work:
1. Download and install iSpy from
http://www.ispyconnect.com/ on a Windows machine.
2. On the Pi, install RPi Cam Web Interface (
http://www.raspberrypi.org/phpBB3/viewt ... 43&t=63276) and set the camera to start automatically (no need for motion detection)
3. Enter the following line of code on the Pi (it can be typed anywhere)
Code: Select all
ln -s /run/shm/mjpeg/cam.jpg /var/www/cam.jpg
4. Launch iSpy and click the
Add button
5. Choose
IP Camera from the drop-down list
6. Select the
JPEG URL tab
7. In the
JPEG URL box, enter the following along with your Pi's IP:
Code: Select all
http://<your_pi_ip>:<port>/cam.jpg
e.g.
8. If you have configured a user/pass as described in this post (
http://www.raspberrypi.org/phpBB3/viewt ... 60#p500460), enter them in the relevant user/pass fields.
9. Press Ok.
10. There are now more options and tabs to configure motion detection and alerts, so you're best going to the iSpy Help pages to see what to use.
You should now see your camera on the iSpy interface!
Have fun!