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

Remove apparent from the graphs

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Remove apparent from the graphs

Post by Nevizio »

I was wondering if it is possible to remove the apparent temperature item from the graphs (the red line) :?:
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Remove apparent from the graphs

Post by HansR »

Yes, you can.

I did it for the inside temperature, you can follow what is below for the apparent temperature.

Goto 'webfiles/js/cumuluscharts.js'

You can edit this file for the function "var doTemp = function () "

Comment out

Code: Select all

//            }, {
//                name: 'Inside',
//                visible: false
in the series for that function and

Code: Select all

//            chart.series[5].setData(resp.intemp);
in the ajax part of the code a bit below.

Of course, as apparent temp is not the last series, you have to renumber indexes.
That's it. Good luck.
Oh, and to be clear: this type of tweaking usually means that you're on your own from there on.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Remove apparent from the graphs

Post by Nevizio »

Could you put the already edited file here? I would be very grateful!(I mean both without apparent and inside)
Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Remove apparent from the graphs

Post by Nevizio »

n practice, do I have to delete the parts related to the 2 parameters and renumber the order of the indexes?
I would like to try it alone but everything is easier if I would post the modified file, I think it can be useful to many
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Remove apparent from the graphs

Post by HansR »

I can't reach my machine right now, i might have sent the file, but i do have the following remarks:

1) this is a file which is part of the cumulus distribution so i am not going to send it, you already have it.
2) you don't have to delete , just comment out the line you don't need you don't need see my examples.
3) if you think you be better off with an full file example like mine i disagree. I gave you the changed code, you already have the file so that's enough. If it isn't , you seriously must ask yourself whether you really want to do this and whether you have the knowledge and guts to try things like this.
Cheers, hans
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Remove apparent from the graphs

Post by Nevizio »

Okay I'll try to do it 'by myself, probably I won't be able to' but never mind, I have no computer language skills, sometimes it happened that someone was asking for things that he didn't know how to do I never pulled back, if you can be d help is a good thing for the community.

PS:the file you posted is unmodified is identical to the one I have, the writing inside with those settings is not highlighted but there is however I intended to make it disappear completely as well as that relating to appartent, but never mind I'll do it by myself.
Nevizio
Posts: 106
Joined: Wed 10 Feb 2016 8:43 pm
Weather Station: Oregon Scientific wmr-200
Operating System: Windows 10 - Android
Location: U.S.

Re: Remove apparent from the graphs

Post by Nevizio »

I just needed syntax that allows me to have the graph without those 2 parameters....
(without controversy ;) )
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Remove apparent from the graphs

Post by HansR »

You have all the information you need. Just try (and err).
Nobody ever got killed by meddling with some meteo software.
If you have no computer language skills, no problem, learn them. Meddling with code requires some minimal skill.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Remove apparent from the graphs

Post by mcrossley »

'course, you could just click the graph to remove it from the display ;)
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Remove apparent from the graphs

Post by HansR »

Ehmm... You really think he meant that? :?:
I am no good in support i guess. :(
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Remove apparent from the graphs

Post by mcrossley »

No idea, but it's what I'd do, then you are not locked into changing files for each new release.
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Remove apparent from the graphs

Post by HansR »

Mmm... I did it for the website only.
Rarely or never update the code. Interface is always standard, website is never uploaded.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Remove apparent from the graphs

Post by mcrossley »

True, I was thinking admin interface (I was editing it at the time :) )
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: Remove apparent from the graphs

Post by Phil23 »

HansR wrote: Fri 22 Nov 2019 10:03 am I did it for the inside temperature,
Having Inside Temp & particularly the graph publicly viewable can be amusing.
My next door neighbour asked if I really needed it....

He & his wife check my site daily & his wife began pointing out that our house remained much warmer overnight & demanded he meet the same standards.

More late night & early morning fire stoking required.....

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
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Remove apparent from the graphs

Post by HansR »

:lol:
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply