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

template queries / requests that not part of 'mx' code problems

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

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

template queries / requests that not part of 'mx' code problems

Post by griffo42 »

I use the Saratoga templates for my main site. It is looking for a file - realtime.txt - which was part of the b3107 release, can't find it so is not showing the correct weather info. at any minute. I have searched and cannot find such a file in the current release (b3116) of CumulusMX.

The Brand new default web site (Neil Thomas version and this is great) seems to get its data from the file - websitedata.json. How do I now get a file in the form required by the Saratoga templates from the changed new style output data from CumulusMX? Help please.

My Saratoga URL is https://www.kstwx.net/index.php
My Neil Thomas CUMX site URL is: https://www.kstwx.net/cumx/index.htm

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
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: template queries / requests that not part of 'mx' code problems

Post by beteljuice »

So this is NOT a template query ....
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
saratogaWX
Posts: 1238
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: Saratoga template queries / requests that not part of 'mx' code problems

Post by saratogaWX »

The Saratoga template uses two main files for weather data:
1) realtime.txt (uploaded by Cumulus/MX at frequent intervals and used by the ajaxCUwx.js JavaScript to update SOME of the weather data)
2) CUtags.php (uploaded at 5 minute intervals by processing the CUtags.txt files into CUtags.php)

The CUtags.php is controlled by the Extra Web Files upload screen. realtime.txt is a selection in the Internet Settings/Web FTP Settings.

The Saratoga templates do not use the new websitedata.json file, that is only for the new default html templates.
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: template queries / requests that not part of 'mx' code problems

Post by griffo42 »

@saratogaWX

Thanks for your reply.

CUtags.php is OK and correctly shows the current data.
saratogaWX wrote: Sun 28 Feb 2021 2:24 am 1) realtime.txt (uploaded by Cumulus/MX at frequent intervals and used by the ajaxCUwx.js JavaScript to update SOME of the weather data)
I cannot find a file realtime.txt in my installation of the b.3116 issue of CumulusMX. If realtime.txt is necessary to correctly update my Saratoga based website, I would very appreciate it if someone would tell me what I need to do to fix the matter.
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
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: template queries / requests that not part of 'mx' code problems

Post by PaulMy »

Hi,
The realtime.txt file is created in v3.10.1 just like before and is placed in the CumulusMX folder.
To upload realtime go to Settings = Interval settings = Realtime settings - Enable realtime and set the interval, and tick if to FTP.

Enjoy,
Paul
Last edited by PaulMy on Sun 28 Feb 2021 4:12 am, edited 1 time in total.
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
saratogaWX
Posts: 1238
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: template queries / requests that not part of 'mx' code problems

Post by saratogaWX »

See the attached Internet settings.
2021-02-27_CUMX-realtime.png
You do not have the required permissions to view the files attached to this post.
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: template queries / requests that not part of 'mx' code problems

Post by griffo42 »

Thanks to everyone who replied to my original post. All good.

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