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

Auto-refresh Website Index Page Without Using Meta Refresh

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

Moderator: daj

Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Post by Nevizio »

it seems that it is not possible the autorefresh of the image of the web cam? I have not found any topic in the forum that talks about this :?:
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Post by Synewave »

The realtime reader script was not designed to refresh a webcam image. It was purely designed to automatically refresh the webtags provided by the Cumulus software. You will need to research other methods to refresh a webcam image, and if you don’t find anything on this forum that someone has already done, you may need to research elsewhere.
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: Auto-refresh Website Index Page Without Using Meta Refresh

Post by dazza1223 »

you can try this

<IMG name="webcam" width="1300" height="695" alt="Please wait the image will appear soon"
src="webcam.jpg" align="center"></a>
<SCRIPT language="JavaScript" type="text/javascript">
interval = 2000;
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>


it work on mine ok it dose the job
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Post by Nevizio »

Thank a lot Dazza ;) You are very kind, :clap: ;)
Which script should you insert <head> </ head> or <body> </ body> etc?
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: Auto-refresh Website Index Page Without Using Meta Refresh

Post by dazza1223 »

here mine take what ever u want out off the code


http://www.davisworthing.co.uk/webcam.html

it not updateing at the mo as need new ip cam :D :lol:


and there is more info here

https://cumulus.hosiene.co.uk/viewtopic.php?f=19&t=2910
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Post by Nevizio »

too complicated :D
what would the script then be?
I dont' understand :cry:
Last edited by Nevizio on Thu 14 Jun 2018 10:46 pm, edited 1 time in total.
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: Auto-refresh Website Index Page Without Using Meta Refresh

Post by dazza1223 »

just put it be for the body
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

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: Auto-refresh Website Index Page Without Using Meta Refresh

Post by dazza1223 »

send me your webcam html
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Post by Nevizio »

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: Auto-refresh Website Index Page Without Using Meta Refresh

Post by dazza1223 »

is it a ip cam?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Post by Nevizio »

dazza1223 wrote:is it a ip cam?
No, It's a simple surveillance camera ;)
Last edited by Nevizio on Thu 14 Jun 2018 10:53 pm, edited 2 times in total.
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: Auto-refresh Website Index Page Without Using Meta Refresh

Post by dazza1223 »

what one is it ?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Post by Nevizio »

ok tomorrow light 'here on the forum your solution, thank you for the moment here in Italy is 1 night, and I'm a bit' sleep :D
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: Auto-refresh Website Index Page Without Using Meta Refresh

Post by dazza1223 »

and ur image0.jpg do thay keep the same number or dose it go like this image1.jpg image2.jpg etc
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

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: Auto-refresh Website Index Page Without Using Meta Refresh

Post by dazza1223 »

ok mate night
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Post Reply