Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Auto-refresh Website Index Page Without Using Meta Refresh

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

Moderators: daj, TNETWeather

Nevizio
Posts: 36
Joined: Wed Feb 10, 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: Cerratina frazione di Pianella (PE) Abruzzo-Italy

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

Postby Nevizio » Thu Jun 14, 2018 9:11 pm

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 Jan 25, 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

Postby Synewave » Thu Jun 14, 2018 9:22 pm

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.

dazza1223
Posts: 366
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3
Location: worthing
Contact:

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

Postby dazza1223 » Thu Jun 14, 2018 9:27 pm

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

Nevizio
Posts: 36
Joined: Wed Feb 10, 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: Cerratina frazione di Pianella (PE) Abruzzo-Italy

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

Postby Nevizio » Thu Jun 14, 2018 10:27 pm

Thank a lot Dazza ;) You are very kind, :clap: ;)
Which script should you insert <head> </ head> or <body> </ body> etc?

dazza1223
Posts: 366
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3
Location: worthing
Contact:

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

Postby dazza1223 » Thu Jun 14, 2018 10:30 pm

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

viewtopic.php?f=19&t=2910

Nevizio
Posts: 36
Joined: Wed Feb 10, 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: Cerratina frazione di Pianella (PE) Abruzzo-Italy

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

Postby Nevizio » Thu Jun 14, 2018 10:40 pm

too complicated :D
what would the script then be?
I dont' understand :cry:
Last edited by Nevizio on Thu Jun 14, 2018 10:46 pm, edited 1 time in total.

dazza1223
Posts: 366
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3
Location: worthing
Contact:

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

Postby dazza1223 » Thu Jun 14, 2018 10:45 pm

just put it be for the body

dazza1223
Posts: 366
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3
Location: worthing
Contact:

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

Postby dazza1223 » Thu Jun 14, 2018 10:46 pm

send me your webcam html

Nevizio
Posts: 36
Joined: Wed Feb 10, 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: Cerratina frazione di Pianella (PE) Abruzzo-Italy

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

Postby Nevizio » Thu Jun 14, 2018 10:47 pm


dazza1223
Posts: 366
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3
Location: worthing
Contact:

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

Postby dazza1223 » Thu Jun 14, 2018 10:49 pm

is it a ip cam?

Nevizio
Posts: 36
Joined: Wed Feb 10, 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: Cerratina frazione di Pianella (PE) Abruzzo-Italy

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

Postby Nevizio » Thu Jun 14, 2018 10:51 pm

dazza1223 wrote:is it a ip cam?

No, It's a simple surveillance camera ;)
Last edited by Nevizio on Thu Jun 14, 2018 10:53 pm, edited 2 times in total.

dazza1223
Posts: 366
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3
Location: worthing
Contact:

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

Postby dazza1223 » Thu Jun 14, 2018 10:52 pm

what one is it ?

Nevizio
Posts: 36
Joined: Wed Feb 10, 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: Cerratina frazione di Pianella (PE) Abruzzo-Italy

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

Postby Nevizio » Thu Jun 14, 2018 10:59 pm

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

dazza1223
Posts: 366
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3
Location: worthing
Contact:

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

Postby dazza1223 » Thu Jun 14, 2018 11:00 pm

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

dazza1223
Posts: 366
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: Davis Vantage Vue
Operating System: raspberry pi 3
Location: worthing
Contact:

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

Postby dazza1223 » Thu Jun 14, 2018 11:02 pm

ok mate night


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 3 guests