yashsingh1/xdaforums huggingface dataset:
[HD2 Windows Mobile 6.5 Themes and Apps] Dunc001:
Zorro, I'm pretty sure that this is all coincidence. The lua scripts which control the dsign clock widget can in no way be affected by the TitaniumWeather reg keys, and using the same font will also make no difference so not sure what is going on there. It may also be that the update time is controlled by the lua scripts for the widget and not by the Mortscript files. I'll decompile them this morning and take another look. The data issue has never been an issue for me because I am pretty much always at home or work where I am permanently on wifi, and on the odd occasion that I'm not the 3G signal around here is so crap I can't download anything anyway ;)

I'll report back later...

Dunc
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Thanks Dunc! I was looking over the script last night, and I realized something (which you are also pointing out) - its not the script itself that is causing data to be accessed so frequently. Something is calling the script over and over again to run. This has to be either a scheduled task, or some kind of a notification trigger that makes the script run so frequently. Hopefully you can get something. In desperation, I posted this note in the Hacking section. Not sure how much mileage it will get, but gotta try! :rolleyes:
[HD2 Windows Mobile 6.5 Themes and Apps] Dunc001:
OK, so I've had a quick look at the widget lua script and it does appear that the update interval is controlled there. I need some help now from Poy or rat to decompile the script so it is editable, and then recompile it and build a new cab. There are two relevant functions defined in the script - one which calls a subfunction within the widget called UpdateWeatherStatus and this call is made every time machinestatus.CurrentTime changes (i.e. every minute), and one called WeatherTimer one line of which shows as 'WeatherTimer = timer(5)' which I'm pretty sure is a five second timer function?

Let me PM the others and I'll see if we can resolve this...

edit - Assuming that I am able to decompile and edit the script what update interval would we like to have it set to? I'll try and figure out if I can make it user definable through the registry, but if not then I need a concensus on an acceptable interval please.
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Outstanding!!! I have a nice blank spot on one of my pages where this widget will fit perfectly! Its been there for the last few weeks, patiently waiting to be filled in. ;)

Looking forward to what you come up with!

Edit: Regarding update interval. Usually I have my daily forecast update every hour, and weekly forecast every four hours. I would be happy with a global update of 4 hours, if only one setting can be made.
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
@dunc

l_1_0.WeatherTimer = timer(3600)

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

but had made no soft reset
[HD2 Windows Mobile 6.5 Themes and Apps] Dunc001:
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:

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...
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
That was quick! Reinstalled weather widget, and this fix. Going to look at SPB Wireless Monitor for the next few hours, and report in. Thanks for the work!!
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
So the script no longer appears in task manager :D

you can update it manually....this is a good thing;)

now you have to see...whether it be every hour updatet

In any case, do not burden the processes ;)

I will continue to monitor

bigthx :D
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
So far so good with the fix! I installed the app at 11:30a. I set the update to 7200 (2h). The widget updated on install. I manually clicked on the widget to see if it would update at about 11:50a. Since then till about 2:55p, there was no data activity on Mortscript. At that time, another update took place. You can see the screenshot from SPB Monitor. Each update is about 195k.

I did notice that when the 2h update happened, there was an error message that popped up. My backlight was dimmed, and when I clicked on the screen, the message disappeared. I did catch that it had something to do with Mortscript. I'll see if I can get it if it shows up again.

But things are looking

really

good!! :D
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Update on fix

So far things are looking really good! The app updates when it needs to, and has not drained down my data.

Now for something that's not related to the fix, but I have a problem with. The moon phases are screwed up. You can see what the program throws up, and what the actual phase for today is. I am using this version of the widget. For those that know, is there a problem with this version, or the script?

Basically, I like the sense version of the icons instead of the default ones. I do like the stylized ones of Dunc, but not in b/w. I tried this one, but the text comes up in German. Ach!

Hey Dunc - any updates on your theme with this weather widget? :)

Edit: Hmm.. it seems like the moon phase images in the \Spil folder all show the full moon with very faint transition for the phase. It might just not be showing up in the device.

Edit2: Nope. Replacing the moon phase files did not seem to help.
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
[REQUEST] Update time

I know the text details are pretty cramped already, but would it be possible to get the update time on the display? I can see the value for that in the registry. It would be nice not to wonder how old the information is that's being displayed!
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
possible is determined ;)

