Page 1 of 1

CumulusMX + Saratoga graphics

Posted: Mon May 07, 2018 11:35 am
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

Re: CumulusMX + Saratoga graphics

Posted: Wed May 09, 2018 7:07 am
by Toxic17
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?

Re: CumulusMX + Saratoga graphics

Posted: Wed May 09, 2018 4:12 pm
by water01
Done.

Re: CumulusMX + Saratoga graphics

Posted: Wed May 09, 2018 7:56 pm
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

Re: CumulusMX + Saratoga graphics

Posted: Wed May 09, 2018 8:30 pm
by mcrossley
Fairly easy to convert to lighttpd though, with a quick Google ;)

Re: CumulusMX + Saratoga graphics

Posted: Wed May 09, 2018 8:51 pm
by sv1iw
Will give it a try then even for the fun of it, Thanks again for the suggestion... 8-)

Re: CumulusMX + Saratoga graphics

Posted: Wed May 09, 2018 9:17 pm
by mcrossley
I use Nginx so I cannot use .htaccess files either, I have to convert them.

Re: CumulusMX + Saratoga graphics

Posted: Fri May 11, 2018 11:20 pm
by Toxic17
looks like you have issues with your web folder permissions perhaps.

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

Re: CumulusMX + Saratoga graphics

Posted: Fri May 11, 2018 11:49 pm
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

Re: CumulusMX + Saratoga graphics

Posted: Sat May 12, 2018 12:01 am
by Toxic17
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.

Re: CumulusMX + Saratoga graphics

Posted: Sat May 12, 2018 12:03 am
by Toxic17
Also your http://sv1iw.ignorelist.com/weather/wxstatus.php status page is showing you are not uploading the data in the correct time frame.

Re: CumulusMX + Saratoga graphics

Posted: Sat May 12, 2018 9:32 am
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