Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
CumulusMX and Cumulus1 UI style Multilingual Websites
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
This is an artefact of the spacer configured to position the page below the menu.
The next release eliminates the need for this spacer.
In the meantime it may be removed by changing this line (just below the <body> tag)
<table><tr><td style="line-height: 16px; "> </td></tr></table>
to
<table><tr><td style="line-height: 16px; border-top:hidden;"> </td></tr></table>
The number of px may be different - retain the same number that you currently have.
The next release eliminates the need for this spacer.
In the meantime it may be removed by changing this line (just below the <body> tag)
<table><tr><td style="line-height: 16px; "> </td></tr></table>
to
<table><tr><td style="line-height: 16px; border-top:hidden;"> </td></tr></table>
The number of px may be different - retain the same number that you currently have.
-
- Posts: 220
- Joined: Tue 07 Feb 2012 9:42 am
- Weather Station: Davis Vantage PRO2
- Operating System: Windows 11 Pro 64 Bit
- Location: Camberley
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Thank you.
Regards
Regards
-
- Posts: 230
- Joined: Thu 10 Dec 2015 6:41 am
- Weather Station: Davis Vantage Pro2
- Operating System: Win 11 Home
- Location: Brisbane, Queensland, Australia
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
My thanks too.
Keith
Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
I have just got this working and wanted to say a big "thank you" to Brian for making it available - it's very neat
https://tillyspaws.com/vp2cmxui/index.php
Some comments and queries:
(1) My location webtag texts include an apostrophe and that prevented me getting off first base, so I replaced the single quotes around location and longlocation in CUtagsMXT.php by double quotes, and all was well.
(2) I happened to notice that the inside humidity popup doesn't work because HumIn.php doesn't exist in the distribution. It has mutated to HumI.php. I don't think inside humidity is usually of much interest!
(3) The setup is similar to PaulMY, keeping the original cumulus website intact and running the UI site "independently" (unlike Paul, they are in separate directories on my website). The UI site utilizes the realtimegauges.txt and json files that are uploaded for the old site, and this required changes so these files could be found. It took me a while to decipher where the changes needed to be made, but in the end there were only three - (a) gauges.js - "realTimeUrlCumulus"; (b) graphSettings.php - "$GRAPH['jsonloc']; and (c) cumuluscharts.js - all the URLs required a prefix. As an aside, the logic of the files for the gauges, and especially the popups, has eluded me for a very long time so this was an exercise expensive in time
(4) I kept the UTF-8 encoding ticked for the NOAA reports, otherwise for other sites I get errors with the degree symbol. The solution I read (somewhere - can't find it now) of commenting out the preg_replace didn't work for me, but editing the echo to echo preg_replace(array('/\xC2/U','/\xB0/U'), array('°','°'),$rpt); did (nb leave the two single quotes). Crude but it gave me the outcome I wanted.
(5) As for improvements, it would be nice to have crisper text for the gauges lcd - something like the "real" user interface. A quick look to see whether I could achieve this ended in failure.
(6) Finally, are there any instructions out there somewhere for setting up the "M" site for the davis console? I would really like to install that for my phone.
https://tillyspaws.com/vp2cmxui/index.php
Some comments and queries:
(1) My location webtag texts include an apostrophe and that prevented me getting off first base, so I replaced the single quotes around location and longlocation in CUtagsMXT.php by double quotes, and all was well.
(2) I happened to notice that the inside humidity popup doesn't work because HumIn.php doesn't exist in the distribution. It has mutated to HumI.php. I don't think inside humidity is usually of much interest!
(3) The setup is similar to PaulMY, keeping the original cumulus website intact and running the UI site "independently" (unlike Paul, they are in separate directories on my website). The UI site utilizes the realtimegauges.txt and json files that are uploaded for the old site, and this required changes so these files could be found. It took me a while to decipher where the changes needed to be made, but in the end there were only three - (a) gauges.js - "realTimeUrlCumulus"; (b) graphSettings.php - "$GRAPH['jsonloc']; and (c) cumuluscharts.js - all the URLs required a prefix. As an aside, the logic of the files for the gauges, and especially the popups, has eluded me for a very long time so this was an exercise expensive in time
(4) I kept the UTF-8 encoding ticked for the NOAA reports, otherwise for other sites I get errors with the degree symbol. The solution I read (somewhere - can't find it now) of commenting out the preg_replace didn't work for me, but editing the echo to echo preg_replace(array('/\xC2/U','/\xB0/U'), array('°','°'),$rpt); did (nb leave the two single quotes). Crude but it gave me the outcome I wanted.
(5) As for improvements, it would be nice to have crisper text for the gauges lcd - something like the "real" user interface. A quick look to see whether I could achieve this ended in failure.
(6) Finally, are there any instructions out there somewhere for setting up the "M" site for the davis console? I would really like to install that for my phone.
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
In gauges.js, around line 49 change:-(5) It would be nice to have crisper text for the gauges lcd
digitalFont : true,
to
digitalFont : false,
This change is the default in the next release of the MXUI website.
Well, no - You are the first person to ask about it!(6) Are there any instructions out there somewhere for setting up the "M" site for the Davis console?
It is something I could look at once I have the current work on the next release of the MXUI website completed. davconVp2CU_m.php is basically a stripped down version of the standard file set for the Davis Live Console with paths for some of the files pointing to the main site location.
It contains the full ./davcon folder plus
modified davconvp2CU_m.php & davconvp2CU-inc_m.php, header, footer, index, a .css, and a number of processed datafiles from the CumulusMX\web folder.
Hasn't been touched in some time so will need updating.
-
- Posts: 93
- Joined: Sun 02 Jan 2011 9:38 am
- Weather Station: Davis Vision-Vue
- Operating System: Raspbian Jessie
- Location: Stevenage, Herts, UK
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Rain units
My website has these templates in use and I'm very happy with the result, except for the Rain units.
I have my Cumulus set to UK English units, so Temperature in deg C, wind in mph, pressure in hPa and rain in inches.
Yes I know it is inconsistent, but so be it.
I can set ajaxCUmx.js to E(US) or M (metric) but I do not want temperature in Fahrenheit. I can live with rain values in mm (which is what I am getting) if that is the only way, but how do I change the rain units so the web pages show 'mm' instead of 'in.''?
Thanks in anticipation.
My website has these templates in use and I'm very happy with the result, except for the Rain units.
I have my Cumulus set to UK English units, so Temperature in deg C, wind in mph, pressure in hPa and rain in inches.
Yes I know it is inconsistent, but so be it.
I can set ajaxCUmx.js to E(US) or M (metric) but I do not want temperature in Fahrenheit. I can live with rain values in mm (which is what I am getting) if that is the only way, but how do I change the rain units so the web pages show 'mm' instead of 'in.''?
Thanks in anticipation.
Malcolm
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Unfortunately there are historical issues with the way units options are handled (or not!) which have been inherited.
Not all options are available.
This should be resolved in the next release where this area (and a number of others) have been re-written.
Not all options are available.
This should be resolved in the next release where this area (and a number of others) have been re-written.
-
- Posts: 93
- Joined: Sun 02 Jan 2011 9:38 am
- Weather Station: Davis Vision-Vue
- Operating System: Raspbian Jessie
- Location: Stevenage, Herts, UK
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Thanks for that, I look forward to the update.
For now I have done a quick and dirty edit of the Index, Now and Today/Yesterday pages to directly enter the rain units in mm. At least the information is correct now.
Malcolm
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Just happened to notice Heat Index is a little high at "43.4". Not bad for winter . Probably picking up the wrong tag - all time high? I see Tony's Beaumaris weather is also reporting a high value.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2473
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
6 Celsius happens to be 43 Fahrenheit. Coincidence? Or units?
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Coincidence here's the latest snapshot. I haven't dealt with Fahrenheit since school days, and thank goodness the days of -32 and 5/9 have past by - about 5 decades ago here. I will have a look at the code but I'm pretty sure it's showing the record high AT. I probably should hide heat index and wind chill - they are not very useful here.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 93
- Joined: Sun 02 Jan 2011 9:38 am
- Weather Station: Davis Vision-Vue
- Operating System: Raspbian Jessie
- Location: Stevenage, Herts, UK
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
My web site is doing the same,
http://elm30net.ddns.net/
37.7C is my all time Apparent record.
Let me know how you get on, I’m relying on Cellular at the moment so can’t post a cut down image.
http://elm30net.ddns.net/
37.7C is my all time Apparent record.
Let me know how you get on, I’m relying on Cellular at the moment so can’t post a cut down image.
Malcolm
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Line 154 of index.php edit "echo $heatindexH" to "echo $heatindexTH" seems to do the trick.
edit: also same change required on line 175 (if apparent temp is being suppressed)
edit: also same change required on line 175 (if apparent temp is being suppressed)
-
- Posts: 93
- Joined: Sun 02 Jan 2011 9:38 am
- Weather Station: Davis Vision-Vue
- Operating System: Raspbian Jessie
- Location: Stevenage, Herts, UK
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Thanks for the tip.
Malcolm
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
-
- Posts: 220
- Joined: Tue 07 Feb 2012 9:42 am
- Weather Station: Davis Vantage PRO2
- Operating System: Windows 11 Pro 64 Bit
- Location: Camberley
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Thanks for the tip!