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

Dashboard Issue with Trend Icons (green/red triangles)

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

Post Reply
HKWe5e
Posts: 3
Joined: Thu 07 Jan 2016 2:06 am
Weather Station: Davis Vantage VUE
Operating System: Ubuntu
Location: Montréal

Dashboard Issue with Trend Icons (green/red triangles)

Post by HKWe5e »

I am using CumulusMX with mono in a Ubuntu 18.04 environment. For some reason, the two trend icons under Temperature and Pressure in the Dashboard page always point UP, even if a trend is negative.

I know it's a hack and does not address the root cause, but changing to strings works for me:
In interface/js/dashboard.js I have changed...

Code: Select all

if (data.TempTrend < 0) {
to

Code: Select all

if (String(data.TempTrend) < "0") {
and changed

Code: Select all

if (data.PressTrend < 0) {
to

Code: Select all

if (String(data.PressTrend) < "0") {
...and trend icons behave as expected.

Regards,
User avatar
mcrossley
Posts: 12763
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Dashboard Issue with Trend Icons (green/red triangles)

Post by mcrossley »

Thanks, a comma decimal issue, I'll fix the next release.
Post Reply