Wifi IP Camera moving detection > snapshot

Post Reply
CaptainSlow
Posts: 80
Joined: Thursday 08 December 2016 22:07
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Bussum
Contact:

Wifi IP Camera moving detection > snapshot

Post by CaptainSlow » Wednesday 01 February 2017 12:23

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, Domoticz Beta, Open Therm Gateway with ESP wifi-bridge, Milight Ibox(V6), Wundermap

SweetPants
Posts: 2255
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10007
Location: The Netherlands
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by SweetPants » Wednesday 01 February 2017 12:27

I use a Foscam FI9831P, works great also with Domoticz
Ubuntu 16.04.3 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

ben53252642
Posts: 479
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by ben53252642 » Wednesday 01 February 2017 12:37

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.

CaptainSlow
Posts: 80
Joined: Thursday 08 December 2016 22:07
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Bussum
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by CaptainSlow » Wednesday 01 February 2017 12:54

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, Domoticz Beta, Open Therm Gateway with ESP wifi-bridge, Milight Ibox(V6), Wundermap

ben53252642
Posts: 479
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by ben53252642 » Wednesday 01 February 2017 12:57

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 3228 times

CaptainSlow
Posts: 80
Joined: Thursday 08 December 2016 22:07
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Bussum
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by CaptainSlow » Wednesday 01 February 2017 13:35

+1 :D
____________________________________________________________________
Raspberry PI 3, Domoticz Beta, Open Therm Gateway with ESP wifi-bridge, Milight Ibox(V6), Wundermap

lost
Posts: 191
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by lost » Wednesday 01 February 2017 14:02

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: 80
Joined: Thursday 08 December 2016 22:07
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Bussum
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by CaptainSlow » Tuesday 07 February 2017 17:37

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, Domoticz Beta, Open Therm Gateway with ESP wifi-bridge, Milight Ibox(V6), Wundermap

lost
Posts: 191
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by lost » Friday 10 February 2017 9:59

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: 191
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by lost » Friday 10 February 2017 10:06

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.

User avatar
jannl
Posts: 955
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Geleen
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by jannl » Friday 10 February 2017 10:21

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: 191
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by lost » Friday 10 February 2017 11:14

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.

User avatar
jannl
Posts: 955
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Geleen
Contact:

Re: Wifi IP Camera moving detection > snapshot

Post by jannl » Friday 10 February 2017 11:20

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 » Monday 12 June 2017 7:46

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 1 guest