Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Cumulus - Steel Gauge help - http error

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
heliraptor
Posts: 24
Joined: Fri 15 Feb 2013 9:42 pm
Weather Station: Davis Advantage Pro 2
Operating System: Win 10 Pro
Location: Colchester

Cumulus - Steel Gauge help - http error

Post by heliraptor »

Hi Guys

Newbie here, and have attempted to update the gauges on our site to the steel version.

Current gauges are still the originals on the site.

http://s453079954.websitehome.co.uk/rad ... gauges.htm

This is what I'm getting on the new gauge-ss.htm page

http://s453079954.websitehome.co.uk/rad ... ges-ss.htm

I seem to have been though it many times and can't find my error..any budding pro's out there willing to steer me in the right direction?

Thanks in advance...your help and advice is MUCH appreciated.

Lee
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Cumulus - Steel Gauge help - http error

Post by nitrx »

element.style {
}
Matched CSS Rules
body {
font-family: Verdana, Helvetica, sans-serif;
font-size: 10pt;
text-align: left;
color: #585858;
}
body {
background-color: #FFFFFF;
font-family: Verdana, Helvetica, sans-serif;
font-size: 10pt;
color: #585858;
text-align: left;
background-attachment: fixed;
background-image: url(images/picture.jpg);
background-repeat: no-repeat;
background-position: left bottom;
}
user agent stylesheetbody {
display: block;
margin: 8px;
}
Metrics
Properties
DOM Breakpoints
Event Listeners
Failed to load resource: the server responded with a status of 404 (Not Found) http://s453079954.websitehome.co.uk/rad ... icture.jpg
Failed to load resource: the server responded with a status of 404 (Not Found) http://s453079954.websitehome.co.uk/rad ... 1037059005
Failed to load resource: the server responded with a status of 404 (Not Found) http://s453079954.websitehome.co.uk/rad ... 1037069056
Failed to load resource: the server responded with a status of 404 (Not Found) http://s453079954.websitehome.co.uk/rad ... 1037079124
GET http://s453079954.websitehome.co.uk/rad ... 1037089190 404 (Not Found) jquery.min.js:2
GET http://s453079954.websitehome.co.uk/rad ... 1037099255 404 (Not Found)

realtimeguages.txt not found ... path probably wrong ?
heliraptor
Posts: 24
Joined: Fri 15 Feb 2013 9:42 pm
Weather Station: Davis Advantage Pro 2
Operating System: Win 10 Pro
Location: Colchester

Re: Cumulus - Steel Gauge help - http error

Post by heliraptor »

Excellent Ron,

Thanks very much , I will give it a try.

At work at the mo, so will try in the morning.

Lee
heliraptor
Posts: 24
Joined: Fri 15 Feb 2013 9:42 pm
Weather Station: Davis Advantage Pro 2
Operating System: Win 10 Pro
Location: Colchester

Re: Cumulus - Steel Gauge help - http error

Post by heliraptor »

Looking at it again it seems the full path to the ftp location is repeated, I have obviously put it in a long string where I didnt need to.

Thing is finding out where. Could it possibly be in the internet configuration settings within cumulus ?

The only other place would be the amendements I made to the .js file.

I'll have to check both by trial and eroor...funny how one gauge loaded up though...bizarre.

Cheers
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus - Steel Gauge help - http error

Post by steve »

In gauges.js, you have

realTimeURL_Cumulus: 's453079954.websitehome.co.uk/radmac/weather/realtimegauges.txt', //*** Cumulus Users: Change to your location of the realtime file ***

That just needs to be

realTimeURL_Cumulus: 'realtimegauges.txt', //*** Cumulus Users: Change to your location of the realtime file ***

But you have another problem; your realtimegauges.txt file contains unprocessed web tags, so it looks like you haven't ticked the 'process' box in Cumulus.
Steve
heliraptor
Posts: 24
Joined: Fri 15 Feb 2013 9:42 pm
Weather Station: Davis Advantage Pro 2
Operating System: Win 10 Pro
Location: Colchester

Re: Cumulus - Steel Gauge help - http error

