[UPDATE 26.04.2011] CHT widget B&L_Group Weather Widget v.5 Final

Search This thread

MoonNah

Senior Member
Aug 10, 2007
253
154
51
Saint-Petrsburg
CHT widget B&L_Group Weather Widget v.5 Final

Description: A new weather widget. The first version is only shows the weather for 5 days. Supports 2 languages English and Russian. Weather server, as in classical Weather tab-Acuweather (and others will not). Was taken as the basis for the widget script TitaniumWeather Titanium, with a complete reworking and optimization for Manila. When you change the city in the clock settings, automatically will be changed to the nearest minute weather data for the relevant city already, and you can also manually update by clicking on the widget itself and wait 3 to 15 seconds (depends on the speed channel and the response time of the server). To save all the traffic updates are possible only if there is a ready connection and connect to the Internet, cable, Wi-Fi, GPRS. Ie if you want to update the weather, you first need to install handles any of the options for Internet connection, and only then update the weather. This is done to prevent spontaneous eating traffic.
There is an opportunity to consolidate.

Attention! The widget only works with a specified cities, with a location it did not work. All matters related to this, I'll ignore it.

In the 2 version adds:
1. Conclusion obschy information
2. Wind speed and direction
3. Probability of Precipitation
4. Sunrise and sunset
5. 4 different maps widget
- Full and abbreviated with the temperature in Celsius
- Full and abbreviated with the temperature in Fahrenheit

In the version 3 is added:
1. Extended forecast up to 9 days
2. Phases of the Moon (varies depending on the chosen day, together with additional information)
3. 8 different maps widget
- 9 days with temperatures in Celsius
- 9 days with temperatures in Fahrenheit
- 5 days with temperatures in Celsius
- 5 days with temperatures in Fahrenheit
- 9 days with temperatures in ° C More
- 9 days with temperatures in Fahrenheit More
- 5 days with temperatures in ° C More
- 5 days with temperatures in Fahrenheit More

In the version 4 is added:
1. Fixed display of weather icons
2. Added program to install the update time widget from 1 minute to 1440 minutes (1 day)

In the version 4.1 is added:
1. Fixed updating a given time
2. Fixed manual update

In the version 4.2 is added:
1. Eating disabled Internet traffic :)

In the version 5 Final is added:
1. Completely changed the algorithm updates the time
2. Added a configuration file to change the color of the text widget

Short press on the weather icon opens the detailed information on the selected day (automatically switches to the information today after 5 seconds.) Long press of the weather updates when connected to the Internet.


Author: B & L_Group (MoonNah)

Skins for the Weather widget:
1. ShowacoSkin (After installation restart Manila or SoftReset)
2. dunc001 Light Grey Weather Widget Icons
 

Attachments

  • ScreenShot1.jpg
    ScreenShot1.jpg
    49.9 KB · Views: 10,103
  • ScreenShot5.jpg
    ScreenShot5.jpg
    49.2 KB · Views: 4,637
  • ScreenShot6.jpg
    ScreenShot6.jpg
    44.7 KB · Views: 3,929
  • ScreenShot7.jpg
    ScreenShot7.jpg
    49.1 KB · Views: 3,650
  • ScreenShot3.jpg
    ScreenShot3.jpg
    39.8 KB · Views: 934
  • ScreenShot4.jpg
    ScreenShot4.jpg
    54.3 KB · Views: 1,493
Last edited:

santod040

Recognized Developer / Recognized Contributor
Nov 7, 2008
12,569
23,612
NorCal
Awesome!
I knew it wouldn't be too long. ;)
Nice job, looking forward to the updates.
 

santod040

Recognized Developer / Recognized Contributor
Nov 7, 2008
12,569
23,612
NorCal
i updated weather but nothing @_@"

Some cities and locations are not picked up by the server being used.
Try setting a city close to you, in the clock settings.
Tap home clock and set a city.
Then refresh the widget.
More city detections, which would require another server and the option to display F or C would be awesome too.
But very nice job.

ScreenShot5-8.png
 
Last edited:

MoonNah

Senior Member
Aug 10, 2007
253
154
51
Saint-Petrsburg
Some cities and locations are not picked up by the server being used.
Try setting a city close to you, in the clock settings.
Tap home clock and set a city.
Then refresh the widget.
More city detections, which would require another server and the option to display F or C would be awesome too.

Similarly, I forgot to write that the city must be added manually to the location of the weather is not selected. The choice of temperature in Fahrenheit (F) or Celsius (C) will be added in next version, though the script now and it may, but not used yet:). So do not rush me, and quietly waiting for:).
 