But then you have other values without:(

it would have this value, from its registry or script

BL_PageUpdate
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
I understand that some other info might be lost. I was wondering if that info could be inserted somewhere within the widget where there is a little extra space. That way the existing info will not have to be deleted.
[HD2 Windows Mobile 6.5 Themes and Apps] Dunc001:
Ok, again shouldn't be too much trouble now that I have figured out how to correctly decompile/recompile the scripts. How about either reducing the size of the current day text and adding it in above that (5 day plus detail views) or I could just add it below or above everything you can already see? Let me know what you'd prefer.
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
then you have probably the size of the widget to change :rolleyes:
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
I use the 9 day (F) + detail. I like to see that 8 days from now, the weather is going to be 20 degrees warmer than today.. :rolleyes:

I would prefer the current info being moved up, and an "Updated" line added to the bottom. Makes it easy to see at a glance.

How are you going to release the patch? It would be nice to have just one install with your timer, and resized info packed in. As long as I can manually copy and paste the HTC weather icons (and still fit correctly), I don't care what icon set you use to make the app! :)

Any idea on the moon phases?
[HD2 Windows Mobile 6.5 Themes and Apps] Dunc001:
Ok, might take me until next weekend because if I'm going to do that I might as well add in the new 4 day layout I have done for BLUE SK-i and remake the cab.

Icon sets shouldn't be a problem, no matter which set you use as long as the pngs have been made the right size.

For the moonphase it might just be a data issue from Accuweather (I know we had occasional issues like this with wetter.com on Weatherpanel. Have you checked the other layouts with moon to see if the problem is there too?
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Good deal. I'll try out the other layouts too. But you might be right. I'm no stranger to experiencing anomalous data from weather providers. Bright and sunny when its 9pm... Yea right... :rolleyes:
[HD2 Windows Mobile 6.5 Themes and Apps] fast_zorro:
Hi Dunc,

First THX for the fix, installed yesterday evening, set to 4h update time and until now only 0.4 MB traffic - great !!!

Also THX again for saugbaer for the german translation.

I'd would prefer to reduce the current day - because on my screen you only see two letters.
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
you have pn ;)
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
new script GER!!!

new script GER!!!

this time, a new concept translation ;)

found here http://www.mobiletopia.de/viewtopic.php?f=209&t=2211&hilit=titanium

thx the Developers:D

here adapted--->TitaniumWeatherEng.mscr

will of course continue to adapt and optimize ;)

TitaniumWeatherEng.mscr copy to \program files\TitaniumWeather\

Please test and report...thx ;)

This script is optimized for --->appearance change

the thank button...you can use :p

update 09.03.2011 13:12
[HD2 Windows Mobile 6.5 Themes and Apps] GeitjeG:
Would be great if someone can make a easy installable .cab file with the update interval customisable and te error suppression included.

From a lazy :p user :D
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
appearance change

how about this :confused: :D

It must be the BL_widget mode9 be adapted :rolleyes:

for me it is the 337a2c0d_manila.....you can edit them with m9editor

mode9 possible names for widget....thank you goes to @dunc

Slot 0 - 7F913909_manila
Slot 1 - 4C8B75CA_manila
Slot 2 - 1985B28B_manila
Slot 3 - 667FEF4C_manila
Slot 4 - 337A2C0D_manila
Slot 5 - 007468CE_manila
Slot 6 - 4D6EA58F_manila
Slot 7 - 1A68E250_manila
Slot 8 - 67631F11_manila
Slot 9 - 345D5BD2_manila
Slot 10 - 64DB81BA_manila
Slot 11 - 31D5BE7B_manila
Slot 12 - 7ECFFB3C_manila
Slot 13 - 4BCA37FD_manila
Slot 14 - 18C474BE_manila
Slot 15 - 65BEB17F_manila
Slot 16 - 32B8EE40_manila
Slot 17 - 7FB32B01_manila
Slot 18 - 4CAD67C2_manila
Slot 19 - 19A7A483_manila
Slot 20 - 511D569B_manila
Slot 21 - 1E17935C_manila
Slot 22 - 6B11D01D_manila
Slot 23 - 380C0CDE_manila
Slot 24 - 0506499F_manila
Slot 25 - 52008660_manila
Slot 26 - 1EFAC321_manila
Slot 27 - 6BF4FFE2_manila
Slot 28 - 38EF3CA3_manila
Slot 29 - 05E97964_manila
Slot 30 - 3D5F2B7C_manila
Slot 31 - 0A59683D_manila
Slot 32 - 5753A4FE_manila
Slot 33 - 244DE1BF_manila
Slot 34 - 71481E80_manila
Slot 35 - 3E425B41_manila
Slot 36 - 0B3C9802_manila
Slot 37 - 5836D4C3_manila
Slot 38 - 25311184_manila
Slot 39 - 722B4E45_manila

