Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.28.5 (build 3282) - 23 February 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 »

dazza1223 wrote:i use <span class="ajax" id="LastRainTipISO"></span>


but what script you use to up date your tags?


link to your website be good!
Hi,I use this script below:

<script src="jquery.js" type="text/javascript"></script>
<script src="realtimereader.js" type="text/javascript"></script>

this script updates everything automatically except for the date and time of the last rain and the time of the maximum daily temperature
I can not understand why :roll:
how could I solve the problem? :oops:
User avatar
dazza1223
Posts: 851
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 send me the realtimereader.js and ur reltime.txt and i will have a look later
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 »

Here are the 2 files
You do not have the required permissions to view the files attached to this post.
User avatar
dazza1223
Posts: 851
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 i take a look later when im at home what your website?
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 thanks for the interest, I look forward :(
User avatar
dazza1223
Posts: 851
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 »

p:s i need the link to your website as i need to re do you reiltime.txt and i need to see what you got?
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 »

I think I have solved, the TtempTH tag has been modified badly by the author of the script in fact inserting <span id = "Ttemp TH"> </ span> nothing appears in the section, instead inserting <span id "tTempTH"> </ span> the script updates automatically, it was a syntax error from the author in fact in the file realtimereader.js the tag is modified as I wrote.
Instead for the time and date of the last rain on the file realtimereader.js does not appear on this tag, I think we should try to change this file what do you think? :?:
Another question:-I would like the image of the web cam to update itself automatically there is a script that performs this function?
User avatar
dazza1223
Posts: 851
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 »

well done... but im using cumulus.xml it more better layed out and i use it on my site as well i do use realtimereader.js but it ony for some over things but the main one i use is cumulus.xml .... and let sort this one out fist then i will try and help u wth the cam but if u do use this cumulus.xml you will have to replace the tags


and if you not geting the tag to work check if thay are in the realtime.txt

but i keek asking for the website you working on as then i can see more in to it



and i cant see the <#LastRainTipISO> in realtimereader.js or in the reiltime.txt
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 »

in fact I would like to insert the tag <#LastRainTipISO> in realtime.txt and then create the change in the file realtimereader.js, but I do not know how to do it :oops: to automatically update the web cam I will work in the future for now on my site to update it just update the page
User avatar
dazza1223
Posts: 851
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 i do it later to night ok but i will have to make a other reailtime.txt file as cumulus re right the file
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,thanks a lot :clap:
User avatar
dazza1223
Posts: 851
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 »

Can u send me your index page and I will mod that

As well
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
dazza1223
Posts: 851
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 »

it all done and ive zip the new files up for you
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 thank you,send me the zip file (private message) ;)
User avatar
dazza1223
Posts: 851
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 »

:D
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Post Reply