Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Webcam .... Advice and Recommendations

Hardware/software/hints and tips/discussion/webcam links etc
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Webcam .... Advice and Recommendations

Post by geoffw »

hills wrote:Hey Geoff, the webcam looks great. I just had a look at 2:35am your time and it looks as if there's some light coming from over the horizon. Is that the morning sun or is there a township or city over there?
Just noticed your comment, Phil.....The camera is pointed south and there is the county town of Haverfordwest about six miles away, but I suspect the glow you saw was the milking shed for a nearby farm. The cloud base was very low and there was mist in the air.

Thanks for the link tip!
Geoff
Image
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Webcam .... Advice and Recommendations

Post by geoffw »

Gina wrote:Yes, I have the polariser screwed into an appropriate sized hole in the end of the box - now mounted outside. The sun's come out now after a dreary overcast day and lighting the trees and grass nicely. .
The filter has certainly improved the sky........

Any chance of some photos of the camera enclosure?
Geoff
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Webcam .... Advice and Recommendations

Post by gemini06720 »

Gina...
Gina wrote:...and reduced the capture period to 2 mins. Increased compression too, so the image files will be smaller. I'm saving the files locally and been playing them back as a slide show. 5 mins between shots seemed too long.
My WebCam has been in operation for about 2 years now.

I have been using ImageSalsa (shareware) to retrieve one image every minute from the camera - the picture retrieval starts 30 minutes before sunrise and stops 30 minutes after sunset.

Those captured images are saved locally on the hard drive of the computer running ImageSalsa. The image is also watermarked with the updated weather data and the uploaded every minutes to my Internet server, again, by ImageSalsa.

Once a day, MovieSalsa (shareware) takes all those pictures (the number of saved daily pictures varies from 500 during the winter months to more than 900 during the summer months) and produces 2 types of movies, one Flash (swf) movie and one DivX movie. Once the movies are produced, they are uploaded to my Internet server.

I keep 8 movies on my Internet server, 7 Flash movies of the past 7 days (yesterday and the 6 previous days) and 1 DivX movie of the past day (yesterday).

The Flash movies are the largest in size, averaging 30M (each) in size whereas the DivX movies averages less than 15M in size - same number of pictures, same movie, same resolution, just better compression under DivX.

So, where was I going with all that... :roll: ...If you can afford the hard drive space, I recommend one image every minutes to create 'smoother' and interesting image motion.
Gina
Posts: 1885
Joined: Sat 21 Feb 2009 12:41 pm
Weather Station: Nothing working ATM - making one
Operating System: OS X, Linux Mint, Win7 & XP
Location: Devon UK

Re: Webcam .... Advice and Recommendations

Post by Gina »

geoffw wrote:Any chance of some photos of the camera enclosure?
I meant to take some photos as I was doing it but completely forgot :( Here are some I've just taken with it mounted on a temporary bracket on the outside of the lounge window. I might take it down tomorrow and take some photos of the box and contents. Bit of camera shake I'm afraid - I was standing on steps.
IMG_0634.JPG
IMG_0635.JPG
Some protection from rain is provided by the overhang of the roof.
IMG_0637.JPG
You do not have the required permissions to view the files attached to this post.
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Webcam .... Advice and Recommendations

Post by geoffw »

No need to dismantle it for me Gina. Thanks for the photos, a tidy little enclosure.

I see it is under the eaves of your bungalow (is it a Woolaway Bungalow?). You might want to consider a lens hood or a canopy shade when you put it out in the open. that filter might catch the sun.
Geoff
Image
Gina
Posts: 1885
Joined: Sat 21 Feb 2009 12:41 pm
Weather Station: Nothing working ATM - making one
Operating System: OS X, Linux Mint, Win7 & XP
Location: Devon UK

Re: Webcam .... Advice and Recommendations

Post by Gina »

geoffw wrote:No need to dismantle it for me Gina. Thanks for the photos, a tidy little enclosure.

I see it is under the eaves of your bungalow (is it a Woolaway Bungalow?). You might want to consider a lens hood or a canopy shade when you put it out in the open. that filter might catch the sun.
Yes, it is a Woolaway Bungalow. I will be keeping the camera in approximately the same location, under the eaves, but with a better bracket - what I'm using is very thin and the camera will move in a strong wind. So I shall be taking it down sometime and will then have an opportunity to take more photos.

I bought the enclosure for another purpose, for which it turned out a bit too small. It came from Maplins, here's the info :-
ABS Box MB1, code LH20W, http://www.maplin.co.uk/module.aspx?moduleno=1676
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Webcam .... Advice and Recommendations

Post by geoffw »

Ours is a Woolaway as well!
Geoff
Image
Gina
Posts: 1885
Joined: Sat 21 Feb 2009 12:41 pm
Weather Station: Nothing working ATM - making one
Operating System: OS X, Linux Mint, Win7 & XP
Location: Devon UK

Re: Webcam .... Advice and Recommendations

Post by Gina »

Yes, I remember you saying so :)
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.
Gina
Posts: 1885
Joined: Sat 21 Feb 2009 12:41 pm
Weather Station: Nothing working ATM - making one
Operating System: OS X, Linux Mint, Win7 & XP
Location: Devon UK

