Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.16.1 (build 3183) - 06 May 2022

Legacy Cumulus 1 release v1.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 interested in supporting Cumulus then maybe you would like to contribute to the maintenance of the Wiki? This need not take hours of your time - just a half hour here and there can make a big difference, particularly if many people are doing this. Any contributions are very welcome, whether they involve new content or editing of existing content. It will be very helpful to current and future users of Cumulus software if the Wiki is kept well-maintained and current. If you are interested then please contact forum user saratogaWX and ask for a Wiki account.

Add CumulusForecast & WSForecast to Dashboard

Share your Cumulus MX user interface here

Moderator: mcrossley

Post Reply
stefanbagnato
Posts: 116
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Add CumulusForecast & WSForecast to Dashboard

Post by stefanbagnato »

I am trying to edit one of my tiles and add the Cumulus and Weather Station forecasts separately (while removing the default 'forecast'). Adding them in index.html is simple (added below, with the default 'forecast' kept for now for comparison purposes):

Code: Select all

<!-- FORECAST TILE -->
<div class="half-unit forecasttile">
   <div class="cont">
      <p>Forecast:&emsp;<span id="Forecast"></span>.</p>
      <p>CumulusMX Forecast:&emsp;<span id="CumulusForecast"></span>.</p>
      <p>Weather Station Forecast:&emsp;<span id="WSForecast"></span>.</p>
   </div>
</div>

Additionally, I know that dashboard.js has to be updated as well. Below the

Code: Select all

forecast: (inp.Forecast || "n/a").toString(),
entry, I added:

Code: Select all

cumulusforecast: (inp.CumulusForecast || "n/a").toString(),
wsforecast: (inp.WSForecast || "n/a").toString(),
However, I am clearly missing something because it is not loading correctly. On the CMX dashboard, I am seeing:

Capture.PNG


So, any ideas on what I am doing wrong??
You do not have the required permissions to view the files attached to this post.
Post Reply