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

Steelseries Upgrade.

Share your Cumulus MX user interface here

Moderator: mcrossley

Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Steelseries Upgrade.

Post by Phil23 »

Toxic17 wrote: yeah I am at a lost too, though I have the graphs now being displayed on their own, just not in the popup windows.

https://www.conligwx.org/graphPress.php

the .htaccess file supplied is suppose to change the naming convention so you dont have to rename the line 203 etc. though I still cannot get the images shown using *.png files
If you are seeing the images when you run the Php, sounds like you are mostly there.
I was stuck at that point until I came to understand that the .htaccess file belonged in with the images & the scripts.

Mine are in weather/images on a standard CumulusMX install.
the other issue I have is I am on PHP 7.1.1 and I needed jpgrahs 4.x and higher. the scripts Mark has kindly provided was calling for a php file that was not part of jpgraphs 4.0.x
That may not be an issue if the php's are already displaying the images as in..

http://weather.inverellit.com/images/graphPress.php
the missing file was: jpgraph_glayout_vh.inc.php which I had to check the Apache logs too see what the hell was going on..
I just deleted that line as mentioned on Github, https://github.com/mcrossley/Cumulus-MX-Gauge-Graphs

Code: Select all

Mark Wittl has kindly contributed a WindRose script, if you want to use this graphic, then there are some additional steps you need to take...
1.Modify the  jpgraph_windrose.php  file to remove the import of 'jpgraph_glayout_vh.inc.php'  //require_once('jpgraph_glayout_vh.inc.php'); 
2.Edit the  jp-config.inc.php  file to point to the font directory under the installed jpgraph location  define('TTF_DIR','<YOUR_PATH>/jpgraph/fonts/');  You will need the following font files  arial.ttf  and  verdana.ttf 
I have managed to put that with the rest of the jpgraph files and now it at least displays the graph calling the php file on its own. I think the next is is the popups are not creating the image files due to the naming so I will try your workaround and see if i get any joy.
Got stuck there as well, as no new png's are created, they are made on the fly, by the .htaccess.
Think that's roughly like Subst in the DOS days, (very poor comparison).

So even now when it's working, there are no new PNG's created in my ../images/ directory, only the PHP scripts & the .htaccess file.

Hope that helps

Phil.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
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: Steelseries Upgrade.

Post by mcrossley »

Phil23 wrote: Got stuck there as well, as no new png's are created, they are made on the fly, by the .htaccess.
The PHP scripts return the image data to the browser, it isn't stored anywhere. The .htaccess file just translates "image" file names into script names, so they look like regular images to your browser - and can use the same filenames for the images so existing pages/scripts for Cumulus 1 continue to work.
User avatar
ConligWX
Posts: 1570
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: Steelseries Upgrade.

Post by ConligWX »

mcrossley wrote:
Phil23 wrote: Got stuck there as well, as no new png's are created, they are made on the fly, by the .htaccess.
The PHP scripts return the image data to the browser, it isn't stored anywhere. The .htaccess file just translates "image" file names into script names, so they look like regular images to your browser - and can use the same filenames for the images so existing pages/scripts for Cumulus 1 continue to work.
thanks for the info Mark. unfortunately, I cannot get the popups to display the graph, yet the graph will display if you call the filename via a browser.

https://www.conligwx.org/images/graphPress.php

it maybe due to incompatibility between coding and PHP 7.1.1 I guess.
Regards Simon

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

Image
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: Steelseries Upgrade.

Post by mcrossley »

You have the gauges loading the graphs from...
/share/CACHEDEV1_DATA/htdocs/weather/images/temp.png
but they are here...
/images/temp.png

You seem to have a problem with the JSON data files at the moment.
User avatar
ConligWX
Posts: 1570
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: Steelseries Upgrade.

Post by ConligWX »

Finally its working! had the wrong relative path for the JSON files. Thanks Mark.
Regards Simon

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

Image
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Steelseries Upgrade.

Post by Phil23 »

Toxic17 wrote:Finally its working! had the wrong relative path for the JSON files. Thanks Mark.
Hmm,

Not seeing it here in Aus.
Getting your tool tip window; after a Ctrl-F5 refresh; been plagued by ISP's proxy servers of late, but no graphic.

Do you have it live yet, or only on a test site.

Phil.
Capture.JPG
You do not have the required permissions to view the files attached to this post.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Steelseries Upgrade.

Post by Phil23 »

Scrap my last post.
10 minutes later, another refresh; now it's working.....
Capture.JPG
You do not have the required permissions to view the files attached to this post.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
ConligWX
Posts: 1570
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: Steelseries Upgrade.

Post by ConligWX »

They are working, just the WIndRose popup is stretched. what did you do to make that normal size?

I do use Zend OPCache, which maybe interfering with it. I'll look into excluding these scripts if possible.
Regards Simon

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

Image
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Steelseries Upgrade.

Post by Phil23 »

Toxic17 wrote:They are working, just the WIndRose popup is stretched. what did you do to make that normal size?
Posted my fix over in the other thread.

https://cumulus.hosiene.co.uk/viewtopic.p ... 89#p122836

See the 3rd last code in the block of code I posted in that thread.

Code: Select all

         $('#imgtip10_img').css({width: 400, height: 400}); //Re-size WindRose tip
Phil.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
ConligWX
Posts: 1570
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: Steelseries Upgrade.

Post by ConligWX »

Phil23 wrote:

Code: Select all

         $('#imgtip10_img').css({width: 400, height: 400}); //Re-size WindRose tip
Phil.
Excellent, thanks for that Phil.

I'll add a blacklist to php.ini for Zend Opcache to ignore /images/graph*.php files, so they update each time they are called rather than a possibility of Zend using its cache.
Regards Simon

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

Image
Post Reply