Wifi IP Camera moving detection > snapshot

Moderator: leecollings

Post Reply
CaptainSlow
Posts: 60
Joined: Thursday 08 December 2016 21:07
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Bussum
Contact:

Wifi IP Camera moving detection > snapshot

Post by CaptainSlow »

L & G's

I'm looking for a wifi IP camera which takes a snapshot when insight so to speak. Any advise which model / brand is a goodone?

thx in advance

willem
____________________________________________________________________
Raspberry PI 3 Model B with USB stick, Domoticz Stable, OTGW LAN with ESP wifi-bridge and Isense Thermostat using the Outside Temp from Buienradar via Domoticz, Milight Ibox-2(V6)
SweetPants

Re: Wifi IP Camera moving detection > snapshot

Post by SweetPants »

I use a Foscam FI9831P, works great also with Domoticz
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by ben53252642 »

I've had two Foscam FI9831P's running for a couple of years, they work great, also just got 4 of the new Foscam R2's they work equally well with Domoticz.

If you want good reliable and not too expensive for Domoticz = Foscam.
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
CaptainSlow
Posts: 60
Joined: Thursday 08 December 2016 21:07
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Bussum
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by CaptainSlow »

Found the Foscam R4. 2K video and 4K pictures. Hope it's supported bij Domoticz but I reckon this is pretty straight forward.

https://www.ipcameracenter.nl/product/7 ... oCzivw_wcB

willem
____________________________________________________________________
Raspberry PI 3 Model B with USB stick, Domoticz Stable, OTGW LAN with ESP wifi-bridge and Isense Thermostat using the Outside Temp from Buienradar via Domoticz, Milight Ibox-2(V6)
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by ben53252642 »

Yep it will work, use this URL in Domoticz to set it up (obviously setting the right IP address, username and password.

Change the port in the Foscam settings to from port 88 to port 80.

Code: Select all

http://192.168.0.62/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=USERNAME&pwd=PASSWORD
Screen Shot 2017-02-01 at 9.56.35 pm.png
Screen Shot 2017-02-01 at 9.56.35 pm.png (172.12 KiB) Viewed 4782 times
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
CaptainSlow
Posts: 60
Joined: Thursday 08 December 2016 21:07
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Bussum
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by CaptainSlow »

+1 :D
____________________________________________________________________
Raspberry PI 3 Model B with USB stick, Domoticz Stable, OTGW LAN with ESP wifi-bridge and Isense Thermostat using the Outside Temp from Buienradar via Domoticz, Milight Ibox-2(V6)
lost
Posts: 660
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by lost »

CaptainSlow wrote:Found the Foscam R4. 2K video and 4K pictures. Hope it's supported bij Domoticz but I reckon this is pretty straight forward.
Take care that getting the snapshots resulting from movement detection in domoticz may not be so easy, as this looks to be what you want. Even if the cam provides a snapshot URL, this is not linked with camera movement detection. You may expect to get such images using an external PIR that detects movement in camera's sight, triggering the snapshot URL on the on/off actions of the switch attached to the PIR for instance, but with added delays & capturing only one image per detection you'll get very low probability to get a good image with your burglar face!

On my side, my IP cam is configured to capture all movement & send files to a FTP on the PI hosting domoticz. So I get all the images the cam is able to get, with quite good expectations to get a few good ones (centered, subject looking in the right direction for identification).

This is interfaced with Domoticz by a python service checking for new images on the FTP server every 10s. If so, it triggers a virtual movement switch in domoticz that can be used by it's alarm logic. It also send a compressed & passwd protected file with all the captured images immediately to a dedicated gmail account.
CaptainSlow
Posts: 60
Joined: Thursday 08 December 2016 21:07
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Bussum
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by CaptainSlow »

Bit of a late reply....THX for good info. Hadn't thought about the timing thing and the delay of processing the movement request to domoticz and then sending the on action result for the snapshot to be taken by the camera. There must be a simpler way to achieve this.
Can the firmware of such camera's be tweaked is way?...i read somewhere you can update the firmware so why not modding it a bit.

w.
____________________________________________________________________
Raspberry PI 3 Model B with USB stick, Domoticz Stable, OTGW LAN with ESP wifi-bridge and Isense Thermostat using the Outside Temp from Buienradar via Domoticz, Milight Ibox-2(V6)
lost
Posts: 660
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by lost »

CaptainSlow wrote:There must be a simpler way to achieve this.
Can the firmware of such camera's be tweaked is way?...
I don't think this would be a simpler way. Lot's of IP cams firmwares are free software based and "contaminated" with GPL so manufacturers have to provide their source code. But usually it's just a files tree on a FTP somewhere, without the build/install environment etc... Lots of work to just be able to rebuild an unmodified image + risk to brick the device if it hangs with no access to the integrated FW update feature: There is only one version, no backup! An error and if you don't have the right external program tool (+ access to the right pins, as usually there is no connector: Factory uses circuit board plots connected by in-situ test bed) & skills to use it, that's over!

So you'll have to select your device according to your needs & probably have to make some glue with Domoticz. That's much less hassle than trying to rebuild/program an embedded FW!

Also take care to select a device that allows zone selection for movement detection. Outside, any device that does not provide this feature is almost unusable (you must avoid all zones with trees&green moving in the wind, or subject to heavy luminosity variations, that'll trigger even at the lowest sentivity).
lost
Posts: 660
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by lost »

gordonb3 wrote:you can create additional snapshots that Domoticz will email to you instantly.
Could have done this... But Domoticz does not allow some way to encrypt emailed images!
Probably I'm a bit paranoid, but I don't want to send unencrypted images of my home to an external mail provider.

And sending the images out quickly is also mandatory: A burglar may take the PI/camera storage etc...

So some DIY was necessary.
jannl
Posts: 673
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by jannl »

Just create a perl/python/bash script, not that hard to send an encrypted picture quickly.

When someone presses my doorbell and nobody is at home, a snapshot is send to my e-mail address.
lost
Posts: 660
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by lost »

jannl wrote:Just create a perl/python/bash script, not that hard to send an encrypted picture quickly.
I already did some scripting to send images resulting from movement detections (that goes on a PI FTP), in an archive with passwd, by 10s time slices.

It also interfaces with the Domoticz Lua alarm scripts when out (with an alarm weight function of captured images nb: A cat or bird just pass, no alarm ; someone messing around my door/windows more than 10s, alarm)... and speech synthesis saying "movement at XXX location" when at home for outside camera.
jannl
Posts: 673
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by jannl »

Sounds nice.
GeorgeKizhavana
Posts: 1
Joined: Monday 12 June 2017 7:46
Target OS: OS X
Domoticz version:
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by GeorgeKizhavana »

Wireless IP Cameras are configured with wireless antena which can be easily used if the router is 10 meters around.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests