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 4019) - 03 April 2024

Legacy Cumulus 1 release 1.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

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
ConligWX
Posts: 1619
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: webcam

Post by ConligWX »

PS, to keep your 1920x1080 image the correct aspect ratio then I would suggest 1000x563

http://www.calculator.net/ratio-calcula ... &x=70&y=15
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: webcam

Post by dazza1223 »

ok i got it back but it still not auto refreshing mate
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
vaggos
Posts: 160
Joined: Sat 06 Feb 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: webcam

Post by vaggos »

dazza1223 wrote:ok i got it back but it still not auto refreshing mate
Check first the dimensions of your upload image, and how often its uploading. As i can see, the image http://www.davisworthing.co.uk/images/webcam.jpg has problems. So the script "look" the image with problems.
For me anyway is updating:
http://www.meteoacharnes.gr/webcam.htm
Again the script (Modified it)

Code: Select all

<p align="center">
                <IMG name="webcam" width="928" height="500" alt="Please wait the image will appear soon"
	            src="webcam.jpg" align="center"></a>
				<SCRIPT language="JavaScript" type="text/javascript">
				interval = 10000;
imgsrc = "http://www.davisworthing.co.uk/images/webcam.jpg"
function Refresh() {
tmp = new Date();
tmp = "?" + tmp.getTime();
document.images["webcam"].src = imgsrc + tmp;
setTimeout("Refresh()", interval);
}
Refresh();
                </SCRIPT></td>
Regards
Vaggelis
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: webcam

Post by dazza1223 »

i want to tank u so much it is working fine now

http://www.davisworthing.co.uk/webcam.html
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
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

Post by beteljuice »

Thanks Vaggos - it seems my tired old brain and eyes can no longer see the wood for the trees :roll:
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
vaggos
Posts: 160
Joined: Sat 06 Feb 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: webcam

Post by vaggos »

beteljuice regards
dazza1223 what kind od cam is it? Webcam or IP? maybe your server is a little bit late or if you have webcam your program is lating when upload the image. If so, try to reduse the image size. And increase the time of catch the image. interval = 10000=10 sec.
Regards
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: webcam

Post by dazza1223 »

hi yh i have two raspberry pi 3 one is the web server and runs Cumulus mx on it and the other one is out side what runng the webcam and sending the photo to the web server vi network share and im not very good at coding so it a bite of mess if u have any good pont to make this run better can u let me know here are the files

Code: Select all

[attachment=0]cam.rar[/attachment]
You do not have the required permissions to view the files attached to this post.
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
vaggos
Posts: 160
Joined: Sat 06 Feb 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: webcam

Post by vaggos »

Sorry, i don't use raspberry and i can't help you. All my cams are IP so i don't need pc at all.
A long time ago, i used Tin Cam sometimes with results like yours. Since 3 years, i use to update the images php script.
Regards
Vaggelis
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: webcam

Post by dazza1223 »

ok know worrys
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
ConligWX
Posts: 1619
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: webcam

Post by ConligWX »

dazza1223 wrote:

Code: Select all

[attachment=0]cam.rar[/attachment]
had a look at your file, why are you listing the "-draw" parameter twice for each value? one white one black?
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: webcam

Post by dazza1223 »

becoz if i just do one line off -draw it dont overlay to the image mate but i was reading some where u can just ad it all to a txt file
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Post Reply