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

Historic Temperature 3.9.5 (build 3100)

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

User avatar
galfert
Posts: 195
Joined: Tue 03 May 2016 2:57 pm
Weather Station: Ecowitt GW1000
Operating System: Mint, Raspberry Pi OS, Synology
Location: Orlando, FL

Re: Historic Temperature 3.9.5 (build 3100)

Post by galfert »

UPDATE: The problem is only present on the day you upgrade to build 3100. I upgraded yesterday (or the day before actually I think) and it wasn't working, but today it is working. I have not restarted since installing and the problem fixed itself.

Hopefully this bug can be identified so that it doesn't show up every time you upgrade to next version where it then requires a day or two until the graph works.
Last edited by galfert on Sun 17 Jan 2021 4:03 pm, edited 2 times in total.
Ecowitt GW1000 | Meteobridge RPI | CumulusMX on Synology NAS
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Tele-Pole flag pole
jlmr731
Posts: 225
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Wickliffe, Ohio
Contact:

Re: Historic Temperature 3.9.5 (build 3100)

Post by jlmr731 »

Ok Yes for me it would be chartshistoric.html on the local MX interface that also uses js/chartshistoric.js and those line do match up with what was posted to change.
SO yes may be a Fahrenheit only problem, as suggested since others seem to have it working under the metric system.
User avatar
galfert
Posts: 195
Joined: Tue 03 May 2016 2:57 pm
Weather Station: Ecowitt GW1000
Operating System: Mint, Raspberry Pi OS, Synology
Location: Orlando, FL

Re: Historic Temperature 3.9.5 (build 3100)

Post by galfert »

Well now the whole thing is going crazy. It doesn't work anymore. Haven't touched nor restarted. I thought it was because I was pulling up the chart in my tablet browser so I thought...aha! its a browser thing....but then I go back to the computer where it was working before and now its gone there too. So no it isn't a browser thing. The temperature historic graph is gone again.
Ecowitt GW1000 | Meteobridge RPI | CumulusMX on Synology NAS
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Tele-Pole flag pole
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: Historic Temperature 3.9.5 (build 3100)

Post by mcrossley »

George could you post your graphconfig.json, and tempdata.json content please....

http ://<YOUR_IP>:8998/api/graphdata/graphconfig.json
http ://<YOUR_IP>:8998/api/dailygraphdata/tempdata.json
User avatar
galfert
Posts: 195
Joined: Tue 03 May 2016 2:57 pm
Weather Station: Ecowitt GW1000
Operating System: Mint, Raspberry Pi OS, Synology
Location: Orlando, FL

Re: Historic Temperature 3.9.5 (build 3100)

Post by galfert »

mcrossley wrote: Mon 18 Jan 2021 3:47 pm George could you post your graphconfig.json, and tempdata.json content please....

http ://<YOUR_IP>:8998/api/graphdata/graphconfig.json

Code: Select all

{"temp":{"units":"F","decimals":1},"wind":{"units":"mph","decimals":1,"rununits":"miles"},"rain":{"units":"in","decimals":2},"press":{"units":"in","decimals":2},"hum":{"decimals":0},"uv":{"decimals":1}}
http ://<YOUR_IP>:8998/api/dailygraphdata/tempdata.json

Code: Select all

{"minTemp":[[1608681600000,55.6],[1608768000000,49.5],[1608854400000,36.1],[1608940800000,30.7],[1609027200000,30.4],[1609113600000,44.1],[1609200000000,50.0],[1609286400000,49.6],[1609372800000,61.9],[1609459200000,64.2],[1609545600000,63.3],[1609632000000,56.7],[1609718400000,41.5],[1609804800000,36.9],[1609891200000,37.8],[1609977600000,50.0],[1610064000000,48.0],[1610150400000,41.0],[1610236800000,33.8],[1610323200000,45.0],[1610409600000,56.1],[1610496000000,52.0],[1610582400000,40.8],[1610668800000,38.1],[1610755200000,41.2],[1610841600000,35.6]],"maxTemp":[[1608681600000,56.5],[1608768000000,81.5],[1608854400000,55.0],[1608940800000,55.0],[1609027200000,70.5],[1609113600000,77.0],[1609200000000,75.0],[1609286400000,79.0],[1609372800000,82.9],[1609459200000,85.6],[1609545600000,84.6],[1609632000000,71.1],[1609718400000,68.0],[1609804800000,70.9],[1609891200000,70.9],[1609977600000,73.8],[1610064000000,67.5],[1610150400000,56.5],[1610236800000,63.1],[1610323200000,76.1],[1610409600000,65.3],[1610496000000,59.2],[1610582400000,67.1],[1610668800000,74.1],[1610755200000,63.3],[1610841600000,62.1]],"avgTemp":[[1608681600000,54.6],[1608768000000,67.3],[1608854400000,45.1],[1608940800000,39.9],[1609027200000,48.8],[1609113600000,57.4],[1609200000000,60.0],[1609286400000,64.1],[1609372800000,71.8],[1609459200000,74.0],[1609545600000,72.4],[1609632000000,65.8],[1609718400000,53.9],[1609804800000,53.3],[1609891200000,53.2],[1609977600000,62.3],[1610064000000,58.9],[1610150400000,48.8],[1610236800000,47.9],[1610323200000,59.6],[1610409600000,61.0],[1610496000000,54.5],[1610582400000,52.0],[1610668800000,56.0],[1610755200000,52.3],[1610841600000,48.8]],"heatIndex":[[1608681600000,56.5],[1608768000000,85.9],[1608854400000,55.0],[1608940800000,55.0],[1609027200000,70.5],[1609113600000,77.0],[1609200000000,75.0],[1609286400000,79.0],[1609372800000,87.2],[1609459200000,91.5],[1609545600000,90.7],[1609632000000,71.1],[1609718400000,68.0],[1609804800000,70.9],[1609891200000,70.9],[1609977600000,73.8],[1610064000000,67.5],[1610150400000,56.5],[1610236800000,63.1],[1610323200000,76.1],[1610409600000,65.3],[1610496000000,59.2],[1610582400000,67.1],[1610668800000,74.1],[1610755200000,63.3],[1610841600000,62.1]],"maxApp":[[1608681600000,58.3],[1608768000000,88.5],[1608854400000,50.8],[1608940800000,51.0],[1609027200000,70.3],[1609113600000,80.5],[1609200000000,78.5],[1609286400000,83.0],[1609372800000,89.3],[1609459200000,92.6],[1609545600000,92.4],[1609632000000,77.3],[1609718400000,66.9],[1609804800000,70.4],[1609891200000,70.3],[1609977600000,75.5],[1610064000000,67.6],[1610150400000,53.4],[1610236800000,62.8],[1610323200000,79.0],[1610409600000,68.0],[1610496000000,59.7],[1610582400000,65.0],[1610668800000,76.5],[1610755200000,60.0],[1610841600000,61.3]],"minApp":[[1608681600000,57.1],[1608768000000,45.6],[1608854400000,29.0],[1608940800000,26.8],[1609027200000,26.5],[1609113600000,42.6],[1609200000000,50.0],[1609286400000,49.6],[1609372800000,65.4],[1609459200000,69.1],[1609545600000,67.8],[1609632000000,56.9],[1609718400000,39.6],[1609804800000,34.0],[1609891200000,35.1],[1609977600000,49.9],[1610064000000,45.8],[1610150400000,38.3],[1610236800000,30.4],[1610323200000,43.7],[1610409600000,56.5],[1610496000000,51.0],[1610582400000,38.7],[1610668800000,35.5],[1610755200000,39.1],[1610841600000,32.5]],"windChill":[[1608681600000,55.6],[1608768000000,47.1],[1608854400000,32.1],[1608940800000,30.7],[1609027200000,30.4],[1609113600000,44.1],[1609200000000,50.0],[1609286400000,49.6],[1609372800000,61.9],[1609459200000,64.2],[1609545600000,63.3],[1609632000000,56.7],[1609718400000,41.5],[1609804800000,36.9],[1609891200000,37.8],[1609977600000,50.0],[1610064000000,48.0],[1610150400000,41.0],[1610236800000,33.8],[1610323200000,45.0],[1610409600000,56.1],[1610496000000,52.0],[1610582400000,40.8],[1610668800000,38.1],[1610755200000,41.2],[1610841600000,35.6]],"maxDew":[[1608681600000,55.9],[1608768000000,72.5],[1608854400000,47.5],[1608940800000,35.5],[1609027200000,56.0],[1609113600000,63.0],[1609200000000,64.3],[1609286400000,67.8],[1609372800000,71.4],[1609459200000,72.5],[1609545600000,74.4],[1609632000000,69.2],[1609718400000,53.5],[1609804800000,54.7],[1609891200000,54.4],[1609977600000,61.6],[1610064000000,62.4],[1610150400000,44.9],[1610236800000,51.1],[1610323200000,61.9],[1610409600000,62.3],[1610496000000,53.9],[1610582400000,50.2],[1610668800000,61.9],[1610755200000,51.3],[1610841600000,50.6]],"minDew":[[1608681600000,55.0],[1608768000000,47.5],[1608854400000,17.5],[1608940800000,24.4],[1609027200000,30.1],[1609113600000,43.8],[1609200000000,49.7],[1609286400000,49.4],[1609372800000,60.7],[1609459200000,63.9],[1609545600000,63.0],[1609632000000,53.3],[1609718400000,41.3],[1609804800000,36.6],[1609891200000,37.5],[1609977600000,49.4],[1610064000000,43.0],[1610150400000,38.3],[1610236800000,33.3],[1610323200000,44.7],[1610409600000,53.5],[1610496000000,49.9],[1610582400000,39.5],[1610668800000,37.9],[1610755200000,31.0],[1610841600000,35.3]],"maxFeels":[[1608681600000,57.1],[1608768000000,86.7],[1608854400000,54.3],[1608940800000,54.4],[1609027200000,71.1],[1609113600000,80.2],[1609200000000,78.0],[1609286400000,82.2],[1609372800000,88.0],[1609459200000,91.1],[1609545600000,90.6],[1609632000000,75.6],[1609718400000,68.1],[1609804800000,71.2],[1609891200000,71.5],[1609977600000,75.6],[1610064000000,67.5],[1610150400000,56.0],[1610236800000,63.4],[1610323200000,78.9],[1610409600000,66.6],[1610496000000,59.5],[1610582400000,66.6],[1610668800000,76.4],[1610755200000,62.1],[1610841600000,62.0]],"minFeels":[[1608681600000,56.0],[1608768000000,47.1],[1608854400000,32.1],[1608940800000,30.7],[1609027200000,30.4],[1609113600000,44.1],[1609200000000,50.0],[1609286400000,49.6],[1609372800000,63.8],[1609459200000,67.2],[1609545600000,65.9],[1609632000000,56.8],[1609718400000,41.5],[1609804800000,36.9],[1609891200000,37.8],[1609977600000,50.0],[1610064000000,48.0],[1610150400000,41.0],[1610236800000,33.8],[1610323200000,45.0],[1610409600000,56.3],[1610496000000,52.0],[1610582400000,40.8],[1610668800000,38.1],[1610755200000,41.2],[1610841600000,35.6]],"humidex":[[1608681600000,16.5],[1608768000000,36.8],[1608854400000,11.3],[1608940800000,10.5],[1609027200000,23.5],[1609113600000,30.2],[1609200000000,29.2],[1609286400000,32.4],[1609372800000,36.8],[1609459200000,38.7],[1609545600000,38.7],[1609632000000,29.5],[1609718400000,20.7],[1609804800000,23.9],[1609891200000,22.6],[1609977600000,27.1],[1610064000000,23.3],[1610150400000,13.4],[1610236800000,18.6],[1610323200000,29.2],[1610409600000,23.1],[1610496000000,17.3],[1610582400000,19.3],[1610668800000,28.1],[1610755200000,17.6],[1610841600000,18.1]]}
Ecowitt GW1000 | Meteobridge RPI | CumulusMX on Synology NAS
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Tele-Pole flag pole
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: Historic Temperature 3.9.5 (build 3100)

