Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

CumulusMX + Saratoga graphics

Discussion of Ken True's web site templates

Moderator: saratogaWX

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

CumulusMX + Saratoga graphics

Postby sv1iw » Mon May 07, 2018 11:35 am

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
Toxic17
Posts: 813
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: CumulusMX + Saratoga graphics

Postby Toxic17 » Wed May 09, 2018 7:07 am

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 Toxic17 on Wed May 09, 2018 5:15 pm, edited 2 times in total.
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

water01
Posts: 1459
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: CumulusMX + Saratoga graphics

Postby water01 » Wed May 09, 2018 4:12 pm

Done.

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

Re: CumulusMX + Saratoga graphics

Postby sv1iw » Wed May 09, 2018 7:56 pm

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: 5185
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX + Saratoga graphics

Postby mcrossley » Wed May 09, 2018 8:30 pm

Fairly easy to convert to lighttpd though, with a quick Google ;)

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

Re: CumulusMX + Saratoga graphics

Postby sv1iw » Wed May 09, 2018 8:51 pm

Will give it a try then even for the fun of it, Thanks again for the suggestion... 8-)
Image

User avatar
mcrossley
Posts: 5185
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX + Saratoga graphics

Postby mcrossley » Wed May 09, 2018 9:17 pm

I use Nginx so I cannot use .htaccess files either, I have to convert them.

User avatar
Toxic17
Posts: 813
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: CumulusMX + Saratoga graphics

Postby Toxic17 » Fri May 11, 2018 11:20 pm

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
https://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

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

Re: CumulusMX + Saratoga graphics

Postby sv1iw » Fri May 11, 2018 11:49 pm

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
Toxic17
Posts: 813
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: CumulusMX + Saratoga graphics

Postby Toxic17 » Sat May 12, 2018 12:01 am

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
https://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
Toxic17
Posts: 813
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: CumulusMX + Saratoga graphics

Postby Toxic17 » Sat May 12, 2018 12:03 am

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
https://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

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

Re: CumulusMX + Saratoga graphics

Postby sv1iw » Sat May 12, 2018 9:32 am

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


Return to “Saratoga Templates”

Who is online

Users browsing this forum: No registered users and 4 guests