Page 5 of 5

Re: 3.10.0 Changes.

Posted: Wed 03 Mar 2021 12:18 pm
by freddie
AntSeiderer wrote: Wed 03 Mar 2021 12:10 pm Thanks for all your help.

When I upload the 'webfiles' to my FTP server, do I upload them as a directory or as individual files to replace the old .htm files?
Remove all your old htm files and upload all contents of the webfiles (but not the directory itself) to where you deleted the htm files from.

Re: 3.10.0 Changes.

Posted: Wed 03 Mar 2021 1:09 pm
by AntSeiderer
Thanks, I've done that. Again all the json files are updating perfectly, but the html files are not. What triggers their update?

Re: 3.10.0 Changes.

Posted: Wed 03 Mar 2021 1:12 pm
by NeilThomas
AntSeiderer wrote: Wed 03 Mar 2021 1:09 pm Thanks, I've done that. Again all the json files are updating perfectly, but the html files are not. What triggers their update?
Hi

They don't change until the next upgrade to CumulusMX. Just view your pages in a browser and refresh them periodically. The latest upgrade should make the index.htm and today.htm pages update themselves.

Neil.

Re: 3.10.0 Changes.

Posted: Wed 03 Mar 2021 1:13 pm
by freddie
AntSeiderer wrote: Wed 03 Mar 2021 1:09 pm Thanks, I've done that. Again all the json files are updating perfectly, but the html files are not. What triggers their update?
When you say the html files are not updating - do you mean they are not changing when viewed in a web browser, or do you mean the timestamps of the html files on the server are not changing? If it is the latter, then this is expected - as the html files read their weather data from the json files, so the code within the html files doesn't change.

Re: 3.10.0 Changes.

Posted: Wed 03 Mar 2021 1:35 pm
by ConligWX
perhaps a screenshot/video of what you are not seeing, or else post us your webpage URL so we can take a look.

Re: 3.10.0 Changes.

Posted: Wed 03 Mar 2021 1:37 pm
by AntSeiderer
Thank you all,

I've got Neil's template running and populated with my data. Graphs and gauges are not working yet, but I'll soldier on to hopefully get everything working.

Thanks again,

Ant

https://www.hillwoodhouse.com/weathermx/index.htm

Re: 3.10.0 Changes.

Posted: Wed 03 Mar 2021 2:21 pm
by ConligWX
your realtime gauges are working and on time:

https://www.hillwoodhouse.com/weathermx ... gauges.txt


graphs are working for me viewing your site and plotting upto 16:15 at time of writing

so I suggest you clear your browsers cache. CTRL-F5

Re: 3.10.0 Changes.

Posted: Wed 03 Mar 2021 6:58 pm
by AntSeiderer
Hi Simon,

All working fine now.

Many thanks for your patience and help.

Ciao,

Ant

Re: 3.10.0 Changes.

Posted: Sun 07 Mar 2021 6:08 pm
by NeilThomas
AntSeiderer wrote: Wed 03 Mar 2021 1:37 pm Thank you all,

I've got Neil's template running and populated with my data. Graphs and gauges are not working yet, but I'll soldier on to hopefully get everything working.

Thanks again,

Ant

https://www.hillwoodhouse.com/weathermx/index.htm
Hi all

I will be uploading a new gauges.him file that has no sidebar and displays the gauges 4 in a row so if you are struggling with this page just Han on. It’s already live on my site: https://weather.oaktreewebs.co.uk

Re: 3.10.0 Changes.

Posted: Tue 08 Jun 2021 10:01 pm
by Phil23
Phil23 wrote: Wed 03 Mar 2021 5:23 am One thing I do notice that's probably due for update is the Yesterday Page.

As per the interface, it could probably become a Today/Yesterday page.

Did that myself a while back with the old template. Merged the two into one.

http://weather.inverellit.com/today-yesterday.htm


Cheers.
Any further opinions on this being the default?
I'm currently testing it here:- http://weather.inverellit.com/new/today2.htm
Haven't got to the menu changes yet.

If anyone else is interested here's the code to avoid re-editing the original (Could need checking).

Phil.

Code: Select all

<!--
	today.htm		v:0.0.1		d:Feb 2021	Neil Thomas
	Last modified: 2021/04/05 17:03:50
	Page: 1 main panel plus a sidebar
