Hello,
I have been recently editing my dashboard as per:
https://drive.google.com/file/d/104TqRW ... drive_link
Beneath the Temperature reading, how can i replace the minimum temperature with the minimum reading since midnight? as id like to know what the overnight minimum was not the one right at 9am. I tried to use the webtag for Min since midnight & it did not work. It just showed a -- where that value would be.
Also, for the highcarts charts, how do you change the background colour? i tried to edit the DIV background but that doesnt work. I went through Charts.js & there was no success. I would like to make it darker to match my "dark mode" theme.
https://drive.google.com/file/d/1MYctwR ... drive_link
Thank you for your assistance
Antonio.
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
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
Help with Dashboard & Highcharts customisations
Moderator: mcrossley
-
- Posts: 404
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
-
- Posts: 2484
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Help with Dashboard & Highcharts customisations
For the minimum temperature, you could set up MX so that it finishes its recording day (rollover time) at midnight. This is the default for a MX installation. To change from a 9am rollover you have to select the "midnight" option in Settings -> Station Settings -> Log Rollover.
-
- Posts: 404
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Help with Dashboard & Highcharts customisations
Hi Freddie,
I am not looking to roll-over at midnight as the meteorological day is 9am to 9am, but even the weather sites show the "overnight minimum" this is what I am trying to achieve, I tried the span for the appropriate Web Webtag but it does not work.
I am not looking to roll-over at midnight as the meteorological day is 9am to 9am, but even the weather sites show the "overnight minimum" this is what I am trying to achieve, I tried the span for the appropriate Web Webtag but it does not work.
Antonio
-
- Posts: 2484
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Help with Dashboard & Highcharts customisations
Hi Antonio,
Okay, I understand what you're trying to achieve.
The reason your spam doesn't work is because the tempMidnightTL webtag isn't included in the standard data transfer files, such as websitedata.json. To add it you would need to edit the template file websitedataT.json. This template can be found in the "web" directory of your CumulusMX installation.
Okay, I understand what you're trying to achieve.
The reason your spam doesn't work is because the tempMidnightTL webtag isn't included in the standard data transfer files, such as websitedata.json. To add it you would need to edit the template file websitedataT.json. This template can be found in the "web" directory of your CumulusMX installation.
-
- Posts: 404
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Help with Dashboard & Highcharts customisations
Hi Freddie,
Unfortunately the web folder is external to the interface that is local "dashboard" so i guess it cannot be done, unless there is a local file which defines the tags. Thank you anyway for the help
Unfortunately the web folder is external to the interface that is local "dashboard" so i guess it cannot be done, unless there is a local file which defines the tags. Thank you anyway for the help
Antonio
-
- Posts: 2484
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Help with Dashboard & Highcharts customisations
Oh crikey, sorry I thought you were talking about your website. That webtag will be available to the interface, as the interface uses the CMX API to get its webtag values. You can see it for yourself if you try:
So there must be an additional bit of configuration somewhere that will cause that span to become populated with data. You could have a dig around in the javascript code, or maybe look at the CMX source on GitHub. Sorry I can't help any further but I have never tinkered with the interface before.
Code: Select all
http://<cmx-ip-address>:8998/api/tags/process.json?tempMidnightTL
-
- Posts: 404
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Help with Dashboard & Highcharts customisations
Yep that did it! i can see "13.1" as the min, compared to 19.0 at 9am...
Hopefully i can find the way to add it! ive actually done a lot to the dashboard, you can see in my original post (if the link works) or i can re link it.
Hopefully i can find the way to add it! ive actually done a lot to the dashboard, you can see in my original post (if the link works) or i can re link it.
Antonio
-
- Posts: 404
- Joined: Sun 13 Jun 2010 12:35 am
- Weather Station: Davis vantage vue
- Operating System: windows 11
- Location: Sydney Australia
Re: Help with Dashboard & Highcharts customisations
Just thought i would mention,
Ive edited the file dashboard,js
i have added line:
tempMidnightTL: inp.tempMidnightTL.toString(),
But the dashboard still displays --.-
So what am i doing wrong?
Ive edited the file dashboard,js
i have added line:
tempMidnightTL: inp.tempMidnightTL.toString(),
But the dashboard still displays --.-
So what am i doing wrong?
Antonio