there you can adjust the width and height and font size or font color

in script TitaniumWeatherEng.mscr.....for updating time-indicating

RegWriteString("HKCU", "Software\HTC\Manila","BL_Page"&dct&"_Other","SA: "&sunrise[ct]&" SU: "&sunset[ct]&" LF: "&humidity&" aktualisiert: "&updatetime)

it is already adapted for German

my manila can be used as a template ;)

when they have found their manila.....they can also just rename this only ;)

Have fun :D

update 12.02.2011 23:22
[HD2 Windows Mobile 6.5 Themes and Apps] cmajewsk:
WOW, works great! Thank you! This add-on is terrific, and now that is it not eating all my data it's even better!
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Moon phase still a problem

I decided to look a little deeper into why the moon phases are not being shown correctly. What I found was that there is a discrepancy between how the image on Accuweather is named, and what is in the Spil directory. I tallied up all the images on Accuweather, and I get image number 0-23. There are 27 images in Spil. I cross referenced from the moon half full point in both, and renamed the images in Spil accordingly. If someone is interested, here are the correctly named images. Now the question is, was this just an oversight? Or has something changed?
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
how to get to 23:confused:

<moon>
<phase date="2/7/2011" text="Waxing Crescent">3</phase>
<phase date="2/8/2011" text="Waxing Crescent">4</phase>
<phase date="2/9/2011" text="Waxing Crescent">5</phase>
<phase date="2/10/2011" text="Waxing Crescent">6</phase>
<phase date="2/11/2011" text="First">7</phase>
<phase date="2/12/2011" text="Waxing Gibbous">8</phase>
<phase date="2/13/2011" text="Waxing Gibbous">9</phase>
<phase date="2/14/2011" text="Waxing Gibbous">10</phase>
<phase date="2/15/2011" text="Waxing Gibbous">11</phase>
<phase date="2/16/2011" text="Waxing Gibbous">12</phase>
<phase date="2/17/2011" text="Waning Gibbous">14</phase>
<phase date="2/18/2011" text="Full">14</phase>
<phase date="2/19/2011" text="Waning Gibbous">16</phase>
<phase date="2/20/2011" text="Waning Gibbous">17</phase>
<phase date="2/21/2011" text="Waning Gibbous">18</phase>
<phase date="2/22/2011" text="Waning Gibbous">19</phase>
<phase date="2/23/2011" text="Waning Gibbous">20</phase>
<phase date="2/24/2011" text="Last">21</phase>
<phase date="2/25/2011" text="Waning Crescent">21</phase>
<phase date="2/26/2011" text="Waning Crescent">22</phase>
<phase date="2/27/2011" text="Waning Crescent">23</phase>
<phase date="2/28/2011" text="Waning Crescent">24</phase>
<phase date="3/1/2011" text="Waning Crescent">25</phase>
<phase date="3/2/2011" text="Waning Crescent">26</phase>
<phase date="3/3/2011" text="Waning Crescent">27</phase>
<phase date="3/4/2011" text="New">1</phase>
<phase date="3/5/2011" text="Waxing Crescent">1</phase>
<phase date="3/6/2011" text="Waxing Crescent">1</phase>
<phase date="3/7/2011" text="Waxing Crescent">2</phase>
<phase date="3/8/2011" text="Waxing Crescent">3</phase>
<phase date="3/9/2011" text="Waxing Crescent">4</phase>
<phase date="3/10/2011" text="Waxing Crescent">5</phase>
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Sorry.. I don't understand your question? The Accuweather codes go from 1-27. But the actual images that are stored on their website go from 0-23. For example, this and this.
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
that you must then ask accuweather :confused: ;)

can only speak for myself

my matches moon really ;)
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
I just saw the problem. The icon set I was using has the phases messed up. The original install cab has the right phases. :o
[HD2 Windows Mobile 6.5 Themes and Apps] christty31:
work like a charm on my Touch Pro 2!

thank you! keep walking!

thanks added!
[HD2 Windows Mobile 6.5 Themes and Apps] hojadereyes:
Hi!

Can someone upload a cab with the changes to avoid the continuous data connection? I like this widget very much, but it eated in a couple of weeks my 300Mb a month :(

I do not know how to change the code, it is like chinese to me.

Thank you in advance
[HD2 Windows Mobile 6.5 Themes and Apps] Dunc001:
I posted the fix cab I made HERE a couple of pages back. It seems to be working fine so is OK to use. Let me know if you have any problems.
[HD2 Windows Mobile 6.5 Themes and Apps] hojadereyes:
wow! thank you very much! I saw all that code and I did not see anymore :S

I am waiting my HD2 to come back from the service centre. I was said it will be here this week, but I am afraid it will be the next one. In the same moment I have it back, I will try the widget again and report.

Your help is really appreciate :)
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Sense restart issue

I was having a problem with Sense not restarting once it had been shut down. Finally I hard reset my device and started adding things one by one. As soon as I enable this widget, I see the problem. Anyone else have this issue?
[HD2 Windows Mobile 6.5 Themes and Apps] jsmccabe78:
how many other widgets do you have installed? more importantly, what widget slot does this one take up (HKCU\Software\HTC\Manila \CHT.AddonWidgets.Slot)?

if it is 10 then it is known to cause problems. a solution is to install Dunc's Modified Home Mode9 cab and soft reset again found here.)
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Mine is showing as Slot0. If the widget is not enabled, Sense restarts just fine. With it enabled, I have to soft reset to bring up the Sense home screen.
[HD2 Windows Mobile 6.5 Themes and Apps] fast_zorro:
..will not help you, but just to tell you:

I have the same problem with the rss-widgets. At least I've dropped them, because I found no solution.

If you found the solution for your problem, please tell us - maybe this help me also :rolleyes:
[HD2 Windows Mobile 6.5 Themes and Apps] jsmccabe78:
and to the other part - how many total widgets do you have? (it is around 10 things start acting weird...)

so does it work after a soft reset (sense, the widget, etc?) or is it freezing?

one option is to install the above modified mode9 file i linked to from dunc. it may help (and won't as it allows you to install many more widgets...) just an idea!
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
In total I think I think I have 2 or 3 at most.

so does it work after a soft reset (sense, the widget, etc?) or is it freezing?

I totally appreciate the help!! Every suggestion helps. I did go over to Dunc's post, but the thing is so huge, I couldn't find the cab you're mentioning. I'll give it another try. Thanks again!
[HD2 Windows Mobile 6.5 Themes and Apps] grymcent:
I am really gutted to find this so far into it's development as I have been asking on the CHT2.0 Thread for several month about getting a weather widget sorted.

I just posted on the B&L Alarm Widget about how to use the connections of that for converting or creating a widget that can take weather info form existing apps like weatherpanel

I would imagine you are now too far into development to take this route?

I would have thought it would be easier than to create your own.

Anyway, I am looking forward to trying your widget and seeing how much better it is than the existing weather widget.

grymcent
[HD2 Windows Mobile 6.5 Themes and Apps] Dunc001:
If you only have two or three widgets installed then you don't need to bother with the modified home.mode9 so ignore my BLUE SK-i thread. Can you check in your registry and see which widgets you have installed into which widget slots (HKCU\Software\HTC\Manila and scroll way down until you find the CHT.AddonWidgets.Slot? entries. Check that you have widgets installed starting from Slot0 with no gaps (so 0,1,2,3,etc). Also, have you done any other CHT/Sense mods other than widgets - theme cabs, etc - which could be causing it. And what ROM are you using - some ROM's have issues with certain widgets.
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Hey Dunc. Nice to hear from you! Nothing in CHT.AddonWidgets.. But I do have CHTI.AddonWidgets.Slot0 and the weather widget is in there. And now that I look closer, thats the only widget that shows up in any of the slots. My ROM is the one in my signature (NRG ROM for Rhodium).

Have you gotten around to packaging the weather widget separately as a cab? You had mentioned it, but I'm not sure if thats still in your plans.
[HD2 Windows Mobile 6.5 Themes and Apps] Dunc001:
Yeah, sorry - typo on my part! So you've only got that one widget installed and nothing else? I do know that whenever we have had widget issues in the dev group they seem to be with NRG ROMs. For some reason they seem to respond less favourably than other ROMs to widgets with any slight flaws (wrongly sized qtcs, png's used in widgets etc. So it might just be something you've got to live with. That is until rat is ready to release his amazing new clock/weather widget which is a port/remake of the LG Optimus x2 Weather/Clock and looks absolutely amazing. Watch that space...
[HD2 Windows Mobile 6.5 Themes and Apps] bipinsen:
Yep.. Just the one widget. I can live with it. Its not like I restart my Sense three times a day.

Just saw the LG Optimus widget. Now that's a piece of beauty! I couldn't find a thread with discussion of a Windows port of the app. Did I miss it?
[HD2 Windows Mobile 6.5 Themes and Apps] tigor.nsk:
another server

is it possible to change a weather server? The accuweather is not precise, for example for my location it give difference in 7-10 degrees! I would say and hear proofs from many peoples that msn or foreca weather site is VERY precise in forecasting.
[HD2 Windows Mobile 6.5 Themes and Apps] GeitjeG:
The difference in temperature you mention probably is the minimum and maximum temperature during 24 hours. This has nothing to do with inaccurateness...
[HD2 Windows Mobile 6.5 Themes and Apps] hojadereyes:
Working wonderfully. Now it needs less of one Mb a day.

Thank you very much, Dunc001 :)
[HD2 Windows Mobile 6.5 Themes and Apps] lapis21:
a few skins for the B & L_Group weather widget
[HD2 Windows Mobile 6.5 Themes and Apps] lapis21:
...continuation
[HD2 Windows Mobile 6.5 Themes and Apps] MrBeOTP2:
have anyone get trouble with font ?????