-->
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="weather data">
		<meta name="keywords" content="Cumulus, weather, data, weather station">
		<title>Cumulus MX</title>
		<link rel="icon" type="image/png" href="images/favicon.png">

		<!--	jQuery Local	-->
		<script src="lib/jquery/jquery-latest.min.js"></script>

		<!--	Fonts	System will default to a sans-serif font if no Internet connection -->
		<link rel="preconnect" href="https://fonts.gstatic.com">
		<link href="https://fonts.googleapis.com/css2?family=Rosario:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap" rel="stylesheet">

		<!--	All Styles	-->
		<link href="css/w3Pro.css" rel="stylesheet">			<!--	Basic w3shools responsive styles	-->
		<link href="css/colours.css" rel="stylesheet">		<!--	Slightly enhanced w3schools colours	-->
  		<link href="css/mx-templates.css" rel="stylesheet">	<!--	Specific styles for these templates.	-->

		<!--	Scripts	-->
		<script src="js/setpagedata.js"></script>	<!--	Utility javascripts for all pages.	-->
	</head>
	<body>
		<div id="Header" class="w3-row w3-top w3-theme-dark w3-theme-bdr">
			<div class="w3-row-padding site-width">
				<div class="at-flex-between" style="align-items:center; flex-wrap:wrap;">
					<img src="images/CumulusMX-Logo.png" class="w3-image logo" alt="Header logo"/>
					<div class="w3-right-align" style="max-width:600px;">
						<h5>Lat<span class="w3-hide-small">itude</span>:&nbsp;<span data-cmxdata="latitude"></span><span class="at-divider">|<wbr></span>Long<span class="w3-hide-small">itude</span>:&nbsp;<span data-cmxdata="longitude"></span><span class="at-divider">|<wbr></span>Alt<span class="w3-hide-small">itude</span>:&nbsp;<span data-cmxdata="altitude"></span></h5>
					</div>
				</div>
				<!--	Start of Menu	-->
				<div id="Main_Menu" class="w3-bar w3-theme-d4 w3-theme-bdr">
				</div>
				<!--	Mobile menu	-->
				<div id="Main_Menu_Mobile" class="w3-bar-block w3-hide w3-hide-large">
				</div>	<!-- End of Mobile menu -->
			</div>
		</div>
		<div id="Content">	<!--	Start of panel content	-->
			<div class="w3-row-padding w3-theme-light site-width">	<!--	Page Title	-->
				<div class="w3-col l12">
					<h1>Today <span class="subText"><span data-cmxdata="date"></span></span></h1>
				</div>
			</div>	<!--	End of title row	-->
			<div class="w3-row site-width w3-theme-light">	<!--	Start of Main panel	-->
				<div class="w3-col l9 m12">	<!--	3/4 width panel	-->
					<div class="w3-row-padding">	<!--	Row 1 of 3/4 width panel	-->
						<div class="w3-col s12">		<!-- 	Full width of above panel	-->
							<div class="w3-panel w3-card w3-theme-white">
								<h2>Today/Yesterday&#39;s  data</h2>
								<div class="w3-responsive">
									<table class="w3-table w3-hoverable" style="width:100%">
										<tbody>
											<tr class="w3-theme-d5">
												<td>Temperature and Humidity</td>
												<td colspan="2">Today</td>
												<td colspan="2">Yesterday</td>
											</tr>
											<tr class="w3-theme-l2">
												<td>High Temperature</td>
												<td><span data-cmxdata="tempTH"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TtempTH"></span></td>
												<td><span data-cmxdata="tempYH"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TtempYH"></span></td>
											</tr>
											<tr class="w3-theme-l2">
												<td>Low Temperature</td>
												<td><span data-cmxdata="tempTL"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TtempTL"></span></td>
												<td><span data-cmxdata="tempYL"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TtempYL"></span></td>
											</tr>
											<tr class="w3-theme-l2">
												<td>Temperature Range</td>
												<td><span data-cmxdata="temprange"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td></td>
												<td><span data-cmxdata="temprangeY"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td></td>
											</tr>
											<tr data-cmx-apparent class="w3-theme-l2 w3-hide">
												<td>High Apparent Temperature</td>
												<td><span data-cmxdata="apptempTH"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TapptempTH"></span></td>
												<td><span data-cmxdata="apptempYH"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TapptempYH"></span></td>
											</tr>
											<tr data-cmx-apparent class="w3-theme-l2 w3-hide">
												<td>Low Apparent Temperature</td>
												<td><span data-cmxdata="apptempTL"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TapptempTL"></span></td>
												<td><span data-cmxdata="apptempYL"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TapptempYL"></span></td>
											</tr>
											<tr data-cmx-feels class="w3-theme-l2">
												<td>High Feels Like</td>
												<td><span data-cmxdata="feelslikeTH"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TfeelslikeTH"></span></td>
												<td><span data-cmxdata="feelslikeYH"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TfeelslikeYH"></span></td>
											</tr>
											<tr data-cmx-feels class="w3-theme-l2">
												<td>Low Feels Like</td>
												<td><span data-cmxdata="feelslikeTL"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TfeelslikeTL"></span></td>
												<td><span data-cmxdata="feelslikeYL"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TfeelslikeYL"></span></td>
											</tr>
											<tr class="w3-theme-l2">
												<td>Low Wind Chill</td>
												<td><span data-cmxdata="wchillTL"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TwchillTL"></span></td>
												<td><span data-cmxdata="wchillYL"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TwchillYL"></span></td>
											</tr>
											<tr class="w3-theme-l2">
												<td>High Heat Index</td>
												<td><span data-cmxdata="heatindexTH"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TheatindexTH"></span></td>
												<td><span data-cmxdata="heatindexYH"></span>&nbsp;<span data-cmxdata="tempunit"></span></td>
												<td>at <span data-cmxdata="TheatindexYH"></span></td>
											</tr>
											<tr class="w3-theme-l2">
												<td>High Humidity</td>
												<td><span data-cmxdata="humTH"></span> %</td>
												<td>at <span data-cmxdata="ThumTH"></span></td>
												<td><span data-cmxdata="humYH"></span>&nbsp;%</td>
												<td>at <span data-cmxdata="ThumYH"></span></td>
											</tr>
											<tr class="w3-theme-l2">
												<td>Low Humidity</td>
												<td><span data-cmxdata="humTL"></span> %</td>
												<td>at <span data-cmxdata="ThumTL"></span></td>
												<td><span data-cmxdata="humYL"></span>&nbsp;%</td>
												<td>at <span data-cmxdata="ThumYL"></span></td>
											</tr>
											<tr class="w3-theme-d4">
												<td>Rainfall</td>
												<td colspan="2">Today</td>
												<td colspan="2">Yesterday</td>
											</tr>
											<tr class="w3-theme-l3">
												<td>Rainfall Total</td>
												<td><span data-cmxdata="rfall"></span>&nbsp;<span data-cmxdata="rainunit"></span></td>
												<td></td>
												<td><span data-cmxdata="rfallY"></span>&nbsp;<span data-cmxdata="rainunit"></span></td>
												<td></td>
											</tr>
											<tr class="w3-theme-l3">
												<td>Rainfall Rate Max</td>
												<td><span data-cmxdata="rrateTM"></span>&nbsp;<span data-cmxdata="rainunit"></span>/hr</td>
												<td>at <span data-cmxdata="TrrateTM"></span></td>
												<td><span data-cmxdata="rrateYM"></span>&nbsp;<span data-cmxdata="rainunit"></span>/hr</td>
												<td>at <span data-cmxdata="TrrateYM"></span></td>
											</tr>
											<tr class="w3-theme-l3">
												<td>High Hourly Rainfall</td>
												<td><span data-cmxdata="hourlyrainTH"></span>&nbsp;<span data-cmxdata="rainunit"></span></td>
												<td>at <span data-cmxdata="ThourlyrainTH"></span></td>
												<td><span data-cmxdata="hourlyrainYH"></span>&nbsp;<span data-cmxdata="rainunit"></span></td>
												<td>at <span data-cmxdata="ThourlyrainYH"></span></td>
											</tr>
											<tr class="w3-theme-l3">
												<td>Days Since Last Dry Day</td>
												<td colspan="3"><span data-cmxdata="ConsecutiveRainDays"></span></td>
												<td></td>
											</tr>
											<tr class="w3-theme-l3">
												<td>Days Since It Last Rained</td>
												<td colspan="3"><span data-cmxdata="ConsecutiveDryDays"></span></td>
												<td></td>
											</tr>
											<tr class="w3-theme-d3">
												<td>Wind</td>
												<td colspan="2">Today</td>
												<td colspan="2">Yesterday</td>
											</tr>
											<tr class="w3-theme-l4">
												<td>High Gust</td>
												<td><span data-cmxdata="wgustTM"></span>&nbsp;<span data-cmxdata="windunit"></span></td>
												<td>at <span data-cmxdata="TwgustTM"></span></td>
												<td><span data-cmxdata="wgustYM"></span>&nbsp;<span data-cmxdata="windunit"></span></td>
												<td>at <span data-cmxdata="TwgustYM"></span></td>
											</tr>
											<tr class="w3-theme-l4">
												<td>High Speed <span class="subText">(10 minute average)</span></td>
												<td><span data-cmxdata="windTM"></span>&nbsp;<span data-cmxdata="windunit"></span> (<span data-cmxdata="Tbeaufort"></span>)</td>
												<td>at <span data-cmxdata="TwindTM"></span></td>
												<td><span data-cmxdata="windYM"></span>&nbsp;<span data-cmxdata="windunit"></span> (<span data-cmxdata="Ybeaufort"></span>)</td>
												<td>at <span data-cmxdata="TwindYM"></span></td>
											</tr>
											<tr class="w3-theme-l4">
												<td>Wind Run</td>
												<td><span data-cmxdata="windrun"></span>&nbsp;<span data-cmxdata="windrununit"></span></td>
												<td></td>
												<td><span data-cmxdata="windrunY"></span>&nbsp;<span data-cmxdata="windrununit"></span></td>
												<td></td>
											</tr>
											<tr class="w3-theme-l4">
												<td>Dominant Direction</td>
												<td><span data-cmxdata="domwindbearing"></span>&deg; <span data-cmxdata="domwinddir"></span></td>
												<td></td>
												<td><span data-cmxdata="domwindbearingY"></span>&deg; <span data-cmxdata="domwinddirY"></span></td>
												<td></td>
											</tr>
											<tr class="w3-theme-d2">
												<td>Pressure <span class="subText">(sea level)</span></td>
												<td colspan="2">Today</td>
												<td colspan="2">Yesterday</td>
											</tr>
											<tr class="w3-theme-l5">
												<td>High Pressure</span></td>
												<td><span data-cmxdata="pressTH"></span>&nbsp;<span data-cmxdata="pressunit"></span></td>
												<td>at <span data-cmxdata="TpressTH"></span></td>
												<td><span data-cmxdata="pressYH"></span>&nbsp;<span data-cmxdata="pressunit"></span></td>
												<td>at <span data-cmxdata="TpressYH"></span></td>
											</tr>
											<tr class="w3-theme-l5">
												<td>Low Pressure</td>
												<td><span data-cmxdata="pressTL"></span>&nbsp;<span data-cmxdata="pressunit"></span></td>
												<td>at <span data-cmxdata="TpressTL"></span></td>
												<td><span data-cmxdata="pressYL"></span>&nbsp;<span data-cmxdata="pressunit"></span></td>
												<td>at <span data-cmxdata="TpressYL"></span></td>
											</tr>
											<tr class="w3-theme-d1 w3-hide" data-cmx-solar data-cmx-uv>
												<td colspan="3" class="w3-theme-d1">Solar</td>
											</tr>
											<tr class="w3-theme-l6 w3-hide" data-cmx-solar>
												<td>High Solar Radiation</td>
												<td><span data-cmxdata="solarTH"></span> W/m<sup>2</sup></td>
												<td>at <span data-cmxdata="TsolarTH"></span></td>
											</tr>
											<tr class="w3-theme-l6 w3-hide" data-cmx-solar>
												<td>Hours of Sunshine</td>
												<td><span data-cmxdata="SunshineHours"></span> hrs</td>
												<td></td>
											</tr>
											<tr class="w3-theme-l6 w3-hide" data-cmx-uv>
												<td>High UV Index</td>
												<td><span data-cmxdata="UVTH"></span></td>
												<td><span data-cmxdata="TUVTH"></span></td>
											</tr>
											</tbody>
									</table>
									<p class="w3-small">Page data updated <span data-cmxdata="update"></span>.</p>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="w3-col l3 m12">	<!--	Start of Sidebar 1/4 screen width	-->
					<div class="w3-row-padding">
						<div class="w3-col l12">	<!--	Full width of sidebar -->
							<div class="w3-panel w3-container w3-theme-light">
								<h3 class="w3-center">Welcome to <br/><span class="subText"><span data-cmxdata="longlocation"></span></span></h3>
								<p>This page shows the highs, lows and current values for today.  These pages are updated
									every <span data-cmxdata="interval"></span> minutes. The meteorological day used at this station ends at
									<span data-cmxdata="rollovertime"></span>.
								</p>
							</div>
						</div>
					</div>
				</div>
			</div>	<!--	End of panel content -->
		</div>	<!--	End of content	-->
		<!--	Footer	-->
		<div id="Footer" class="w3-row w3-bottom w3-theme-dark w3-theme-bdr">
			<div class="w3-row-padding site-width">
				<p><em>Cumulus MX Template by Neil Thomas <script>document.write(new Date().getFullYear());</script>
				<span class="w3-right">Powered by <span class="w3-theme-txt">Cumulus MX</span> v:<span data-cmxdata="version"></span>, b:<span data-cmxdata="build"></span></span></em></p>
			</div>
		</div>
	</body>
</html>

Re: 3.10.0 Changes.

Posted: Wed 09 Jun 2021 12:59 am
by flort
Hi Phil,

I would fully support this. I much rather see comparative data on a single page rather than going to multiple pages. This is one reason why I haven't adopted the new templates yet.

On my old pages I had Current, Today & Yesterday combined on one page. Also This Month, This Year & All Time Records on a single page.

Regards,
Trevor