OK, just in case I had screwed something up I unzipped the 3041 build to a new folder and copied across both the WEB and WEBFILES folders to the existing MX directory and restarted MX.
Opened up the local WEB folder and found the realtimegaugesT.txttmp file. Opened it with notepad and found it had the following contents
Code: Select all
{"date":"10:28",
"temp":"1.3",
"tempTL":"0.1",
"tempTH":"2.2",
"intemp":"19.8",
"dew":"-2.8",
"dewpointTL":"-3.6",
"dewpointTH":"-1.8",
"apptemp":"-2.7",
"apptempTL":"-4.4",
"apptempTH":"-0.7",
"wchill":"-1.4",
"wchillTL":"-3.4",
"heatindex":"1.3",
"heatindexTH":"2.2",
"humidex":"-1.5",
"wlatest":"6.9",
"wspeed":"5.4",
"wgust":"9.8",
"wgustTM":"11.4",
"bearing":"315",
"avgbearing":"329",
"press":"1028.5",
"pressTL":"1022.5",
"pressTH":"1028.6",
"pressL":"992.7",
"pressH":"1028.6",
"rfall":"0.0",
"rrate":"0.0",
"rrateTM":"0.0",
"hum":"74",
"humTL":"74",
"humTH":"77",
"inhum":"70",
"SensorContactLost":"0",
"forecast":"Settled fine",
"tempunit":"C",
"windunit":"mph",
"pressunit":"mb",
"rainunit":"mm",
"temptrend":"+0.3",
"TtempTL":"07:57",
"TtempTH":"00:02",
"TdewpointTL":"07:57",
"TdewpointTH":"00:02",
"TapptempTL":"09:07",
"TapptempTH":"00:02",
"TwchillTL":"09:07",
"TheatindexTH":"00:02",
"TrrateTM":"00:02",
"ThourlyrainTH":"00:02",
"LastRainTipISO":"2017-01-01 21:17",
"hourlyrainTH":"0.0",
"ThumTL":"10:17",
"ThumTH":"05:52",
"TpressTL":"00:02",
"TpressTH":"10:24",
"presstrendval":"0.6",
"Tbeaufort":"F3",
"TwgustTM":"00:07",
"windTM":"7.6",
"bearingTM":"360",
"timeUTC":"2017,1,2,10,28,5",
"BearingRangeFrom10":"310",
"BearingRangeTo10":"360",
"UV":"0.0",
"UVTH":"0.0",
"SolarRad":"0",
"SolarTM":"0",
"CurrentSolarMax":"110",
"domwinddir":"NNW",
"WindRoseData":[546.3,12.1,31.3,0.0,6.9,0.0,0.0,0.0,0.0,0.0,0.0,0.0,25.9,36.9,516.3,0.0],
"windrun":"43.4",
"cloudbasevalue":"1688",
"cloudbaseunit":"ft",
"version":"3.0.0",
"build":"3041",
"ver":"12"}
Renamed the file to realtimegaugesT.txt
After a few moments checked
http://micro-heli.co.uk/weather/realtimegauges.txt and had a 404 error.
Renamed the file realtimegauges.txt and manually transferred it to the micro-heli.co.uk/weather folder via FTP. Confirmed the file was present in the remote web folder, which it was. Went to the index page and selected gauges, they displayed and then moved to display the information contained in the realtimegauges.txt file.
So the problem seems to be that MX renames the realtimegaugaesT.txt to realtimegaugaesT.txttmp or that it generates this file to update the realtimegaugaesT.txt file which doesn't happen. Or the file is being generated, but not uploaded. I also checked the root folder and found a realtimegaugaes.txt_ file. I rechecked the extra web file settings and confirmed that no underscore had been entered by mistake, and that the remote filename included the /weather/realtimegaugaes.txt file name.
The live website also reported that the data was old (100+ minutes) - Having noted that the realtimegaugesT.txttmp was being generated fairly regularly I renamed it and manually uploaded it to the weather folder - the website didn't pick up the new data, even when the page was refreshed.
I'm giving up with MX and going back to Cumulus1. Whilst the gauges in MX are a lot more polished (and I remember sending Steve a request for something like this years ago when i stumbled on a site that produced these, when he was developing Cumulus 2) - the old system worked. I can't see the need to have to specify additional files to upload when the gauges are an integral part of the application and website.