Page 1 of 1
Snapshot IP camera
Posted: Wed Jan 12, 2011 5:32 pm
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
Re: Snapshot
Posted: Wed Jan 12, 2011 11:29 pm
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
Re: Snapshot
Posted: Wed Feb 16, 2011 6:28 pm
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?
Re: Snapshot
Posted: Wed Feb 16, 2011 11:49 pm
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