Trixology
General Category => New Member Introductions => Topic started by: wx-watch on August 14, 2018, 04:56:02 PM
-
Hi from Long Sutton, Lincs, UK
I have for a while been running a Fineoffset USB weather station with a Raspberry Pi. I decided to go for something a ?bit more substantial ? and went for a Davis Vantage Pro 2 and a Mac Mini.
Of course the software is Weathercat (otherwise I wouldn?t be here)
I am just starting to get to grips with Weathercat.
My website is at https://www.wx-watch.co.uk
I want a simple website that is easy to display on my iPhone
John
-
Dear John and WeatherCat welcome wagon, (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/welcomewagon.gif)
Hi from Long Sutton, Lincs, UK
By all means welcome John to the WeatherCat forum!(http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/welcome_smiley.gif)
I have for a while been running a Fineoffset USB weather station with a Raspberry Pi. I decided to go for something a ?bit more substantial ? and went for a Davis Vantage Pro 2 and a Mac Mini.
We have a number of WeatherCat users with a Fine Offset station and they are surprisingly rugged for their cost. However, I think you will very happy with the upgrade to the Davis Vantage Pro-2.
Of course the software is Weathercat (otherwise I wouldn?t be here)
;) . . . . We wouldn't have it any other way! . . . . [biggrin]
I am just starting to get to grips with Weathercat.
My website is at https://www.wx-watch.co.uk
That is definitely a good start although you have probably noticed that WeatherCat has extensive webpage support. You can develop your own pages or you can take advantage of one of the very nice templates developed for WeatherCat. You find them listed at the top of this topic in the forum:
http://athena.trixology.com/index.php?board=5.0 (http://athena.trixology.com/index.php?board=5.0)
I want a simple website that is easy to display on my iPhone
If you want to access your data from your iPhone there are also some iOS apps you might want to look into. The simplest is this one:
http://athena.trixology.com/index.php?topic=191.0 (http://athena.trixology.com/index.php?topic=191.0)
There is now WeatherCatRCP which provides access to most of the data within WeatherCat:
http://athena.trixology.com/index.php?topic=2751.0 (http://athena.trixology.com/index.php?topic=2751.0)
Both are from the same developer and are available in the Apple iOS app store.
Once more welcome! :)
Cheers, Edouard [cheers1]
-
Hi John:
Welcome to the forum. Hope you are enjoying your new weather kit from Davis. I took a look at your website. Nicely done, mate. I have been close to your locale, I think. I was in Hull a few years ago. I think that is fairly close to you. Glad to christen you as our newest WeatherCatter.
-
By the way Edouard, your banner on the forum has not updated its weather information since 27 July. You need to take a spanner and fix that gear.
-
Dear Blick and WeatherCat troubleshooters,
By the way Edouard, your banner on the forum has not updated its weather information since 27 July. You need to take a spanner and fix that gear.
Okay I double-checked and WeatherCat is uploading the banner as it has since the feature was added. [WCSmall]
The problem is our browsers once more sticking to an out-of-date cached image instead of the current one. I remember something about this, but I thought Stu tried to fix this with the SMF forum software settings and obviously didn't succeed. I guess we will have to periodically force our browsers to reload from the server to keep our banners current.
Definitely something of an annoyance . . . . (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/sigh_bubble.gif)
Oh well, . . . . . Edouard
-
The problem is our browsers once more sticking to an out-of-date cached image instead of the current one. I remember something about this, but I thought Stu tried to fix this with the SMF forum software settings and obviously didn't succeed. I guess we will have to periodically force our browsers to reload from the server to keep our banners current.
I had to create a button on the top of my website to allow viewers to reload the page from scratch, bypassing the cache, in order to refresh some of the weather items. It works for most browsers except Chrome. With Chrome the viewer still has to clear the cache. I tried to bypass the cache with code every time it loads but I could never debug it it so I just created the button that initiates a reload with this script.
<script>
function myFunction() {
location.reload();
}
</script>
Definitely annoying.
-
I use Safari mostly. There is an "Empty Cache" item in the Develop menu (which is not available by default). I added/created a keyboard shortcut: Option-command-t via the Keyboard System Prefs. That's faster than mousing up to the menu constantly when making edits to the html or css to a web page. Perhaps a keyboard shortcut could be used in Chrome. 8)
-
Dear Blick, X-Air, and WeatherCat victims of half-baked technology,
I had to create a button on the top of my website to allow viewers to reload the page from scratch, bypassing the cache, in order to refresh some of the weather items.
It is reasonable idea for a website, but alas doesn't do anything for the forum.
Definitely annoying.
You said it! . . . . >:( This afternoon I spent some time migrating to a new iPad and Apple has once more been very sloppy in their software implementation. As a result, the poor iPad has already required two reboots.
I think I've told the story but one of my students when I was teaching at U.C. San Diego was the director of phone services for Qualcomm. She griped in frustration that when the phones failed for even a second the whole company was up in arms, while the computer services could be down and most employees should just chug their shoulders. We all pay a huge price for software that is rushed into deployment before it is anywhere close to bullet-proof.
Oh well, . . . . . Edouard (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/pout.gif)
-
Hi gang with cache problems
When created mine a put a code in the auto reloads the it every 2 minutes to prevent this
cheers
-
<CHOP>
With Admin access to the SMF files can add a <meta ...> line in the <head> of the "index.template.php" file and that might help with reloading all the pages. That usually causes a page 'flash' but it can be set to refresh at maybe 5 minutes and not be too troublesome. OTOH, that might be too long for 'speed-readers'.
<CHOP>
Note:"[Automatic] Refreshing the current page can be confusing. If a user didn?t request the reload, they may become concerned about your site's security." For that reason, I include some text near the top of any page that refreshes automatically and note the normal timing.
-
Personally I hate forced whole page refreshes, I'd rather put up with stale content if a better alterative cannot be implemented.
-
Hi gang with cache problems
When created mine a put a code in the auto reloads the it every 2 minutes to prevent this
Randall, please share the code you used and where you placed it.
Personally I hate forced whole page refreshes, I'd rather put up with stale content if a better alterative cannot be implemented.
Mark, I agree. There has to be a more elegant way.
-
[interesting] hi blicj
here it is
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(202, 222,
255);" alink="#ee0000" link="#0000ee" vlink="#551a8b">
<table style="text-align: left; width: 756px; margin-left: auto;
margin-right: auto; background-color: rgb(255, 255, 255);"
border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><img style="width: 756px;
height: 144px;" alt=""
src="Randys%20Weather%20On%20The%20Hill.jpg"><br>
<div style="text-align: center;"><small><span
style="font-style: italic;">Last UpDate:D$</span></small><br>
<small><small>(Page Refreshes every 2 Minutes)</small></small><br>
<script>
<!--
/*
Auto Refresh Page with Time script
By JavaScript Kit (javascriptkit.com)
Over 200+ free scripts here!
*/
//enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59
var limit="01:00"
if (document.images){
var parselimit=limit.split(":")
parselimit=parselimit[0]*60+parselimit[1]*1
}
function beginrefresh(){
if (!document.images)
return
if (parselimit==1)
window.location.reload()
else{
parselimit-=1
curmin=Math.floor(parselimit/60)
cursec=parselimit%60
if (curmin!=0)
curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!"
else
curtime=cursec+" seconds left until page refresh!"
window.status=curtime
setTimeout("beginrefresh()",1000)
}
}
window.onload=beginrefresh
//-->
hope this helps
cheers
-
Don't forget to have javascript enabled.
-
Thank you Randall.
-
And apologies to wx-watch for stealing your introduction thread.
-
I've edited my entire post #9 as Mr. Crossley has a better solution that we can apply to our own servers by editing the .htaccess file. It will affect what everyone sees as your Banner and should not require any editing of the WC software. I would rather he post the <IfModule mod_expires.c> ... </IfModule> code since this file can affect your whole site. If you decide to make the change, be sure to make a copy of the original .htaccess file BEFORE editing it. ThU32:-)
uhmm... apparently, the last time I upgraded WC, I forgot to check the "FTP To Custom Web:" checkbox. Thus, the last update of my banner was that same date ~11 July 2018. It updates a lot faster now... [blush] [rolleyes2] cmu:-)