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

Newbie Issue #2

Discussion of Ken True's web site templates

Moderator: saratogaWX

acatalano
Posts: 92
Joined: Tue 16 Jun 2015 2:07 pm
Weather Station: Davis VP2
Operating System: Raspian, Win7 Pro
Location: Boulder, CO
Contact:

Newbie Issue #2

Post by acatalano »

I got the time corrected so that it now jibes with MX. The Status Page (now with the correct time and date) however chronically shows "not current" in red for Cumulus FTP and Cumulus Weather Data. Cumulus Realtime is often current (but not always-asks for a page refresh) That said I do not see an obvious problem elsewhere. Is this normal? I just don't know what to expect. The displayed time seems to correspond to when I took down the old site and put up this one based on the Saratoga Templates. (http://www.apcat.org)

Many thanks to Ken and everyone who have contributed.
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
User avatar
saratogaWX
Posts: 1199
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: Newbie Issue #2

Post by saratogaWX »

Make sure your FTP schedule for CUtags.php is set to 5 minute intervals .. that's what the wxstatus.php page expects and will show it 'Not Current' if it's over 5:15 m:s 'late'.

The realtime interval should be set to 15 seconds.

The template pages are not set to auto-refresh currently. If you want that to happen, just add

Code: Select all

<meta http-equiv="Refresh" content="300" />
into top.php and that will cause the pages to refresh in the browser every 5 minutes.

Best regards,
Ken
acatalano
Posts: 92
Joined: Tue 16 Jun 2015 2:07 pm
Weather Station: Davis VP2
Operating System: Raspian, Win7 Pro
Location: Boulder, CO
Contact:

Re: Newbie Issue #2

Post by acatalano »

I think I'm going to let my ignorance hang out here...

Added the <meta code in top.php but still nada.

It's pretty clear that CumulusMX is not updating CUtags.php on the web by looking at the site's Control Panel. Looking in the CumuluxMX/web/ folder however, CUtags.txttmp is being updated. In the "extra files" section of CumulusMX I had Cumulus.txt uploading and being renamed to CUtags.php so this seemed to be the problem as the .txt file is static. I changed the web files upload to send CUtags.txttmp and rename as the file CUtags.php but still no joy. It's updated in CumulusMX/web/, but not on the site. Other "native" Cumulus files are being uploaded correctly as I can see this in the ftplog.txt file. I've been assuming that The "extra web file" section of Cumulus is supposed to handle this at the designated interval, but I'm tempted to set up a cron job to force the issue. (Maybe I should have been doing this all along???)

Any thoughts?
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
water01
Posts: 3255
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Newbie Issue #2

Post by water01 »

When CumulusMX processes and uploads a file i.e. CUtags.txt it creates a temporary file with tmp added to the file name i.e. CUtags.txttmp and uploads that file via FTP and renames to the remote filename i.e. CUtags.php.

You should leave all xxxxxxx.xxxtmp files alone as they are the result of the process phase of CumulusMX.
David
Image
acatalano
Posts: 92
Joined: Tue 16 Jun 2015 2:07 pm
Weather Station: Davis VP2
Operating System: Raspian, Win7 Pro
Location: Boulder, CO
Contact:

Re: Newbie Issue #2

Post by acatalano »

Many thanks for the explanation. That confirms my assumption. So in the "Extra Webfiles" page I have CUtags.txttmp as the "local file" and CUtags.php as the "remote filename" with Process and FTP boxes checked. Problem is nothing is showing up in the public_html folder. I suspect I'm making a mistake elsewhere but haven't figured it out yet. Writing a cron job to execute wput in a BASH script would take care of this but Cumulus should do this too. Just haven't figured out my mistake.
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
User avatar
PaulMy
Posts: 3849
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: Newbie Issue #2

Post by PaulMy »

So in the "Extra Webfiles" page I have CUtags.txttmp as the "local file" and CUtags.php as the "remote filename" with Process and FTP boxes checked.
The local file to process is usually CUtagsT.txt (template file which contains the webtags) and the processed file now containing current data is named by Cumulus as CUtags.txttmp and saved in the \web folder, the FTP setting then tells Cumulus to upload that CUtags.txttmp to the remote folder you have specified and there renames it as the "remote filename" CUtags.php. The same process occurs at the next upload interval.

So "local file" is CUtags.txt (make sure it still contains the Cumulus webtags and hasn't been overwritten by processed data in error)
"remote filename" is CUtags.php (the rest is done automatically by Cumulus)
make sure your upload path is correct.

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
BeaumarisWX
Posts: 375
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: Newbie Issue #2

Post by BeaumarisWX »

Hi Anthony,

Looks as though you have some stray code in your Header (likely your "Top.php") : (  )

Code: Select all

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
I just noticed it while viewing your page: can be seen Top Left Corner.

regards,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
water01
Posts: 3255
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Newbie Issue #2

Post by water01 »

So in the "Extra Webfiles" page I have CUtags.txttmp as the "local file"
No that is incorrect. As Paul pointed out the local file should be CUtagsT.txt which is processed internally by CumulusMX to CUtags.txttmp as a temporary file prior to uploading it and renaming it to CUtags.php.

As I said in my previous post you should leave any xxxxxx.xxxtmp files alone they are for CumulusMX internal use only.
David
Image
acatalano
Posts: 92
Joined: Tue 16 Jun 2015 2:07 pm
Weather Station: Davis VP2
Operating System: Raspian, Win7 Pro
Location: Boulder, CO
Contact:

Re: Newbie Issue #2

Post by acatalano »

Thank you David, I got it, and thanks to all of you for the FIRST-RATE help with setting up the site. The site is working fairly well, although I need to move the "red dot" on the radar display to be correct, and there are a few missing items. (any suggestions would be most welcome)

If I still have the opportunity to ask a general question...I lack the "Big Picture" By that I mean the following. I was reading Ken's readme txt file on changing the flyout menu which I did to add a webcam page. In the process I noted his instructions for adding Windows Display Live pages. Elsewhere here and there I have seen people adding steel series gauges etc., I have assumed that using one set of templates makes it difficult/impossible to "blend in" other template systems such as Weather Display, but that appears to be a false impression on my part. Is this possible or does one need a Computer Science degree? Because I am using a Raspberry Pi to acquire & crunch the web data my options are limited, but there is a Weather Display version for Raspian so adding the additional features of Weather Display may be an attractive option.

My long-term plan is to add video (time-lapse) features to the website. In addition to the "photogenic" weather we have in the Rocky Mountains we also have lots of wildlife and my motion-activated RPi infrared cameras have collected quite a lot of material to post.

Again thanks to you all!
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
acatalano
Posts: 92
Joined: Tue 16 Jun 2015 2:07 pm
Weather Station: Davis VP2
Operating System: Raspian, Win7 Pro
Location: Boulder, CO
Contact:

Re: Newbie Issue #2

Post by acatalano »

Thank you David, I got it, and thanks to all of you for the FIRST-RATE help with setting up the site. The site is working fairly well, although I need to move the "red dot" on the radar display to be correct, and there are a few missing items. (any suggestions would be most welcome)

If I still have the opportunity to ask a general question...I lack the "Big Picture" By that I mean the following. I was reading Ken's readme txt file on changing the flyout menu which I did to add a webcam page. In the process I noted his instructions for adding Windows Display Live pages. Elsewhere here and there I have seen people adding steel series gauges etc., I have assumed that using one set of templates makes it difficult/impossible to "blend in" other template systems such as Weather Display, but that appears to be a false impression on my part. Is this possible or does one need a Computer Science degree? Because I am using a Raspberry Pi to acquire & crunch the web data my options are limited, but there is a Weather Display version for Raspian so adding the additional features of Weather Display may be an attractive option.

My long-term plan is to add video (time-lapse) features to the website. In addition to the "photogenic" weather we have in the Rocky Mountains we also have lots of wildlife and my motion-activated RPi infrared cameras have collected quite a lot of material to post.

Again thanks to you all!
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
acatalano
Posts: 92
Joined: Tue 16 Jun 2015 2:07 pm
Weather Station: Davis VP2
Operating System: Raspian, Win7 Pro
Location: Boulder, CO
Contact:

Re: Newbie Issue #2

Post by acatalano »

David

I spoke too soon! I do not have a CUtagsT.txt file in my CumulusMX/web or /webfiles folder. I have as I mentioned been uploading the tmp file and it seemed OK; at least the Status page indicated an OK condition. So am I just missing this file?
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
water01
Posts: 3255
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Newbie Issue #2

Post by water01 »

I would say yes you are missing it bar the fact that the tmp file for it exists so Cumulus must be processing it in order to produce the tmp file.

I must admit I do not use the Saratoga templates so I am not exactly sure where CUtagsT.php is installed unles it is just a CUtags.php file.

The obvious person to ask is saratogaWX.

By the way I see you are using CumulusMX build 3025 which is way out of date, current build is 3038, and as is the norm with Beta products it is best to stay up to date, bugs will only be fixed on the latest release.
David
Image
User avatar
PaulMy
Posts: 3849
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: Newbie Issue #2

Post by PaulMy »

I do not have a CUtagsT.txt file in my CumulusMX/web or /webfiles folder.
The CUtags.txt is included in the CU-plugin folder that comes with the Saratoga template for Cumulus. The instructions for setting this up is in the README.txt in that CU-plugin folder.
I have as I mentioned been uploading the tmp file and it seemed OK; at least the Status page indicated an OK condition.
Do you have the CUtags.txt included in the Extra webfiles to be processed by Cumulus, and if so what is the exact local source and remote upload settings for this?

Is the data in that tmp file current for your station, or could that be stale data from a previous processing?

Paul
You do not have the required permissions to view the files attached to this post.
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
acatalano
Posts: 92
Joined: Tue 16 Jun 2015 2:07 pm
Weather Station: Davis VP2
Operating System: Raspian, Win7 Pro
Location: Boulder, CO
Contact:

Re: Newbie Issue #2

Post by acatalano »

I do have the CUtags.txt in the /home/pi/CumulusMX/web/folder, what I don't have is CUtagsT.txt My problem has been a failure on my part to specify the destination path as public_html as I had assumed incorrectly that it would carryover from the CumulusMX Internet Setting entry. I should have known better in hindsight (assume nothing!) That in combination with a flaky connection (only now back up) has made for some difficulties. Things look OK for the moment, but I would like to add more features to the site, hence my earlier question about integrating features from Weather Display.

Many thanks for your help!!! I'll continue to do this :bash: until I get it right.
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
User avatar
PaulMy
Posts: 3849
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: Newbie Issue #2

Post by PaulMy »

I assume the Cumulus processing and upload of CUtags is now resolved. I should have mentioned earlier that it really doesn't matter whether it is CUtags.txt or CUtagsT.txt as long as the file you use has the webtags in it for processing, and you have the settings for local source and remote path correct.
Things look OK for the moment, but I would like to add more features to the site, hence my earlier question about integrating features from Weather Display.
Sorry I can't help with anything Weather Display other than you can only use one weather program, i.e. Cumulus or WD at the same time and not both (except if you use VVP successfully). Mark's Steelseries gauges were originally designed for Cumulus and are available for the Saratoga template set http://www.komokaweather.com/komokaweat ... gauges.php.

There are many add-on scripts available for Cumulus users of the Saratoga www.komokaweather.com, Leuven www.komokaweather.com/weather28/, Meteotemplate www.komokaweather.com/j-template/, and the newer Homeweather www.komokaweather.com/pws/cumulus.php

Folks will be glad to share their experience and help in any of those.

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