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

MX Interface

Share your Cumulus MX user interface here

Moderator: mcrossley

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

MX Interface

Post by griffo42 »

On the index page of the interface, I have altered the coding to include the BOM Australia forecast for Brisbane rather than showing the computed forecast. This forecast is changed twice daily by the BOM but the latest forecast does not appear unless I clear the cache. Is there any way that I can code this to cause the latest forecast to be shown. BTW the MX.ai interface acts in the same way!

My coding for this (start at line 229) is in the zipped file attached.

Keith
You do not have the required permissions to view the files attached to this post.
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
Image
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: MX Interface

Post by griffo42 »

Please see the attachment below and notice the extra characters around temperature reportings. Can some one tell me how to fix this please. ? php version used on by my ISP?
Screenshot 2023-05-19 073414.png
Thanks
Keith
https://kstwx.net/cumx/index.htm
You do not have the required permissions to view the files attached to this post.
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
Image
flort
Posts: 224
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: MX Interface

Post by flort »

Hi Keith,

I don't know how to fix your forecast but your temperature unit is coming from your websitedata.json file. The output from processing this file displays "tempunit":"°C"

Regards,
Trevor
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX Interface

Post by mcrossley »

Do you have "Enable UTF-8 encoding" enabled under: Internet Settings > Web/Upload Site > General Settings?
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: MX Interface

Post by griffo42 »

@mcrossley. Thanks for your reply. Yes, this was enabled. Re-saved those settings to try to make sure and after the re-save there is no change.

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
Image
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX Interface

Post by mcrossley »

Have you edited the websitedataT.json file at any point?
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: MX Interface

Post by griffo42 »

mcrossley wrote: Sat 20 May 2023 10:05 pm Have you edited the websitedataT.json file at any point?
No. BTW the encoding for this file is UTF-8 and Windows (CR LF).

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
Image
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX Interface

Post by mcrossley »

No. BTW the encoding for this file is UTF-8 and Windows (CR LF).
The file in the distribution .zip has Unix line endings (LF), so if the file is now CRLF has been altered. I'd try restoring the original from the zip file.

If that does not work, then I'm out of ideas. Something is presenting the UTF-8 data as "non-UTF8" somewhere.
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: MX Interface

Post by griffo42 »

mcrossley wrote: Tue 23 May 2023 9:11 am
No. BTW the encoding for this file is UTF-8 and Windows (CR LF).
The file in the distribution .zip has Unix line endings (LF), so if the file is now CRLF has been altered. I'd try restoring the original from the zip file.

If that does not work, then I'm out of ideas. Something is presenting the UTF-8 data as "non-UTF8" somewhere.
Thanks for your help. Yes, I have done all of that with no joy!

Could it be anything to do with the version of PHP that is used by my ISP To process Cumulus files? In any event, could you please tell me the recommended version of PHP I should set in cPanel; it is currently 7.3?

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
Image
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX Interface

Post by mcrossley »

PHP version shouldn't affect anything.

What upload mechanism are you using - FTP or PHP?
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX Interface

Post by mcrossley »

You have another web site - https://www.kstwx.net/cumx/index.htm - and the websitedata,json file for that site is OK.

Is that being fed by a different instance of CMX?
broadstairs
Posts: 774
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

Re: MX Interface

Post by broadstairs »

I just took a look at all the linked websites shown and none show anything like that initial screenshot. Am I missing something? This is using the Kiwi browser.

Stuart
User avatar
PaulMy
Posts: 3852
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: MX Interface

Post by PaulMy »

Looking at all 3 URL's in your signature, and they all appear fine from here.

Enjoy,
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
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX Interface

Post by mcrossley »

Yep, looked like it is fixed. What was the solution?
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: MX Interface

Post by griffo42 »

It ended up being that I did not have a tick in the UTF-8 column in the extra files settings for the website data T.json file. I have always had the the general settings UTF-8 one ticked.

Thanks again everybody for your help.


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
Image
Post Reply