how to fix it?
[HD2 Windows Mobile 6.5 Themes and Apps] ericv99:
this used to happen to me about twice a day when i used NRG REFERANCE ROM. So me being the one that cant put down his phone..uninstall and reinstall. Would still come out like that. So out of frustration I just left it alone....AND after about an hour it was back to normal.

I know this doesnt really help you but youre not in it alone.
[HD2 Windows Mobile 6.5 Themes and Apps] GeitjeG:
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.
[HD2 Windows Mobile 6.5 Themes and Apps] MrBeOTP2:
tks man =___= :(

i was waiting one day T_T
[HD2 Windows Mobile 6.5 Themes and Apps] lapis21:
★ B&L Weather Widget Skins ★

Enjoy ;)
[HD2 Windows Mobile 6.5 Themes and Apps] lapis21:
...extension

★ B&L Weather Widget Skins ★

Enjoy ;)
[HD2 Windows Mobile 6.5 Themes and Apps] lapis21:
...finish

★ B&L Weather Widget Skins ★

Enjoy ;)
[HD2 Windows Mobile 6.5 Themes and Apps] saugbaer:
I've even looked at the lua 5b420cc1_manila

The bold values ​​have changed ;)

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
[HD2 Windows Mobile 6.5 Themes and Apps] BHS Interceptor:
That´s really good news. Muchas gracias Saugbaer :D

I did hit the "thanks" button, but sorry, more than 5 today :o

At the end, your long nights working on fixing it have been succsessfull :)
[HD2 Windows Mobile 6.5 Themes and Apps] L22EEW:
Lovely :)
[HD2 Windows Mobile 6.5 Themes and Apps] rickyjune:
WOW thanks man, they are all amazing

just one question, why have all the moon got dents in them:o
[HD2 Windows Mobile 6.5 Themes and Apps] lapis21:
picture of the moon has not changed, all in standard skin :o
[HD2 Windows Mobile 6.5 Themes and Apps] GeitjeG:
Thanks Saugbaer, it it showing the right icons now. Well done!
[HD2 Windows Mobile 6.5 Themes and Apps] ascertainer:
hi and thx for the app which i think is really needful.

i installed this icon set:

"Weather flat gray skin by lapis.cab"

because for me it is the most eye-candy in my monochrome design.

there are 2 problems in my case:

first is the weather icons now overlay the day names (mon, thu ... etc) partially

second may be i'm going wrong but to copy this file "TitaniumWeatherEng.mscr" y to "\program files\TitaniumWeather\" changes nothing for me to german language...

please help...

thx