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
Snapshot IP camera
Moderator: Esteban
Re: Snapshot
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
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
&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?
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
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
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.
Reason: Quoting is not necessary when responding to the previous post.