Author Topic: WD $timeofnextupdate  (Read 889 times)

0 Members and 1 Guest are viewing this topic.

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
WD $timeofnextupdate
« on: April 06, 2014, 12:50:16 PM »
Just turned on the next update option in the console script and noticed the display always reads 'Next Graph and
Forecast update @ ~ 00:20'. $timeofnextupdate in testtags.php is, of course, stuck at 00:20.

Where exactly in WD is that item set so it updates properly? Yes, I've looked, but can't find it.

Thanks.
John
W7JKG

Offline BCJKiwi

  • Forecaster
  • *****
  • Posts: 302
    • Silver Acorn Weather - N.Z.
Re: WD $timeofnextupdate
« Reply #1 on: April 06, 2014, 04:53:11 PM »
$timeofnextupdate is a standard entry in texttags.txt in the default Saratoga templates WD-plugin kit.

Ken's website has a detailed description of how to set up WD to process send testtags.txt to the website as testtags.php.
See http://saratoga-weather.org/wxtemplates/setup-WD.php
The setup is also described in README.txt in the WXtags-template-files folder in WD-plugin.zip

So if $timeofnextupdate is not working,
1. check on the website that testtags.php is updating (if not use Ken's instructions to get it uploading).
2. check that testtags.php contains $timeofnextupdate (if not, add it to testtags.txt in your WD setup).
The default line contains;
Code: [Select]
$timeofnextupdate =  '%timeofnextupdate%'; // Time of next Update/Upload of the weather data to your web page (based on the web table update)

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: WD $timeofnextupdate
« Reply #2 on: April 06, 2014, 06:20:15 PM »
Thanks for the reply, but, as mentioned above  :grin: ...

1. $timeofnextupdate in testtags.php is, of course, stuck at 00:20
2. See #1
3. Also went through Ken's setup and could not find anything specific for this tag (which doesn't mean it's not there - just didn't see it)

Thanks.
John
W7JKG

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: WD $timeofnextupdate
« Reply #3 on: April 06, 2014, 06:38:21 PM »
The 'secret switch' is in Weather-Display, Control Panel, Web Files/Web Page, Web Files Setup#1 TAB
in the 'Web Table/ HTML' group of checkboxes labled "Show the time of next update".

So many switches, easy to overlook one :)

Hope this helps...

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: WD $timeofnextupdate
« Reply #4 on: April 06, 2014, 06:53:58 PM »
Which, in addition to the fact that these eyes are gettin' old, explains why I missed it. I was scanning all the pages there for unchecked boxes - that item is already checked.

Other thoughts?

Thank you.
John
W7JKG

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: WD $timeofnextupdate
« Reply #5 on: April 06, 2014, 07:00:04 PM »
You'll also need to set an upload schedule via FTP & Connections/METAR/NOAA' button on the Control Panel and select the Web Files Upload times and Avg/Ext TAB

Set the overall schedule there so it can compute the 'time of next upload'.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: WD $timeofnextupdate
« Reply #6 on: April 06, 2014, 07:21:58 PM »
That, too, was already set - every 5 minutes, which is why I'm confused.

Thank you.
John
W7JKG

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: WD $timeofnextupdate
« Reply #7 on: April 06, 2014, 08:01:54 PM »
Looks like a mystery for Brian to solve :)
I'd suggest posting the problem on weather-watch.com and sending him your WD ini settings for diagnosis.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: WD $timeofnextupdate
« Reply #8 on: April 06, 2014, 09:27:05 PM »
Will do.

Thanks for your time, Ken.
John
W7JKG