Webcamscript 0.3

Forum over Homeseer scripts (DUTCH forum)

Moderators: TANE, Ruud

Verkenner
Member
Member
Posts: 338
Joined: Tue May 27, 2008 6:14 pm
Location: Netherlands

Re: Webcamscript 0.3e

Post by Verkenner »

The EVENT: DJ_WebCam_03.vb("Main","W1|http://user:pasword@192.168.178.14/ones ... n\Sony|yes")

Result in HS-log
15-5-2012 1:21:16 Event Event Trigger "camera"
15-5-2012 1:21:16 Event Running script in background: DJ_WebCam_03.vb("Main","W1|http://user:password@192.168.178.14/one ... n\Sony|yes")
15-5-2012 1:21:16 DJ_Webcam_0.3e URL: http://user:password@192.168.178.14/one ... ge.jpgFILE: Sony.jpgDIR: \html\Camerabeelden\SonyDATE:2012-05-15_01-21-16SERVER: http://user:password@192.168.178.14PATH: /oneshotimage.jpg
15-5-2012 1:21:16 DJ_Webcam_0.3e NAME+DATE:\html\Camerabeelden\Sony\Sony_2012-05-15_01-21-16.jpg
15-5-2012 1:21:16 DJ_Webcam_0.3e IMAGE URL: Camerabeelden/Sony/Sony_2012-05-15_01-21-16.jpg


Indeed in the URL something seems wrong with "/" and "\"

During the event no pictures are written to: C:\Program Files\HomeSeer HSPRO\html\Camerabeelden\Sony

The hyperlink of the picture in the HomeSeer homepage: http://192.168.178.79:90/Camerabeelden/ ... -21-16.jpg
But there is no picture in the HomeSeer-homepage.

Homeseer Logging after refresh HS-Homepage:
Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony_2012-05-15_01-21-16.jpg

Thanks for help
Best regards, Verkenner
Verkenner
Member
Member
Posts: 338
Joined: Tue May 27, 2008 6:14 pm
Location: Netherlands

Re: Webcamscript 0.3e

Post by Verkenner »

When running the event No picture is written in the directory.
In the directory C:\Program Files\HomeSeer HSPRO\html\Camerabeelden\Sony No picture is written.

Running the event makes the right url in HS-homepage.
But no picture appears in the HS-homepage (Because it it not in the directory). Debug = 0


The homeseer logfile:

22-5-2012 0:51:40 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony.jpg
22-5-2012 0:53:41 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony.jpg
22-5-2012 0:55:42 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony.jpg
22-5-2012 0:57:43 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony.jpg
22-5-2012 0:59:44 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony.jpg
22-5-2012 1:01:44 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony.jpg
22-5-2012 1:03:45 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony.jpg
22-5-2012 1:05:47 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony.jpg

22-5-2012 1:07:35 Event Event Trigger "camera"
22-5-2012 1:07:35 Event Running script in background: DJ_WebCam_03.vb("Main","W2|http://user:password@192.168.178.14/one ... n\Sony|yes")
22-5-2012 1:07:42 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony_2012-05-22_01-07-35.jpg
22-5-2012 1:07:49 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony_2012-05-22_01-07-35.jpg
22-5-2012 1:09:18 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony_2012-05-22_01-07-35.jpg
22-5-2012 1:11:53 Error Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HSPRO\html/Camerabeelden/Sony/Sony_2012-05-22_01-07-35.jpg
Best regards, Verkenner
Verkenner
Member
Member
Posts: 338
Joined: Tue May 27, 2008 6:14 pm
Location: Netherlands

Re: Webcamscript 0.3

Post by Verkenner »

The Homeseer homepage.

The event does not write the picture in the Directory and NOT in the HS-homepage.
Directory: C:\Program Files\HomeSeer HSPRO\html\Camerabeelden\Sony

Thanks for help.
Attachments
Homeseer homepage
Homeseer homepage
SonyCam.JPG (53.48 KiB) Viewed 8285 times
Best regards, Verkenner
Verkenner
Member
Member
Posts: 338
Joined: Tue May 27, 2008 6:14 pm
Location: Netherlands

YES ! WORKS !!

Post by Verkenner »

Yes, the webcamscript_03.E works.

After many hours of debugging, testing and engineering I reinstalled the original version of DJ's webcamscript_03e.
Now it works with 3 different IP-camera's (Sony, Foscam and Aviosys) on Homeseer Pro and WIN7.

("Main","W1|http://user:password@145.44.44.44:89/on ... n\Sony|yes") (extern IP adres)

("Main","W2|http://192.168.178.10/snapshot.cgi?user ... Foscam|yes") (local IP-adres)

("Main","W3|http://192.168.178.22/snapshot.jpg?name ... viocam|yes")

DJ many thanks for the script and help.

Cheers
Attachments
HS-homepage
HS-homepage
cam.jpg (48.62 KiB) Viewed 8278 times
Best regards, Verkenner
Verkenner
Member
Member
Posts: 338
Joined: Tue May 27, 2008 6:14 pm
Location: Netherlands

Webcamscript and D-link Ip-Cam

Post by Verkenner »

The webcamscript works fantastic in HomeSeer!

Thanks DJ !!

The command for the D-Link DCS-932L IP-camera is:
(“Main”,”W7|http://user:password@192.168.178.20:80/ ... \DLink|yes”)
Best regards, Verkenner
DJF3
Advanced Member
Advanced Member
Posts: 895
Joined: Thu Jul 12, 2007 9:28 am
Contact:

Re: Webcamscript 0.3

Post by DJF3 »

Thank you for sharing that URL!
kenthaug
Starting Member
Starting Member
Posts: 1
Joined: Tue Feb 04, 2014 1:58 pm

Re: Webcamscript 0.3

Post by kenthaug »

Hi

I am using the “version 0.3e” of the webcam script, but I cannot get it to work.
The Log is giving me “In TriggerRunScript:Value cannot be null” error.

My script parameter is “(“Main”,”W1|http://10.1.1.60:99/snapshot.cgi?user=u ... \Camera|no“)”

Any idea?
Post Reply

Return to “Homeseer Scripts Forum”