Page 1 of 3

Cumulus widget for Nokia mobile

Posted: Thu 04 Nov 2010 9:57 pm
by dane
Update 2011-01-06 17:00:
CumulusW version 0.5 attached below.
New: precipitation: if M (mm) is specified, it is derived from the value in inches, multiplied by 25.4
(cannot wait for Wunderground to get this little thing sorted out...)
CumulusW.zip
Update 2011-01-04 15:00:
New: settings for wind (km/h, m/s, and as-is) added. Various cosmetic changes.

Update 2011-01-03 17:00:
CumulusW version 0.3.
New function: settings for temperature, pressure, and precipitation


------------------------------------------------------------------------------------------------------------
There are now 2 versions of this widget:
- CumulusM: a version that reads realtime.txt data.
- CumulusW: a version that reads Weather Underground data.

Please note: The rules for use of Weather Underground data state clearly that it is not allowed to use their data in a mobile application for general distribution. So please do not re-distribute! I do not consider this forum 'general distribution'.

------------------------------------------------------------------------------------------------------------

CumulusM version 0.3 below.
CumulusM.zip
Note: File is named: CumulusM.zip (had to rename it: the extension wgz is not allowed)

To install:
- rename the file to: CumulusM.wgz (making sure you get rid of its original .zip filetype)
- download and install to your Nokia phone using your preferred method: Ovi Suite, mass memory transfer, Bluetooth or whatever.

For info: a .wgz file is actually just a .zip archive, so if you are curious and want to look at the source code: simply rename to CumulusM.zip and unzip the file contents.

---------------------------------------------------------------------------------------------------

The widget requires a Nokia S60 5th edition or later (e.g. Symbian^3), and includes homescreen widget support.
My test device is a Nokia 5800 with (unofficial) C6-00 firmware which supports homescreen widgets.

Re: Cumulus widget for Nokia mobile

Posted: Sun 26 Dec 2010 8:50 am
by MickinMoulden
dane wrote:I have created a Cumulus Realtime widget for display of Cumulus realtime.txt data on my Nokia mobile phone.
Right now it is version 0.1, alpha level, but I'd be happy to share it with any of you, and to receive feedback.
I'd love to try it. Just got a Nokia N8 for my wife. I have cumulus 1.90 build 958 and upload to Wunderground. Do I need anything else?

Re: Cumulus widget for Nokia mobile

Posted: Sun 26 Dec 2010 9:16 am
by Orion
Hi have a Nokia 5530 S60 V5
Do you have a link where we can download the widget from

Re: Cumulus widget for Nokia mobile

Posted: Sun 26 Dec 2010 5:46 pm
by dane
I have uploaded my version 0.3 to the first post of this thread. You may download, rename & install from there.

Note: the input file for the widget is a Cumulus realtime.txt file located at some website (default is my realtime.txt...)

The version uploaded has NO facilities for reading Wunderground data.

Re: Cumulus widget for Nokia mobile

Posted: Sun 26 Dec 2010 7:44 pm
by Orion
Works fine on Nokia 5530 :)
But I have no website to upload my Realtime.Txt file

Re: Cumulus widget for Nokia mobile

Posted: Sun 26 Dec 2010 8:45 pm
by dane
Orion wrote:Works fine on Nokia 5530 :)
But I have no website to upload my Realtime.Txt file
...I have a website with realtime.txt, but I have no Wunderground :)

