Author Topic: Current data is a day old, but clientraw.txt is up to date - plus other quirks.  (Read 862 times)

0 Members and 1 Guest are viewing this topic.

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4107
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
It appears that the internal receiver in my MB Pro failed. I finally have it running using one of my WLIP consoles for a data source.

The problem is that the current data in the header areas show it stuck at 04/27/2022 at 0830.

The clientraw parser shows it as current.

The Davis console emulators at https://www.rogerscityweather.com/davconvp2CW.php and https://www.rogerscityweather.com/davconvueCW.php show current data.

The Almanac trends other the current data look OK. "5 minutes ago", etc show good data.

The other strange thing that I notice is that the actual current temperature (42°F) shows for about a second before reverting to the old data.

Is something overwriting this? Is it a cache problem? I have searched the forum and I checked similar "usual suspects", but I haven't come across anything that helped.

Ken, et al, any ideas on this?

I have the MB Pro running as a basket case on the table outside of the case, so I might put it back together later.

Thanks,

Greg H.



Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Your MBrealtime.txt data file was last updated yesterday 27/04/2022 08:30:00 .. It appears that Meteobridge is not successfully executing the HTTP GET for conds.php with new conditions.

You talked about the clientraw parser .. that's only for Weather-Display.  Your current site is set to use Meteobridge for data.
Your status page at https://www.rogerscityweather.com/wxstatus.php shows that the Meteobridge realtime is indeed stale.  The Almanac entries all come from MBtags.php, which appear to be current .. it's only when the ajaxMBwx.js AJAX script cuts in that the old data replaces the 'Current' line in Almanac (and displays on the Gizmo and home page dashboard).

I'd have Meteobridge reload the template for the  HTTP realtime and see if that makes it current.
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 miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4107
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Thanks Ken. I'll try that in the morning tomorrow.

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4107
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
I tried setting the HTTP upload of the conds.php with the template string.

I am getting a 404 error (not found), but the error string seems to have current valid data:

Code: [Select]
2022-04-29 08:26:14 Error: 2022-04-29 08:26:12 http://www.sunrisesideweather.com/conds.php?d=29/04/2022,08:26:12,4.8,43,-6.7,0.9,0.4,215.0,0.0,0.0,1027.4,215.0,1,m/s,C,hPa,mm,--,1027.6,0.0,0.0,0.0,-3.1,29.0,4.8,-1.9,4.8,20220429082524,-2.8,20220429070309,2.7,20220429002518,4.5,20220429002139,1027.7,20220429075823,1026.2,20220429013916,5.4,14737,1.8,--,--,0.8,--,329.0,169.0,0.0,--,D,--,169.0,--,m,--,14:13,--,--,0.8: 2022-04-29 08:26:14 ERROR 404: Not Found. (no more tries)
I have my weather data normally uploaded into a /weatherdata file on the server. I wonder if it is looking for these files there. I am going to investigate that.

(optional) Configure Meteobridge Push Services HTTP to create the MBrealtime.txt AJAX data file and MBrealtimegauges.txt Steel Series Gauges JSON data file.

From your https://saratoga-weather.org/wxtemplates/setup-Meteobridge.php page. I did not have this setting prior to all the problems I had yesterday and the current data was there.... strange :-k

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4107
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Found it!

I put in "sunrisesidweather.com" instead of "rogerscityweather.com" in that conds.php string. Not sure how I missed that, but "sunrisesideweather.com" is just a redirect.

Its working OK now.

Kind of a "duh" moment, but I am glad that I found it.

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF