Page 1 of 1

wxgraphs.php now displays Highchart graphs with CumulusMX

Posted: Wed 13 May 2020 9:03 pm
by saratogaWX
Sorry it's taken so long, but now CumulusMX users have a wxgraphs.php page that displays the Highchart graphs like those seen on the MX console on your Saratoga template site from the .json files uploaded by CumulusMX.

The language translation function was added to the graphs (using the stock language-LL.txt entries), but a few more need to be added to your language-LL.txt or language-LL-local.txt file:

Code: Select all

langlookup|Trend Graphs|Trend Graphs|
langlookup|Wind Chill|Wind Chill|
langlookup|Heat Index|Heat Index|
langlookup|Indoor|Indoor|
langlookup|Daily Temperature|Daily Temperature|
langlookup|Daily Temp|Daily Temp|
langlookup|Wind Direction|Wind Direction|
langlookup|Bearing|Bearing|
langlookup|Avg Bearing|Avg Bearing|
langlookup|/hr|/hr|
langlookup|Theoretical Max|Theoretical Max|
langlookup|Sunshine Hours|Sunshine Hours|
langlookup|Graphs generated by|Graphs generated by|
langlookup|Click on a button to show the corresponding graph below.|Click on a button to show the corresponding graph below.|
I've updated the setup instructions to add a CumulusMX specific page in my Configuration section.
At the same time, I've updated the CU-defs.php file to automatically detect CumulusMX and change the $SITE entry to 'CumulusMX' for you.

Use the update tool page with query Base-*, Cumulus, 13-May-2020

Best regards,
Ken