Page 2 of 2

Re: Plaatje van netcam mailen

Posted: Sat Dec 31, 2011 2:21 pm
by DJF3
I rewrote my Webcam script making it easier to use and requiring only 1 script in Homeseer.

http://www.domoticaworld.com
( See announcement post or click 'Scripts / Webcams')

To grab a webcam image I run the script with the following parameters

Code: Select all

DJ_WebCam_03.vb("Main","W4|http://user:password@10.1.1.1/img/snapshot.cgi|CameraBackdoor|html\Camera\|no")
SendEmail attaching file "C:\Program Files\Homeseer 2\html\Camera\CameraBackdoor.jpg"
1. The first line grabs the camera image and stores it as 'CameraBackdoor.jpg'
2. The second line emails that particular picture

So what you do need is the URL that grabs the camera picture.

Re: Plaatje van netcam mailen

Posted: Mon Jan 02, 2012 12:41 pm
by Edwin2008
nice!
Bit off-topic but is there also a way to collect the previous & next say 10 seconds timeframe around a event trigger?
Searching for a particular frame when triggering the alarm is a crime for me :)

Re: Plaatje van netcam mailen

Posted: Fri May 18, 2012 10:32 pm
by Noel
Sorry to bump this post.
I'm using DJF3's vb script!

It's kind of working, but for some reason the "CameraBackdoor.jpg" image in "C:\Program Files\Homeseer HS2\html\Camera\" does not get updated!
When I delete the image by hand, a new CameraBackdoor.jpg does get generated!

Anyone here who might know what could cause this problem?

Re: Plaatje van netcam mailen

Posted: Fri May 18, 2012 11:21 pm
by nico_gh2
Noel,

Maybe the image is created as read-only and not overwritten later?

Re: Plaatje van netcam mailen

Posted: Fri May 18, 2012 11:56 pm
by Noel
Hi nico,

No.. The image is not set to read-only.

Re: Plaatje van netcam mailen

Posted: Sat May 19, 2012 9:44 pm
by Noel
Don't know what I've done, but it's working now :-)
Maybe the reboot did it.....