Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.11.4 (build 3133) - 25 May 2021 (please see announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.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

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
BCJKiwi
Posts: 1094
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled with Solar
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

I'm at a loss to explain this.

I have been running this version of realtime-xT.txt for an extended period with the last 2 versions of CumulusMX and have no errors.

I don't run a Pi

What webtag is it?

sutne
Posts: 166
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: Oregon Scientific WMR100
Operating System: Raspbian Buster
Location: Rjoanddalen, Voss, Norway
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by sutne »

BCJKiwi wrote:
Mon 16 Nov 2020 7:38 pm

What webtag is it?
From the code in my previous post it seems to be this:
token=<#Version MX_2.1.3 - 15-Nov-2020>

This is from the MXDiag log file.

As far as I can see everything is working, but the log-file has this every realtime-interval.

BCJKiwi
Posts: 1094
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled with Solar
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Well, That does not appear anywhere in realtime-xT.txt
Part of it is in the second line of realtimetagsT.php

Code: Select all

<?php
// silveracorn.nz MXUI website --- Version MX_2.1.3 - 15-Nov-2020
// MX build 3093
// realtimetagsMXT.php - see also realtime-x.txt
// Cumulus php varname:- $RT_realtime varname
It was in realtimetagsT.php of version 2.1.1 and 2.1.2 in the same format and is in some other files processed by CumulusMX as well.

User avatar
beteljuice
Posts: 3212
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by beteljuice »

Looking at his realtime-x.txt - the 'error' is being output to field #38 <#version>
Image
......................Imagine, what you will KNOW tomorrow !

BCJKiwi
Posts: 1094
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled with Solar
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Thanks,
PaulMy also located the problem

Somehow the error only got into the distribution file set for MXUI website and is not in the C1 distro nor in the file in my CumulusMX/web/realtime-xT.txt file.

Corrected file attached.
First post updated.
You do not have the required permissions to view the files attached to this post.

BCJKiwi
Posts: 1094
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled with Solar
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

It seems that there are also some wxshare paths included in the CumulusMX Options files ( again, not in C1) for the Davis console files:-

davconvp2CUmx.php
davconvueCUmx.php

on lines 138 and 140

These have been updated in the first post but if you already have these installed it may be simpler to correct these in the existing files.
replace ../wxshare/ with ./

BCJKiwi
Posts: 1094
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled with Solar
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Customising the MXUI website jpgraphs
In response to a query on how to simplify the temperature and Humidity graph in block1 Row1 of the index page, the attached file will hopefully prove useful should you wish to make changes to the jpgraphs in Block1 Row1 of the index page (and for the gauges popup graphs).
jpgraphsHowTo.zip
Ver 1.1 Updated 22/11/2020
You do not have the required permissions to view the files attached to this post.
Last edited by BCJKiwi on Sun 22 Nov 2020 1:45 am, edited 2 times in total.

sutne
Posts: 166
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: Oregon Scientific WMR100
Operating System: Raspbian Buster
Location: Rjoanddalen, Voss, Norway
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by sutne »

This is very good, but as always: one thing leads to another:
Could these charts be part of the translation system?

BCJKiwi
Posts: 1094
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled with Solar
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

As stated, There is no translation available for these graphs.

It has been looked at but no way has been found (yet) to make translation work.
However, you can edit the titles and legends to any text (i.e. your language) you like but it will be fixed.

See updated Howto file 2 posts earlier than this one.

griffo42
Posts: 102
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Brisbane, Queensland, Australia
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by griffo42 »

On my Dashboard, the times for Dawn, Dusk, Day length and Daylight length all show as "undefined".

Please show me what file/setting I have to amend to have these values correctly shown. I have tried to find these but to no avail.

In my settings.php file I have as shown at lines 39/40:

$show_daylengths = 1; // 0 NO Day length or Daylight length on Dashboard
// 1 Show Day length and Daylight length on Dashboard

Thanks

Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win10 - Saratoga Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.htm
https://www.kstwx.net/mxtestv2/index.php
Image

BCJKiwi
Posts: 1094
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled with Solar
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Have you updated
realtimetagsT.php
and
realtime-xT.txt
??

griffo42
Posts: 102
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Brisbane, Queensland, Australia
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by griffo42 »

BCJKiwi

All sorted.

Thanks for your help.

Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win10 - Saratoga Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.htm
https://www.kstwx.net/mxtestv2/index.php
Image

User avatar
meteo19
Posts: 33
Joined: Tue 03 May 2016 8:13 pm
Weather Station: Davis VP2
Operating System: Microsoft Windows 7 Pro
Location: Ségur-Le-Château, France
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by meteo19 »

Hi

A small error in recordsMXT.js corrected as an attachment the correct file thanks for your work. A small error in recordsMXT.js corrected as an attachment the correct file thanks for your work.
Patrick
You do not have the required permissions to view the files attached to this post.

BCJKiwi
Posts: 1094
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled with Solar
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

Thanks,

Actually the lines (296 and 297) should be:-

Code: Select all

"<span lang='en'>at</span> <#MonthWChillLT format=HH:mm> <span lang='en'>on</span> <#MonthWChillLD format="dd"> <span lang='en'><#MonthWChillLD format="MMMM"></span> <#MonthWChillLD format="yyyy">",
"<span lang='en'>at</span> <#YearWChillLD format=HH:mm> <span lang='en'>on</span> <#YearWChillLD format="dd"> <span lang='en'><#YearWChillLD format="MMMM"></span> <#YearWChillLD format="yyyy">");
recordsMXT.zip
Although it seems there is some flexibility between
LT and LD
as long as the times and dates are fully specified.

First post updated
You do not have the required permissions to view the files attached to this post.

BCJKiwi
Posts: 1094
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled with Solar
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Post by BCJKiwi »

CumulusMX and Cumulus1 UI style Multilingual Websites V 2.1.4

Version 2.1.4 adds Historic charts to version 2.1.3.
Note:-
Build 3097 or greater is required.

Note:- There is an unresolved translation issue with Historic Charts solar chart.

Post Reply