Re: Webcam .... Advice and Recommendations

Post by Gina »

hills wrote:Yawcam has the feature where it will automatically put a saved picture up when the scheduler is turned off. You could just make that a saved image taken during the day. I had some problems when I had that set up, but I'm not sure what that problem was now. I think it kept saying no camera was selected the next morning. I haven't used it since.
I now have the results of my test run. All seems well. I set up the scheduler for both FTP and file to operate from 0400 to 2200 and for FTP to use the default Offline image. I watched the FTP change from webcam to offline image at 2200 and it was working with the live webcam image this morning (I didn't get up to check exactly when it came back on :lol:). I have now checked the saved images on the local PC and they stopped at 2200 and resumed at 0400 this morning as scheduled. Next thing is to make up a personalised offline image.
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Webcam .... Advice and Recommendations

Post by beteljuice »

The only problem is if YAWCAM or your PC or your 'line' goes kaput !

A simple PHP solution is:

Code: Select all

<?php

// Time to wait before showing the offline image in seconds
$offtime=300; // 300 = 5min
// path/name of off-line image
$offline = "NOCAM02.jpg";
// path/name of latest webcam image
$cam = "cam_1.jpg"


// We don't want cached results
clearstatcache();
// Get the time that the uploaded image is on the server
error_reporting(0);
$calctime=date("U") - filemtime($cam); // NB. server using UTC timestamps
// If the uploaded image exists and its new enough

if (file_exists($cam) and $calctime<=$offtime){
    readfile($cam);

// Else send the off-line image
} else {

    readfile($offline);
}
?>
This is used in your html / javascript page instead of the image file.
So if the code above was named mycam.php, then the (simplified) html 'call' would be:

Code: Select all

<html>
....
<body>
....
<img src="mycam.php" ..... ... .. />
....
</body>
</html>
Last edited by beteljuice on Sat 22 May 2010 12:39 am, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !
Gina
Posts: 1885
Joined: Sat 21 Feb 2009 12:41 pm
Weather Station: Nothing working ATM - making one
Operating System: OS X, Linux Mint, Win7 & XP
Location: Devon UK

Re: Webcam .... Advice and Recommendations

Post by Gina »

Thank you for that :)
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.
Gina
Posts: 1885
Joined: Sat 21 Feb 2009 12:41 pm
Weather Station: Nothing working ATM - making one
Operating System: OS X, Linux Mint, Win7 & XP
Location: Devon UK

Re: Webcam .... Advice and Recommendations

Post by Gina »

I've remounted my webcam using a more substantial bracket. While I had the box open I took some photos.
IMG_0653.JPG
IMG_0654.JPG
IMG_0658.JPG
IMG_0662.JPG
You do not have the required permissions to view the files attached to this post.
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.
Post Reply