Post by mcrossley »

Thanks, yes it is the extra code called because of Fahrenheit. This release saw some changes from me, and merging some changes contributed by another user, it didn't go too well!

I'll rework all the graph scripts, get them self consistent, and push them out asap...
User avatar
galfert
Posts: 195
Joined: Tue 03 May 2016 2:57 pm
Weather Station: Ecowitt GW1000
Operating System: Mint, Raspberry Pi OS, Synology
Location: Orlando, FL

Re: Historic Temperature 3.9.5 (build 3100)

Post by galfert »

Thank you Mark.

Knew it. Fahrenheit! :bash:
Ecowitt GW1000 | Meteobridge RPI | CumulusMX on Synology NAS
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Tele-Pole flag pole
jlmr731
Posts: 225
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Wickliffe, Ohio
Contact:

Re: Historic Temperature 3.9.5 (build 3100)

Post by jlmr731 »

Can confirm its all working with build 3101 So us Americans (and any one else) that use the proper temperature scale will be happy
Thanks Mark sorry about your eyes so have a drink or 2 and enjoy the victory :clap:
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: Historic Temperature 3.9.5 (build 3100)

Post by mcrossley »

Thanks for confirming, and sorry for the initial issues, partly my making and partly an apparent bug in Highcharts which I have reported.
User avatar
radilly
Posts: 123
Joined: Fri 17 Jul 2015 11:01 am
Weather Station: Ambient WS-2080
Operating System: Raspberry Pi 3, OS Buster Lite
Location: McMurray, PA, US
Contact:

Re: Historic Temperature 3.9.5 (build 3100)

Post by radilly »

Looks good in 3.9.6 (build 3101) here!!

Nice!! :clap:
Cheers,
Bob
peterjreid61
Posts: 15
Joined: Sat 13 Oct 2018 7:00 am
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi
Location: Newcastle, Australia
Contact:

Re: Historic Temperature 3.9.6 (build 3101)

Post by peterjreid61 »

Hi all,
I too am having issues displaying historic charts. It hasn't worked at all yet and I am now using build 3101.
It doesn't work on either the Pi interface or my webserver. The data files (alldailytempdata.json etc) are present and being copied.
I've read the previous forums and have double-checked I have the correct historiccharts.js file.

I am also preempting questions and providing /api/graphdata/graphconfig.json and /api/dailygraphdata/tempdata.json. Both attached.
What I do notice is I am getting the error: highstock.src.js:469 Highcharts error #15: www.highcharts.com/errors/15/ when I inspect the code.

When I hit the URL I get the following.

Highcharts expects data to be sorted
This happens when creating a line series or a stock chart where the data is not sorted in ascending X order.
For performance reasons, Highcharts does not sort the data, instead it requires that the implementer pre-sorts the data.

Any assistance would be greatly appreciated.

Regards
Peter
http://alythestate.no-ip.org/weather/
You do not have the required permissions to view the files attached to this post.
peterjreid61
Posts: 15
Joined: Sat 13 Oct 2018 7:00 am
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi
Location: Newcastle, Australia
Contact:

Re: Historic Temperature 3.9.5 (build 3100)

Post by peterjreid61 »

All,
Further to the below, I've had a look at the historic data, and it appears that most of the entries seem to have developed a number 6 at the beginning of the time value. not sure where that came from. It appears to have corrected for 2021.

I corrected the file and did a test that then shows no historic data from Sep 2019 until Jan 2021. Is there a way to force a rebuild of the JSON files for historic data.

Regards
Peter
peterjreid61
Posts: 15
Joined: Sat 13 Oct 2018 7:00 am
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi
Location: Newcastle, Australia
Contact:

Re: Historic Temperature 3.9.5 (build 3100)

Post by peterjreid61 »

Another installment (#3).
I have removed all the historic JSON files and restarted the Pi.
It recreated all the files on boot with the same error in the UNIX timestamp.

As I am unsure where it reads the data from to construct the historic data files. I am at a bit of a loss.

I read the code (i am not great with C) and cannot find where and how they are generated.

Happy to provide any files necessary for someone to have a look.

Regards,
Peter
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: Historic Temperature 3.9.5 (build 3100)

Post by HansR »

Cmx gets its data out of the dayfile.txt, checking won't hurt though I can't imagine the error being there.
It seems the timestamp in the JSON is incorrect with the 6 added ahead.
Maybe Mark should look at it, strange contents of the JSON afaics though apart from the time the numbers and structure seem OK.
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: Historic Temperature 3.9.5 (build 3100)

Post by mcrossley »

Post Reply