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 4017) - 17 March 2024

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

Newbie Problems I Suspect

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
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 Problems I Suspect

Post by acatalano »

I have CumulusMX & a webcam running on a Raspberry Pi collecting data from a Davis VP2 and Davis Weather Envoy. Images are FTP'd via a BASH script, and I'm attempting to get the Saratoga Templates configured correctly. Sofar a few items appear to be failing/missing and others seem to be working fine. Website is http://www.apcat.org


What works: webcam page, ajax live updates on homepage, radar (needs tweaks), most external reference pages

What doesn't work:

1)Almanac>Weather Trends-this shows error at bottom of the page "windrose plot file ./images/windrose.png not found" In fact I had no image folder inside public_html created when the Saratoga Templates were unzipped so i created one hoping it would be filled somehow.

2) Almanac>Station Graphs-once again, many missing png files from the image folder

3) Status-Most of the time (but not always) the Status will be "Not Current" although realtime often is, and I have seen all three at one tome or another read "current" briefly
The "Cumulus weather data" shows a bonkers age of 405814:53:25 last updated on Wed, 31-Dec-1969 5:00pm

Any help or advice would be most welcome!
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: 1170
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 Problems I Suspect

Post by saratogaWX »

Regarding the windrose plot and the graphics missing, it's because the CumulusMX software does not generate/publish the .png images the original Cumulus Windows software did. I've not yet released an update to the CU-plugin to support dynamic creation of the images from the JSON files produced by CumulusMX .. sorry...

The Status date issue is caused by a mismatch in the date format produced by CumulusMX which is DMY

Code: Select all

$WX['date'] = '17/04/2016';
and the Settings.php entry

Code: Select all

$SITE['WDdateMDY'] = true; // for WD date format of month/day/year.  =false for day/month/year
which indicates the date should be in MDY format. Change it to

Code: Select all

$SITE['WDdateMDY'] = false; // for WD date format of month/day/year.  =false for day/month/year
and the odd 1969 date issue should be resolved.

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 Problems I Suspect

Post by acatalano »

I did not realize the substantial differences between MX & the older version. I imagine it is quite a substantial coding effort required to create the png files that MX is lacking. That's too bad. I just assumed they were equivalent. Many thanks for the excellent diagnosis for my other ills!
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: 1170
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 Problems I Suspect

Post by saratogaWX »

Mark Crossley has created a set of JPGraph scripts to create the images on-the-fly from the JSON outputs of CumulusMX

See: https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13189

for more details.

It will be somewhat tricky to install both JPGraph, get it working, and then configure the scripts to work on your site.
It took me a couple of hours to work through the details to get it running on my test CumulusMX site. I then had to
modify both wxgraphs.php and CU-trends-inc.php to no longer check for the presence of the .png files, but to just
create the <img> statements and let the server do the rest.
cumulusmx.saratogawx.net/wxgraphs.php
cumulusmx.saratogawx.net/wxtrends.php
are the result.

So... it is quite doable, (but not so simple) to implement.
My thanks to the excellent work by Mark :clap:
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Newbie Problems I Suspect

Post by mcrossley »

saratogaWX wrote: My thanks to the excellent work by Mark :clap:
:oops: Thanks Ken.
Post Reply