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 4018) - 28 March 2024

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

Add CumulusForecast & WSForecast to Dashboard

Share your Cumulus MX user interface here

Moderator: mcrossley

Post Reply
stefanbagnato
Posts: 159
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