santod040

Recognized Developer / Recognized Contributor
Nov 7, 2008
12,569
23,612
NorCal
Similarly, I forgot to write that the city must be added manually to the location of the weather is not selected. The choice of temperature in Fahrenheit (F) or Celsius (C) will be added in next version, though the script now and it may, but not used yet:). So do not rush me, and quietly waiting for:).

Yes, I saw it in there.
Looking forward to it and nobody is rushing anyone.
In your time MoonNah.
I was hoping for a similar widget, without the use of mortscript, but so far this one seems not to be such a battery eater, due to the update method you have implemented.
So cheers for that.
I think I know what being rushed and bugged for an ETA is like and I am not here for that.:)
 

poyensa

Retired Forum Mod / Retired Recognized Developer
Apr 27, 2010
3,161
2,571
mi patria en mis zapatos
thanks a lot MoonNah :) it works perfect in my Leo

2010-11-29_01-39-34-PM.jpeg


I also like a lot the widget has its own set of weather icons so i can combine with others icons for the home weather :)

Please keep doing more ... :)
 

valentincasino

Senior Member
Jun 30, 2010
65
16
Great work !!!!

just like everybody else i was waiting for something like this to show up...
it's very nice even from the first version...
thanx...and keep it up!!!
 

Ross202

Senior Member
May 17, 2008
118
6
Sydney
Moonah Weather Widget

Lovely work. Donation on its way (5UG887032M4944004). Can't wait for skins. One Problem though...... I think I need an ipad size screen to fit in all the beautiful widgets everyone is making:D:D:D:D
Keep up the great work. Much appreciated
 

MECK187

Senior Member
Mar 31, 2010
147
4
Berlin
Wow, nice one! This is really great but one question. How do I get rid of the "frigid" and other word "icons" for weather? Just want the animations used from sense. Anyone?
 
Last edited:

Dunc001

Inactive Recognized Developer
Apr 6, 2010
2,705
1,462
Hiding out south of the border...
Light grey weather icon set

Been waiting for someone to produce a weather widget so here is my little thank you:

screenshot10qr.png


Install the widget cab from the first post, then soft reset, install this cab and reset again. Any problems let me know. Enjoy :cool:
 

hasinasi

Member
Dec 31, 2007
6
0
Hello

Great Widget

