Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki 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

Moderator: daj

Nevizio
Posts: 36
Joined: Wed 10 Feb 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

Post by Nevizio » Thu 14 Jun 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 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 » Thu 14 Jun 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.

User avatar
dazza1223
Posts: 429
Joined: Sun 25 Jan 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

Post by dazza1223 » Thu 14 Jun 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
have fun and keep learning

dazza :D

Nevizio
Posts: 36
Joined: Wed 10 Feb 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

Post by Nevizio » Thu 14 Jun 2018 10:27 pm

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

User avatar
dazza1223
Posts: 429
Joined: Sun 25 Jan 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

Post by dazza1223 » Thu 14 Jun 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

http://sandaysoft.com/forum/viewtopic.php?f=19&t=2910
have fun and keep learning

dazza :D

Nevizio
Posts: 36
Joined: Wed 10 Feb 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

Post by Nevizio » Thu 14 Jun 2018 10:40 pm

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: 429
Joined: Sun 25 Jan 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

Post by dazza1223 » Thu 14 Jun 2018 10:45 pm

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

dazza :D

User avatar
dazza1223
Posts: 429
Joined: Sun 25 Jan 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

Post by dazza1223 » Thu 14 Jun 2018 10:46 pm

send me your webcam html
have fun and keep learning

dazza :D

Nevizio
Posts: 36
Joined: Wed 10 Feb 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

Post by Nevizio » Thu 14 Jun 2018 10:47 pm


User avatar
dazza1223
Posts: 429
Joined: Sun 25 Jan 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

Post by dazza1223 » Thu 14 Jun 2018 10:49 pm

is it a ip cam?
have fun and keep learning

dazza :D

Nevizio
Posts: 36
Joined: Wed 10 Feb 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

Post by Nevizio » Thu 14 Jun 2018 10:51 pm

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: 429
Joined: Sun 25 Jan 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

Post by dazza1223 » Thu 14 Jun 2018 10:52 pm

what one is it ?
have fun and keep learning

dazza :D

Nevizio
Posts: 36
Joined: Wed 10 Feb 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

Post by Nevizio » Thu 14 Jun 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

User avatar
dazza1223
Posts: 429
Joined: Sun 25 Jan 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

Post by dazza1223 » Thu 14 Jun 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
have fun and keep learning

dazza :D

User avatar
dazza1223
Posts: 429
Joined: Sun 25 Jan 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

Post by dazza1223 » Thu 14 Jun 2018 11:02 pm

ok mate night
have fun and keep learning

dazza :D

Post Reply