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 4019) - 03 April 2024

Legacy Cumulus 1 release 1.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

Tempertaure Graph unit display problem

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Tempertaure Graph unit display problem

Post by gwheelo »

All the Temp.php graphs are displaying a curious tempertaure quantity. Can anyone help. I have uploaded fresh copies of GraphSettings.php and temp.php to my website with no improvement. Could this be a problem with my realtime.txt file.

I have included a sample of the temp graph and realtime.txt.

GW
You do not have the required permissions to view the files attached to this post.
Image
pinto
Posts: 112
Joined: Sat 11 Oct 2008 3:20 pm
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Debian Buster

Re: Tempertaure Graph unit display problem

Post by pinto »

I was trying to find a solution for you, but I think it has to do with some server setting.
But...
in temp.php is a line

Code: Select all

            $SITE['tempunit'] 	= "°" . ret_value("tempunit");
BTW it does display OK with the debug parameter

you can try to change to

Code: Select all

            $SITE['tempunit'] 	= "°" . ret_value("tempunit");
(it is the degrees symbol on your keybord)
But I don't know if it does work for you.
I did try it on my workstation (on WAMP) and for me it does work
Jozef
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: Tempertaure Graph unit display problem

Post by gwheelo »

$SITE['tempunit'] = "° " . ret_value("tempunit");

Fixed the problem! Brilliant! Did the same for indoor and dewpoint graphs - and everything is humming.

I wonder why no one else has had the problem?

Thanks for the help!
Image
Post Reply