Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Station System/Diagnostic Data on Dashboard

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
CO_Mike
Posts: 3
Joined: Fri 28 Oct 2016 8:01 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows Server 2008 R2

Station System/Diagnostic Data on Dashboard

Post by CO_Mike »

I recently migrated from 1.9.4 to MX b3041 on a Windows Server 2008 R2 machine. First of all, great improvements across the board.

After searching the forum and wiki, I realize that the dashboard can only read the data provided by the MX engine as exposed in http://localhost:8998/api/data/currentdata and doesn't use any of the web tags made available through the processing engine.

I primarily use Cumulus to upload data to the various collector sites (CWOP, WU, AWEKAS, etc.) and don't host a website. So for my purposes, the built-in dashboard and associated pages are fine and save the overhead of running a local web server. That said, it would be helpful to have access to some of the system info and diagnostic data like <#DavisFirmwareVersion>, <#txbattery channel=1>, <#battery>, <#DavisTotalPacketsReceived>, <#DavisTotalPacketsMissed>, <#DavisNumberOfResynchs>, <#DavisMaxInARow>, <#DavisNumCRCerrors>.

Is there any way to augment the currentdata available to the dashboard?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Station System/Diagnostic Data on Dashboard

Post by steve »

You could create a template file using web tags in some format of your choosing, e.g. plain text, xml, json etc, and get MX to process it locally in the MX interface directory at the realtime or standard interval. Then add code to the dashboard javascript to read that file (the interface directory is the root directory of the built-in web server), process it, and display it on the dashboard.

Note that I haven't actually tried this myself. And if I remember correctly, some of the Davis stats aren't actually available for reasons that I forget at the moment.
Steve
Locked