Hello,
I would like to take a picture every hour of this webcam (http://infoclimat.org/alsavosges/webcam ... /photo.jpg).
Is it possible ?
When I add an IP camera, I get an error "Could not connect to the device!"
Taking pictures with url jpg
-
- Moderator
- Posts: 1210
- Joined: Wed Jan 14, 2009 3:50 am
Re: Taking pictures with url jpg
It's not possible using Yawcam.
The webcam link they posted is essentially just a picture that they update every so often.
You'd have to run a little script to do that.
Here's a short untested example in Powershell:
you may want to change the destination path as right now I set it to "C:\"
The webcam link they posted is essentially just a picture that they update every so often.
You'd have to run a little script to do that.
Here's a short untested example in Powershell:
Code: Select all
$Client = New-Object "System.Net.WebClient"
While ($True) {
$Target = "http://infoclimat.org/alsavosges/webcamgrandballon/photo.jpg"
$Destination = "C:\$(Get-Date -uFormat "%Y-%m-%d_%H.%M.%S").jpg"
$Client.DownloadFile($Target,$Destination)
Sleep (60*60) #60 seconds * 60 minutes = 1 hour
}
Re: Taking pictures with url jpg
It works.
Thank you
Thank you