Post by heliraptor »

Hi Steve,

Thnaks for tjhe reply.
A you suggested I have amended the gauges.js file which seems to have cured the http error, however as you rightly say it doesn't appear the raltimgauges.txt file is being processed.

I know have an error in the lcd bar at the top.
corrupted-text-file.jpg
And here's a screen print of my cumus config...processed is ticked and always has been.
cumulus-config.jpg
Now when I copied those files onto my server through filezilla I renamed them manually taking the T out...was this the right thing to do ?? Same with the gauges-ss.htm file...I removed the T manually.

The links do appear correct, I have given the full path in the top two bars of the server space. In the bottom I took a shot regarding the images, not usre if this was right.

In the setup it mentions link to the folder where the trend graphs are....I can't seen to find them ? Could you put me in the right direction.

I have also included a grab of the js folder.
gauges-js-file.jpg
This is the only area I have edited...........anything look out of place ?

The path to the realtime file...is that to realtime.txt or realtimegauges.txt ?

Sorry did say I was a noob !! lol

Thanks everyone for their help and advice.

Lee
You do not have the required permissions to view the files attached to this post.
Last edited by heliraptor on Sun 17 Feb 2013 12:06 pm, edited 1 time in total.
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Cumulus - Steel Gauge help - http error

Post by nitrx »

For some reason the realtimegauges.txt has no values so it's not proccessed as Stev said befor http://s453079954.websitehome.co.uk/rad ... gauges.txt
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus - Steel Gauge help - http error

Post by steve »

You don't need to ftp the files to the server, Cumulus does that; that's why you have an 'unprocessed' copy there. The most likely reason for the file not being uploaded (given that your other settings look OK) is that you haven't supplied the correct path for the file. It's best to supply a relative path, i.e. one that doesn't start with a 'slash'.

You don't need the 'copy images to folder' setting unless you're running a web server on your own PC. They get copied to your server by ftp anyway because you have the default 'include standard images' set.

In gauges.js, you haven't supplied a relative path for your graphs directory; you probably just want 'images'. When I installed these gauges I found that I had very little configuring to do and the defaults just worked. You seem to have been changing things that didn't need changing.
Steve
mikkimii
Posts: 42
Joined: Fri 23 Mar 2012 3:17 pm
Weather Station: Davis VP2
Operating System: Windows 7 x64 Pro
Location: Vilppula, Finland

Re: Cumulus - Steel Gauge help - http error

Post by mikkimii »

Try change to gauges.js

imgPathURL : 'images/', //*** Change this to the relative path for your 'Trend' graph images
oldGauges : 'gauges.htm', //*** Change this to the relative path for your 'old' gauges page.

And change Cumulus files tab, remonte filenames:
weather/realtimegauges.txt
weather/gauges-ss.htm

You don't need copy images to folder setting.
Br,
Mika
Image
heliraptor
Posts: 24
Joined: Fri 15 Feb 2013 9:42 pm
Weather Station: Davis Advantage Pro 2
Operating System: Win 10 Pro
Location: Colchester

Re: Cumulus - Steel Gauge help - http error

Post by heliraptor »

Excellent !

Thanks both for all your help.

I guess I 'overread' the instructions...trying to make it to hard !!

I have the page up now, but have a message saying the weather station is offline...and no lat/long etc are present. Weather station isn't offline.

http://s453079954.websitehome.co.uk/rad ... ges-ss.htm

How do I tweak the settings to get the lat/long/altitude to show and make sure its online and realtime (I assume al the gauges are realtime)??

Thanks
heliraptor
Posts: 24
Joined: Fri 15 Feb 2013 9:42 pm
Weather Station: Davis Advantage Pro 2
Operating System: Win 10 Pro
Location: Colchester

Re: Cumulus - Steel Gauge help - http error

Post by heliraptor »

HIya

Dont worry...sorted it. Found out a path error on the cumulus config. It had dumped the gauges and realtime text file in the root, not in the weather folder. Amended that and its all sorted.

Just like to thank everyone for their input, you've been a great help.

Cheers

Lee
Post Reply