But I have a test version of this widget that displays realtime.txt data as well as data from Wunderground (from a nearby PWS).
It reads and processes Wunderground data, based on station ID, and Wunderground forecasts, based on latitude/longitude.
(It also does Sager forecasts, but that's a different story...)

So maybe I can put together a Wunderground-only version over the next couple of days (don't hold your breath).
Does your Nokia 5530 support GPS?

Re: Cumulus widget for Nokia mobile

Posted: Sun 26 Dec 2010 9:57 pm
by juancaya
Dane. I have a Nokia X6 16gb, I am trying and working properly. To translate it into Spanish, what file I can modify?. And the only downside is that I am not able to put the widget on the main screen. Greetings and Congratulations on the job. :clap: :clap:

Translated with Google

Re: Cumulus widget for Nokia mobile

Posted: Sun 26 Dec 2010 10:17 pm
by dane
juancaya wrote:Dane. I have a Nokia X6 16gb, I am trying and working properly. To translate it into Spanish, what file I can modify?. And the only downside is that I am not able to put the widget on the main screen. Greetings and Congratulations on the job. :clap: :clap:

Translated with Google
Pleased to hear it works on your X6. You can put the widget on the main screen as a 'shortcut', but the X6 does not suport homescreen widgets, so you will not see updated data.
(My 5800 does not suport homescreen widgets - unless I install non-standard firmware: PNHT's C6-firmware)

To translate you will have to modify the cumulus.js file.
But it is not set up for easy language translation - sorry!

Re: Cumulus widget for Nokia mobile

Posted: Mon 27 Dec 2010 1:45 am
by dane
CumulusW: a widget that reads Weather Underground data is now available from 1st post of this thread.
Please note that you should not re-distribute (Weather Underground rules).

This is alpha-level code. Please feedback :)

Re: Cumulus widget for Nokia mobile

Posted: Mon 27 Dec 2010 10:38 am
by Orion
Hi Dane
Thanks for the Wunderground Version of your Nokia widget
The Nokia 5530 does not have GPS but does have WIFI
I uninstalled the CumulusM version and then installed the CumulusW version

The screen is not refreshing by itself every 60 secs unless you goto options and refresh
do not understand the rain readings I am getting the wunderground widget says Rain today 0.02in (0.1mm)
Cumulus is showing 0.6mm
and the wunderground website is showing 0.51mm
PS. This is just the snow in the rain gauge melting not real rain

Re: Cumulus widget for Nokia mobile

Posted: Mon 27 Dec 2010 11:56 am
by dane
Hi Orion,
I cannot explain the rainfall figures.
Had a look at your WU-site, and it says: 0.5 mm rain today.
But the data I receive says 0.02 inches/0.1 mm - see attached file showing the data received.

I'll look at the way I do the automatic update.
The idea was to update the data on the screen if, and only if, it was displaying the summary info.
WUdata.txt

Re: Cumulus widget for Nokia mobile

Posted: Mon 27 Dec 2010 1:29 pm
by Orion
This is a comma delimited entry from the wunderground website
Time,TemperatureC,DewpointC,PressurehPa,WindDirection,WindDirectionDegrees,WindSpeedKMH,WindSpeedGustKMH,Humidity,HourlyPrecipMM,Conditions,Clouds,dailyrainCM,SoftwareType
2010-12-27 13:15:00,4.2,0.3,1012.8,SSE,168,5.8,8.7,76,0.0,,,0.1,Cumulus v1.9.1,
looks like they are sending 0.1cm not 0.1mm

Re: Cumulus widget for Nokia mobile

Posted: Mon 27 Dec 2010 6:00 pm
by dane
CumulusW version 0.2 uploaded to 1st post of this thread. Bug fixes only.

Weather Underground is clearly inconsistent in its rain info: the website says one thing, their XML-data via their API says something else.

Re: Cumulus widget for Nokia mobile

Posted: Mon 27 Dec 2010 7:46 pm
by Orion
Hi Dane
Screen refresh now working
and its now raining will see how it goes given some real rain :)
UPDATE 23:00
Wunderground website is now reporting 0.24 in = 6.09600 millimetres
and the widget is showing 0.24in but 0.6mm not 6.0mm just looks like you need to change mm to cm then it would be correct
Thanks Roy

Re: Cumulus widget for Nokia mobile

Posted: Sun 02 Jan 2011 11:56 am
by SUBYDAZZ
So what do I have to edit so I can point it to my uploaded realtime.txt file?

I assume this will work on a normal PC as well as a late model Nokia that has the wgz file type associations?