Snapshot IP camera

Forum All about Webcams, IP Camera's & Camera's (hardware, software, pan tilt zoom etc).

Moderator: Esteban

Post Reply
labtec
Member
Member
Posts: 243
Joined: Sun Oct 24, 2010 9:12 pm

Snapshot IP camera

Post by labtec »

Is it possible to make a snapshot with a IP cam when HS2 detects a security change, ie doorsensor or motion sensor. I have configured
my Y-cam in HS2 with the plugin Netcam and I can see the cam pictures.

How can I make an event that takes an snapshot when there is motion detected or when there is an alert from a doorsensor?

THX :)
Juande
Member
Member
Posts: 52
Joined: Fri Oct 26, 2007 1:14 am
Location: Spain

Re: Snapshot

Post by Juande »

You can do this by creating a device value change trigger in homeseer. Then you select the device that acts as a trigger and specify the value is set to alert.

Device RFXCOM Exterior Garage Door value becomes equal to Alert


As an action you can add 2 actions:

Action 1.
run script action and enter a line to take the snapshot, i.e.

Run script: &hs.GetURLImage "http://user:password@192.168.1.123","/axis-cgi/jpg/image.cgi?camera=3",false,80,"/html/images/CamAlerts/GarageDoorLast.jpg"

Action 2 (optional if you want to send the taken picture by email)

Send Email To: mailto@domain.com
Subj: ALERT: Garage Door is OPEN

(Specify to attach the picture taken in the previous action)

Hope it helps
JD
labtec
Member
Member
Posts: 243
Joined: Sun Oct 24, 2010 9:12 pm

Re: Snapshot

Post by labtec »

&hs.GetURLImage "http://user:password@192.168.1.123","/axis-cgi/jpg/image.cgi?camera=3",false,80,"/html/images/CamAlerts/GarageDoorLast.jpg"

Wich part of this line is Cam info (type of camera) en wich part is the location of storage the jpg? I use a Panasonic BL-C111 cam.

I asume the path /html/images/CamAlerts/ is a pad in the HS directory? dir CamAlerts is not excisting?
Juande
Member
Member
Posts: 52
Joined: Fri Oct 26, 2007 1:14 am
Location: Spain

Re: Snapshot

Post by Juande »

This is the url to access to your cam snapshot: http://user:password@192.168.1.123","/axis-cgi/jpg/image.cgi?camera=3

And this is where you save it /html/images/CamAlerts/GarageDoorLast.jpg

CamAlerts is a manually created directory to store images ans also to be able to access them from HS web server
Last edited by Esteban on Wed Feb 16, 2011 11:55 pm, edited 1 time in total.
Reason: Quoting is not necessary when responding to the previous post.
Post Reply

Return to “Webcams & Camera Stuff Forum”