Is the String
"wwwa.accuweather.com/adcbin/forecastfox/weather_data.asp?location="&location&"&metric="&metric)"
in TitaniumWeatherEng.mscr correct?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    CHT widget B&L_Group Weather Widget v.5 Final

    Description: A new weather widget. The first version is only shows the weather for 5 days. Supports 2 languages English and Russian. Weather server, as in classical Weather tab-Acuweather (and others will not). Was taken as the basis for the widget script TitaniumWeather Titanium, with a complete reworking and optimization for Manila. When you change the city in the clock settings, automatically will be changed to the nearest minute weather data for the relevant city already, and you can also manually update by clicking on the widget itself and wait 3 to 15 seconds (depends on the speed channel and the response time of the server). To save all the traffic updates are possible only if there is a ready connection and connect to the Internet, cable, Wi-Fi, GPRS. Ie if you want to update the weather, you first need to install handles any of the options for Internet connection, and only then update the weather. This is done to prevent spontaneous eating traffic.
    There is an opportunity to consolidate.

    Attention! The widget only works with a specified cities, with a location it did not work. All matters related to this, I'll ignore it.

    In the 2 version adds:
    1. Conclusion obschy information
    2. Wind speed and direction
    3. Probability of Precipitation
    4. Sunrise and sunset
    5. 4 different maps widget
    - Full and abbreviated with the temperature in Celsius
    - Full and abbreviated with the temperature in Fahrenheit

    In the version 3 is added:
    1. Extended forecast up to 9 days
    2. Phases of the Moon (varies depending on the chosen day, together with additional information)
    3. 8 different maps widget
    - 9 days with temperatures in Celsius
    - 9 days with temperatures in Fahrenheit
    - 5 days with temperatures in Celsius
    - 5 days with temperatures in Fahrenheit
    - 9 days with temperatures in ° C More
    - 9 days with temperatures in Fahrenheit More
    - 5 days with temperatures in ° C More
    - 5 days with temperatures in Fahrenheit More

    In the version 4 is added:
    1. Fixed display of weather icons
    2. Added program to install the update time widget from 1 minute to 1440 minutes (1 day)

    In the version 4.1 is added:
    1. Fixed updating a given time
    2. Fixed manual update

    In the version 4.2 is added:
    1. Eating disabled Internet traffic :)

    In the version 5 Final is added:
    1. Completely changed the algorithm updates the time
    2. Added a configuration file to change the color of the text widget

    Short press on the weather icon opens the detailed information on the selected day (automatically switches to the information today after 5 seconds.) Long press of the weather updates when connected to the Internet.


    Author: B & L_Group (MoonNah)

    Skins for the Weather widget:
    1. ShowacoSkin (After installation restart Manila or SoftReset)
    2. dunc001 Light Grey Weather Widget Icons
    7

    Updated before the final version 5.
    - Completely changed the algorithm updates the time
    - Added a configuration file to change the color of the text widget

    Enjoying a 1 post
    4
    @dunc

    l_1_0.WeatherTimer = timer(3600)

    I had also tried it yesterday...no effect :(

    but had made no soft reset

    Can you give this a try and see what happens please. I am in the process of rebuilding my phone after all the abuse it took putting everything together for BLUE SK-i so my phone probably isn't the best test bed ;) I have installed the cab and everything is running OK, I just don't have anything on yet to be able to monitor data traffic! I have basically replaced the two machinestatus lines with a new timer function:

    Code:
    l_1_0.UpdateTimer = timer(_application.Store:GetStringValue(Lifetime_Permanent, "BL_UpdateTimer"))
      l_1_0.UpdateTimer:Stop()
      l_1_0.UpdateTimer.OnElapsed:connect(l_1_0.UpdateWeatherStatus, l_1_0)
      l_1_0.UpdateTimer:Start()

    ...which picks the timer duration up from a new reg value (BL_UpdateTimer) so user can set whatever interval they want in seconds (default is 3600 or one hour). The cab installs the amended script and creates the reg key with the 3600 value set.

    Give it a try and let me know if this has solved the problem or not...
    4
    I think I found a bug: the weather icon is one day ahead every time. So the weather icon for monday is at tuesday and so on. The descriptions are in the right position.
    Please check for this behavior. I used accuweather online to check the icons.

    I've even looked at the lua 5b420cc1_manila

    The bold values ​​have changed ;)

    orginal:
    l_2_0.BLicon1:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day1Icon"))
    l_2_0.BLicon2:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day2Icon"))
    l_2_0.BLicon3:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day3Icon"))
    l_2_0.BLicon4:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day4Icon"))
    l_2_0.BLicon5:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day5Icon"))
    l_2_0.BLicon6:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day6Icon"))
    l_2_0.BLicon7:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day7Icon"))
    l_2_0.BLicon8:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day8Icon"))

    changed:
    l_2_0.BLicon1:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day2Icon"))
    l_2_0.BLicon2:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day3Icon"))
    l_2_0.BLicon3:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day4Icon"))
    l_2_0.BLicon4:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day5Icon"))
    l_2_0.BLicon5:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day6Icon"))
    l_2_0.BLicon6:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day7Icon"))
    l_2_0.BLicon7:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day8Icon"))
    l_2_0.BLicon8:SetTexture(_application.Store:GetStringValue(Lifetime_Permanent, "BL_Page1_Day9Icon"))

    for me it fits now :D

    http://www.accuweather.com/adcbin/f...ta.asp?location=EUR|DE|GM006|HAMBURG&metric=1

    in my lua...is the fix mentioned by @dunc ;)
    So set registry value ;)
    BL_UpdateTimer
    4
    For all the German BL_Weather may

    BL_Wetter in german_silver...full cab
    Saugbaer_WeatherWidget V3_Ger_Silver.cab

    Since it for beginners somewhat difficult, so to understand everything. now a full German cab, with all error fixed

    (fixed...
    @dunc1 BL_UpdateTimer....Against the constant dial...THX
    from me...bad weather/day icon "number" in the lua....optimised mode9..... for font color, width and height of the text....Adjusted for TitaniumWeatherEng.mscr)

    other font color can contact me, If desired

    The weather icons can be freely exchanged
    copy your icons --->\Program Files\TitaniumWeather\Spil

    installation instruction:

    -Disable sense
    -de/install BL_Weatherwidget
    -softreset
    -set city (Attention! The widget only works with a specified cities, with a location it did not work.)
    -Desired weather preview setup
    -Rejoice :D


    the german Weather script is still being updated by me....here in the post

    After the cab installation sees it this way, then see screen

    attachment.php


    the german Weather script ...Update 26.05.2011 14:15Uhr