Page 1 of 1

Your realtime gauges.txt file template needs updating

Posted: Fri 05 Feb 2016 9:50 pm
by chrisecurtis
New installation from file downloaded today of Cumulus MX (build 3306) on Windows 10, ftp'ing to a host. (http://weather.curtisfamily.org.uk)
I copied cumulus.ini from my cumulus 1 install but nothing else. The system uses British numbers etc.

Everything seems to work well except the gauges page where the ticker gives the message in the title. I have verified the following:
1. realtimegauges.txt is processed and uploaded to the web root
2. It seems to be found by the gauges script. If I remove it or move it somewhere else, the ticker says "internal error 500" instead. I have also noticed that if I click on any of the buttons to change units, the gauge concerned will display the current correct value, but it will not update automatically. (It will if I click to change units again).

I have noticed the following:

The first line of the uploaded realtimegauges.txt reads

{"date":"09:nn",

which looks rather odd. The equivalent line in the template file (realtimegaugesT.txt) reads:

{"date":"<#date format=HH:mm>",

The last line in the template file reads:

"ver":"12"}

but once uploaded reads:

"ver":"11"}

which seems strange too.

Sorry if this should be in the SteelSeries part of the forum, but so far this is a straight install of MX.

Help! and thanks.

Re: Your realtime gauges.txt file template needs updating

Posted: Sun 07 Feb 2016 7:00 pm
by steve
You need to use the version of the realtimegaugesT.txt template file that is supplied with MX (in the "web" folder). The first line of the file is

{"date":"<#date format=HH:mm>",

and the last line is:

"ver":"12"}

If you are getting {"date":"09:nn", in the processed file, you are using the wrong version, so I think you have an error in your configuration somewhere.

Re: Your realtime gauges.txt file template needs updating

Posted: Sun 07 Feb 2016 9:08 pm
by chrisecurtis
Thanks for replying so quickly.

The correct file was in the correct place (I downloaded MX again and made sure).
The problem was the extra file upload was set to take the realtimegaugesT.txt file from C:\Cumulus\web and not C:\CumulusMX\web\. (i.e. old folder not new install folder). It obviously picked up the location from the cumulus.ini I had copied over.

What fooled me was that the weather data in the file was being updated correctly - the file was being properly processed apparently, except for the first and last lines. Also C:\Cumulus|... did not jump out as wrong.

D'Oh!

Working now. Thanks for your help.