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

Version 1 or 2 beta

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

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: Version 1 or 2 beta

Post by steve »

and redid to: "images/" as you requested and will leave it this way for now
You still have it set to "/images/", rather than "images/", so it's looking in http://www.komokaweather.com/images/ for the graphs.

imgPathURL : "/images/", //*** Change this to the relative path for your 'Trend' graph images

needs to be

imgPathURL : "images/", //*** Change this to the relative path for your 'Trend' graph images
Steve
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Version 1 or 2 beta

Post by PaulMy »

By the way while investigating your site I noticed you are using a FRAME to display your menus and sub menu content.

Just to let you know these do not always work as you wish because if someone was to enter your site via a URL other than http://www.komokaweather.com/ such as http://www.komokaweather.com/weather/ then all the framing is lost.

Nowadays most people do not use framing because of this and use CSS columnised /divs which ensures that side columns are maintained regardless of where the user enters your site (and before anyone jumps on my case I do know there are other ways to do this, but just giving and example!!).

There are many free examples on the web and here is just one http://www.dynamicdrive.com/style/ but typing in "css menu columns" into google will find lots of others.
_________________
David
Thanks David,
Yes, I have heard the use of Frames is not ideal. It was started by my son-in-law to provide a better menu bar for the standard Cumulus templates and I've learned and feel quite comfortable to use it and edit as I become aware of changes and additions. I also have Ken True's php template site, but like the Cumulus standard pages so very hesitant to redo as I am afraid of the complications and outcome that I would be strugling with. I have learned an awful lot here but most is still over my head :oops: But I will look at those sites and may experiment and call for help in a new thread :lol:

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Version 1 or 2 beta

Post by PaulMy »

Thanks Steve,
I think you've also highlighted the issue. I have actually edited gauges.js to "images/" in Notepad++, saved the edited file (both as Save and Save as in Notepad++), ftp via Filezilla making sure it is the latest saved file, yet it seems to show as "/images/".

I will open gauges.js again, retype "images/" then save as, making sure there is only 1 gauges.js in my /web folder, and then go to that directory in Filezilla to select that file and ftp.

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
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: Version 1 or 2 beta

Post by steve »

Make sure you're uploading it to weather/scripts/gauges.js
Steve
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Version 1 or 2 beta

Post by mcrossley »

It's working now :clap:
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Version 1 or 2 beta

Post by PaulMy »

Steve, I am :oops:
All this time I have been ftp to \weather :bash: :bash:
In my last edit I found that I had inadvertently removed the , (comma) in "images/", which I have now fixed. But my error was in uploading gauges.js to the wrong directory.

HOORAY ss-gauges are working for me in IE and Chrome
In FF the text shows but nothing in the lower box, in Opera the text shows and the word Image in the lower box and this may just be a caching in my weather computer. Have not tried it on the laptop.

A great thanks to all for your assistance. Another giant step for me...
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Version 1 or 2 beta

Post by water01 »

Glad to see it working well. Your Wind Chill is a bit manic on the Outside Temperature chart are you sampling every 5 seconds or something.
I also have Ken True's php template site, but like the Cumulus standard pages so very hesitant to redo as I am afraid of the complications and outcome that I would be strugling with. I have learned an awful lot here but most is still over my head But I will look at those sites and may experiment and call for help in a new thread
Well if you need help just let me know as you have some good information on there and the Frame rather spoils it. A nice CSS drop down would make it work better. Email me or PM either will do, otherwise good luck with your station.
David
Image
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: Version 1 or 2 beta

Post by steve »

water01 wrote:Your Wind Chill is a bit manic on the Outside Temperature chart
It's a consequence of the 4.8 kph cutoff for the wind chill formula; when the wind is hovering around that speed, it has that effect on the graph.
Steve
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Version 1 or 2 beta

Post by PaulMy »

I have enabled Realtime and interval set at 10 sec. I presume the fluctuation is from the setting and wind change. I am shielded by a number of large trees so the wind reading is not the most accurate at all times.

Steve, just saw your explanation, and thanks.

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
Post Reply