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

Your "own" weather forecast with graphics

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
smurfen
Posts: 1
Joined: Wed 17 Aug 2011 11:47 pm
Weather Station: Ambient Weather WS-2080
Operating System: Several
Location: Norway

Your "own" weather forecast with graphics

Post by smurfen »

Hi!
I am new on this forum, because i baught my first real weatherstation a week ago.

I have already made my own webpages to display the data from the weatherstation (Ambient).
I think Cumulus is a functional software for this (Running 1.9.1), but i think the web pages with graphics could be a bit nicer ;)
I wanted to display the forecast with graphics, and not only text.
After i twisted my brain for some minutes, i came up with a idea that was pretty easy to test.
And i works as a charm :D

Pretty easy, here is what i did:

The file strings.ini, contains the different forecasts with a corresponding number.
The number for the forecasts has a own tag thats called <#forecastnumber>.
Then i found i nice icon-set/graphics on the net, that covers the most conditions.
And i compared the text in the different forecastnumbers, and found a icon that match the text and renamed the file to the corresponding forecastnumber.
Eg. 1.png, 2.png and so on up to 26, then i copied the images to the webdirectory\images\forecast <-(created this folder).
In the web-page i created i pointed the image src to \images\forecast\<#forecastnumber>.png :D

Pretty easy, and no modification on the original files/scripts in cumulus is needed!
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Your "own" weather forecast with graphics

Post by beteljuice »

Nicely thought out ...

... but there are two options you've missed (exceptionally fine [-1] and exceptionally bad [-26])

See: https://cumulus.hosiene.co.uk/viewtopic.p ... t=forecast
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply