Author Topic: Hi From Long Sutton  (Read 4625 times)

wx-watch

  • Strong Breeze
  • ***
  • Posts: 124
    • ISPALDIN8
    • Wx Watch
  • Station Details: Vantage Pro 2 Plus and a Mac Mini M2
Hi From Long Sutton
« 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

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Welcome to the WeatherCat forum! (Re: Hi From Long Sutton)
« Reply #1 on: August 14, 2018, 11:43:49 PM »
Dear John and WeatherCat welcome wagon,

Hi from Long Sutton, Lincs, UK

By all means welcome John to the WeatherCat forum!

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

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

There is now WeatherCatRCP which provides access to most of the data within WeatherCat:

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]


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Hi From Long Sutton
« Reply #2 on: August 15, 2018, 12:17:39 AM »
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.
Blick


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Hi From Long Sutton
« Reply #3 on: August 15, 2018, 08:02:00 PM »
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.
Blick


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Darn browser caching . . . (Was: Hi From Long Sutton)
« Reply #4 on: August 15, 2018, 09:31:26 PM »
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 . . . .

Oh well, . . . . . Edouard

Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Darn browser caching . . . (Was: Hi From Long Sutton)
« Reply #5 on: August 16, 2018, 04:47:26 PM »
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.

Code: [Select]
<script>
function myFunction() {
    location.reload();
}
</script>

Definitely annoying.
Blick


xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Hi From Long Sutton
« Reply #6 on: August 16, 2018, 07:19:47 PM »
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)
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Alas no cure for the forum. (Re: Darn browser caching . . . )
« Reply #7 on: August 16, 2018, 11:06:45 PM »
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

Randall75

  • Storm
  • *****
  • Posts: 1332
  • CWOP-CW6734 WeatherUnderground-KOHNEWAR6
    • CW6734
    • KOHNEWAR6
    • Randy's Weather On The Hill
  • Station Details: Davis Vantage Pro 2 Plus.iMac i5 OS High Sierra 10.13.6 8GB Ram, WeatherCat 3,Logitech 9000 Pro Web Cam
Re: Hi From Long Sutton
« Reply #8 on: August 17, 2018, 12:43:45 AM »
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

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Hi From Long Sutton
« Reply #9 on: August 17, 2018, 02:37:01 AM »
<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.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


mcrossley

  • Gale
  • ****
  • Posts: 273
  • Sorry, I'm not a WeatherCat user!
    • ICHESHIR25
    • Wilmslow Astro Weather
  • Station Details: Davis VP2 + home brew
Re: Hi From Long Sutton
« Reply #10 on: August 17, 2018, 01:29:41 PM »
Personally I hate forced whole page refreshes, I'd rather put up with stale content if a better alterative cannot be implemented.
Mark

Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Hi From Long Sutton
« Reply #11 on: August 18, 2018, 08:35:12 AM »
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.
Blick


Randall75

  • Storm
  • *****
  • Posts: 1332
  • CWOP-CW6734 WeatherUnderground-KOHNEWAR6
    • CW6734
    • KOHNEWAR6
    • Randy's Weather On The Hill
  • Station Details: Davis Vantage Pro 2 Plus.iMac i5 OS High Sierra 10.13.6 8GB Ram, WeatherCat 3,Logitech 9000 Pro Web Cam
Re: Hi From Long Sutton
« Reply #12 on: August 18, 2018, 08:37:44 PM »
 [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


xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Hi From Long Sutton
« Reply #13 on: August 18, 2018, 11:06:32 PM »
Don't forget to have javascript enabled.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Hi From Long Sutton
« Reply #14 on: August 19, 2018, 03:02:30 AM »
Thank you Randall.
Blick