Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.5 (build 3282) - 23 February 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

CumulusMX + Saratoga graphics

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
sv1iw
Posts: 10
Joined: Mon 23 Apr 2018 8:52 pm
Weather Station: WX-200
Operating System: Raspbian stretch

CumulusMX + Saratoga graphics

Post by sv1iw »

Hello everyone
I am trying to work with CumulusMX on a Raspberry Pi 2 Model B and Saratoga templates. The templates "as is" are not producing any Station Graphs. I have search the forum and have found some ideas, mostly copies of "wxgraphs.php file alone. Unfortunately most of them I see that they are referring to libraries, json graphs files etc which I do not have. Is there any suggestion for a complete solution? I would like to have all needed information for the libraries or files I would have to use which may be scattered all over Internet but reachable if I know their names, sources etc.
Thank you in advance

Manos SV1IW
Image
User avatar
ConligWX
Posts: 1565
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: CumulusMX + Saratoga graphics

Post by ConligWX »

Moderator, can we move this to Saratoga Templates forum perhaps?

AFAIK mine are created using .htaccess entries

Code: Select all

RewriteRule ^press.png$    graphPress.php [NC,L]
RewriteRule ^temp.png$     graphTempOut.php [NC,L]
RewriteRule ^intemp.png$   graphTempIn.php [NC,L]
RewriteRule ^hum.png$      graphHum.php [NC,L]
RewriteRule ^inhum.png$    graphHumIn.php [NC,L]
RewriteRule ^outhum.png$   graphHumOut.php [NC,L]
RewriteRule ^rain.png$     graphRrate.php [NC,L]
RewriteRule ^raint.png$    graphRain.php [NC,L]
RewriteRule ^solar.png$    graphSolar.php [NC,L]
RewriteRule ^uv.png$       graphUV.php [NC,L]
RewriteRule ^wind.png$     graphWind.php [NC,L]
RewriteRule ^windd.png$    graphWdir.php [NC,L]
RewriteRule ^windrose.png$ graphWindRose.php [NC,L]
do you have a URL to your website?
Last edited by ConligWX on Wed 09 May 2018 5:15 pm, edited 2 times in total.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
water01
Posts: 3201
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulusMX + Saratoga graphics

Post by water01 »

Done.
David
Image
sv1iw
Posts: 10
Joined: Mon 23 Apr 2018 8:52 pm
Weather Station: WX-200
Operating System: Raspbian stretch

Re: CumulusMX + Saratoga graphics

Post by sv1iw »

Thank you for the suggestion Simon.I have managed to work something out: http://sv1iw.ignorelist.com/weather
Still many thing to do but is view-able. I will also try your suggestion although I think that this will suite an Apache web server and I use lighttpd.
Regards
Manos SV1IW
Image
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX + Saratoga graphics

Post by mcrossley »

Fairly easy to convert to lighttpd though, with a quick Google ;)
sv1iw
Posts: 10
Joined: Mon 23 Apr 2018 8:52 pm
Weather Station: WX-200
Operating System: Raspbian stretch

Re: CumulusMX + Saratoga graphics

Post by sv1iw »

Will give it a try then even for the fun of it, Thanks again for the suggestion... 8-)
Image
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX + Saratoga graphics

Post by mcrossley »

I use Nginx so I cannot use .htaccess files either, I have to convert them.
User avatar
ConligWX
Posts: 1565
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: CumulusMX + Saratoga graphics

Post by ConligWX »

looks like you have issues with your web folder permissions perhaps.

http://sv1iw.ignorelist.com/weather/che ... w=versions
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
sv1iw
Posts: 10
Joined: Mon 23 Apr 2018 8:52 pm
Weather Station: WX-200
Operating System: Raspbian stretch

Re: CumulusMX + Saratoga graphics

Post by sv1iw »

Simon the "./cache" folder does not have any version related info file, that is why gives an error. Despite this, the site seems to be working in mst pages. Some need modifications from the original irrelevant details which will do shortly....

Regards Manos SV1IW
Image
User avatar
ConligWX
Posts: 1565
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: CumulusMX + Saratoga graphics

Post by ConligWX »

sv1iw wrote:Simon the "./cache" folder does not have any version related info file, that is why gives an error. Despite this, the site seems to be working in mst pages. Some need modifications from the original irrelevant details which will do shortly....

Regards Manos SV1IW

Code: Select all

Error: Unable to write to ./cache/template-version-info.txt file.
Error: ./cache/template-version-info.txt file is not complete..skipping testing.
this would suggest you have the wrong permissions on the folders, and webfiles cannot be created in there or maybe folders too.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
User avatar
ConligWX
Posts: 1565
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: CumulusMX + Saratoga graphics

Post by ConligWX »

Also your http://sv1iw.ignorelist.com/weather/wxstatus.php status page is showing you are not uploading the data in the correct time frame.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
sv1iw
Posts: 10
Joined: Mon 23 Apr 2018 8:52 pm
Weather Station: WX-200
Operating System: Raspbian stretch

Re: CumulusMX + Saratoga graphics

Post by sv1iw »

Simon Cumulus resides in one Raspberry and web server page is on another. Files are ftped to the second pi and copied (moved) with cron every 15 minutes to the www folder. That is why status shows this. I plan after I finish everything to merge the two pi's so these won't show anymore. The project is still a work in progress as I am not quite happy with the overall results yet. Thank you for the comments though if I stick with Cumulus I will try to fix everything...

Regards Manos SV1IW
Image
Post Reply