yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] ctsatsis:
It works

Hi,

I finally managed to make it work ... quite easily in fact ... I've just performed a location change (Brussels again) in order to force the update and then softreset ... S2U2 recognized everything like a charm

I don"t know why the softreset was mandatory but it helps me out

Still have two small questions:

1. It is possible in S2U2 to have a weather forecast (I don't think so)...

2. It is possible by hacking the weather.ini file and “The Internet” to force the update ONLY when the device is connected via ActiveSync and / or Wifi ... This would be very useful for countries where 3G is still expensive (not Belgium anymore ;)

Still thank you, your script is amazing ...

Christoph
[Windows Mobile Apps and Games] michoob:
The links are broken, do you have some other links?
[Windows Mobile Apps and Games] michoob:
Yes, you're right, the Yahoo/AccWeather mapping was not so good... The wallpaper #18 should be the same as the #39 and #40...

Will make the change in the next release to come next year ;)
[Windows Mobile Apps and Games] chancer63:
WVGA Wallpapers (Animated)

I posted that already yesterday but nobody seems to notice:

--> http://xdaforums.com/showpost.php?p=4776841&postcount=539

I just checked it, the link works.

CU
[Windows Mobile Apps and Games] CheleCity:
Mortscript 4.3b11. I left connection code blank (also tried it with "Sprint"). In general my internet works fine via active sync and wifi. I have no programs with dedicated weather programs updating and activating. I have never been able to figure out the location code thing as I'm in US, but I tried putting in the Sacramento example and no difference. I am in area code 30260 in states. Yahoo weather code comes back 12770685. When I put either of those numbers in the rainmeter url you attached I get a long string of data that looks to be fine (zipcode worked best). You also asked about the 4 icons. I thought it was just 4 icons that showed the weather icons of the next four days when pressed. I don't know what the 12 icons you are referring to are. I changed my .ini file to place everthing on a blank iphonetoday page (page 4) where I currently only have one icon. When I run the program now the screen flashed grey, sometimes it will prompt me with "update weather", but when the grey screen goes away, none of the icons have changed and no new ones are created.
[Windows Mobile Apps and Games] chancer63:
Maybe you should not try the latest beta- version. I can remember that in some other cases the new beta causes trouble.

Cu
[Windows Mobile Apps and Games] chancer63:
Weathericons

Although bluemetalaxe means, that these icons are not good enough for his high- level- standard (and he's right!) I prefer these icons:

CU

PS: If necessary, change *.zip to *.rar
[Windows Mobile Apps and Games] michoob:
Thanks.

chancer63 is right, you should try with Mortscipt 4.2 and not the beta release.
[Windows Mobile Apps and Games] CheleCity:
Ok, unistalled beta Mortscript. Installed 4.2. rebooted. Same result. Old program shows icon with question mark with "data error" under it. When pressed shows four icons with "mon, tues, wed, thur" lables, same icons wiht question mark. Your version shows grey screen when pressed, asks to update weather now, and then returns to same screen (with just the one, iphoneTodayAccuweather icon). Nothing changes. I am using an HTC Touch pro if that makes any difference. Thanks.
[Windows Mobile Apps and Games] michoob:
I really don't understand what you're meaning by "old program" and "my version"? Which "old program"?

I think there's a misunderstanding here.

Please post your weather.ini and I'll try to help you.
[Windows Mobile Apps and Games] michoob:
New version IPTWeather_20100104

New version's up!

Happy new year!
[Windows Mobile Apps and Games] CheleCity:
Thanks, sorry to be a pain

The 'old' program that I was referring to was the iPhoneTodayWeather.mscr that I thought you used as the basis for your program. Anyway, I have attached the weather.ini. Hopefully I'm just doing something stupid. Sorry to be a bother.
[Windows Mobile Apps and Games] michoob:
It seems there's indeed a problem, that I can reproduce.

Perhaps because of the zip code...

I'll try to find a solution to this.
[Windows Mobile Apps and Games] michoob:
Ok CheleCity, the issue comes from the use of a US zip code as I thought.

In fact, the xmlparser is crashing...

Please try with the following config.xml file to copy into the IPTWeather folder, and tell me if it works.

It works on my phone with this config.xml file :p

The good news is that this config.xml file works also with non US zip codes :) so it will be included in following versions.
[Windows Mobile Apps and Games] BOBO_01:
AccuWeather

Hello michoob,

is it possible to get the weather dates from this AccuWeather Site: CLICK

Because then you can get the forcast text in your home language!?
[Windows Mobile Apps and Games] michoob:
Unfortunately, IPTWeather is based on the Rainmeter AccuWeather API that is in English (UK) only :(

But thanks to my 'Weather description translation' section, you can edit step by step new weather descriptions and hope that some day, you'll have them all... :p

I could also add an option to use only the icon numbers to define a map between these numbers and some description, but then, for the icon number 22, you will have for instance 'Schnee' and not the detailed weather description as 'leichter schneefall' or 'schnee in variierenden schneefallraten'... :rolleyes:

I'm also thinking of some language setting, so it would be easier to have an international weather.ini file...
[Windows Mobile Apps and Games] chancer63:
Yesterday I started using your new version, michoob. After some problems (a lot of things to set up in weather.ini) it is working great.

I have one problem so far: after a soft reset startAccuweather.mscr shows an error message: something like "unknown command if..." I think it has something to do with this line:

If (IPTWscheduleNextUpdateOnStart AND (If (IPTWdelayHours <> 0 OR IPTWdelayMinutes <> 0))

I will try to investigate what it is exactly.

...and a wish:

Is it possible to change the location WITHOUT a new update (without an Internet connection)?

CU
[Windows Mobile Apps and Games] michoob:
Oups, you're right. I haven't soft-reseted yet, thanks to the great Topix ROM I have :p.

Just delete the '(If ' and it should work... I think I'll post a new version this evening with the 'My Location' feature that's is working great!

Do you mean you would like the manageIPTWLocation.mscr script to allow the user to enter a location code without having to edit the weather.ini file manually?

I'll see what can be done. ;)

Ideally, I guess I should make a new script IPTWSettings.mscr... :)
[Windows Mobile Apps and Games] chancer63:
I thought that it was something like that. I removed "If(" and it worked.

No. What I meant is that when you change the location there comes the question if I want to update now. If I have no Internet connection available then there will be no changing of the icons and wallpapers.

I thought that if you can store all downloaded weather information of all the chosen cities in the registry the changing can take place without an Internet connection.

But on second thought it's sure too much space wasted with information stored in the registry.

Keep on the good work :).

CU

PS: Found something really small ;):

In weather.ini you write

but the script is named

Not much, really. I hope you don't misunderstand...
[Windows Mobile Apps and Games] chancer63:
New Weather Icons

...wanna try some new weather icons?

Change the *.zip to *.rar if necessary.
[Windows Mobile Apps and Games] michoob:
Indeed... but I said previousely, I could recode the whole script set so you keep all your favorite locations in the registry.

But recoding the script to do this will be very very long to do, even if not so hard... perhaps some day...

Thanks.

LOL, I will change this in the next release...

They look great, will try them. Thanks.
[Windows Mobile Apps and Games] michoob:
Great news! :D

1. By forecast in S2U2, you mean several days displayed simultaneously? No, it is not possible, you can display only one icon in the UserWeather of S2U2 on the bottom left. You can set different settings for the UserWeather icon and the wallpaper to have different information. For instance, you can have the current weather in the icon, and the next day forecast in the wallpaper. You can also change the displayed information in S2U2. Just play with the different settings and enjoy! :D

2. As described in the weather.ini file (or if you use the shortcut 'IPTWeather configuration' in the Start Menu), you can set IPTWinternetConnection to blank. Then, IPTWeather will not try connect, but just use your current active connection(ActivSync or Wifi). But you cannot set with MortScript a notification that runs on connection to Wifi or ActivSync unfortunately. So IPTWeather will never connect, and your weather will be updated only if you have a active connection when the scheduled update runs.

You're welcome.

You can also thank me with paypal :p.
[Windows Mobile Apps and Games] michoob:
IPTWeather_20101119

New version is out:

Please remember you can backup your weather.ini file and restore it after the installation using the restoreBackupConfig.mscr script.

Enjoy!

:D
[Windows Mobile Apps and Games] superflysocal:
Was using the previous version of this program and was working but now I'm getting constant Mortscript errors when it tries to update.

I updated to latest version and still have this bug.

Is mortscript 4.2 more stable than 4.3b?
[Windows Mobile Apps and Games] michoob:
What do you have for IPTWtranslationLanguageCode?

If not, please set it to empty because it doesn't work anymore for two or three weeks now because the website of AccuWeather.com has changed.

Otherwise, I see no reason why it wouldn't work.

IPTWeather works fine on my device.
[Windows Mobile Apps and Games] superflysocal:
translationcode set to en-us

so it is because of accuweather that i get mortscript error?
[Windows Mobile Apps and Games] michoob:
Yes, it is because of that.

Please also note having IPTWtranslationLanguageCode=en-us is totally useless since you already have US English if IPTWtranslationLanguageCode is empty.

Please set IPTWtranslationLanguageCode to empty, and all will be fine :).

Maybe I should disable his feature in a next version...
[Windows Mobile Apps and Games] superflysocal:
i now have set it to blank, but still have mortscript error and weather is thus not updating. is it because accuweather is down?
[Windows Mobile Apps and Games] michoob:
Have you changed some scripts manually?

What IPTaccuWeatherAPI do you use?

What IPTWlocationCode do you use?

By the way, what error message do you get?

If you cannot make it work, reinstall IPTWeather, then run the shortcut 'IPTWeather Location', choose your location, and let IPTWeather update the weather.

I just tested it, and I confirm the default installation of IPTWeather works perfectly, without any error.
[Windows Mobile Apps and Games] superflysocal:
ok, i got it to work but very strange.

It appears that i had installed weather panel also. However, when i have weather panel plugin disabled, I get mortscript error when i try to update iptweather. When i enable Weatherpanel on today screen, the iptweather updates fine....very strange must be some conflicting scripts?

now i just realize that on s2u2, i have it set to display current weather icon (-1), but that does not appear to be updating (or the icon set is wrong). It has been showing icy for the last 36 hours, but it has been in the 70's here in Houston! The s2u2iconpath is blank so it should be using s2u2 gfx folder which i have not tampered with.
[Windows Mobile Apps and Games] michoob:
Could you please attach your weather.ini file?

You are really doing some strange things...
[Windows Mobile Apps and Games] superflysocal:
ok, here it is.

also, i tried to set s2u2weathericonpath to another folder that has another set of icons (downloaded from this thread), but it won't change to those icons.
[Windows Mobile Apps and Games] michoob:
Try to set a greater value for IPYWmaxDownloadMinutes. For instance 30.

Set your icon and wallpaper paths using 'IPTWeather config' you can find in your start menu.

Try to update with an active wifi connection, by choosing again your location in IPTWeather Location.

Please post the error message you get.
[Windows Mobile Apps and Games] superflysocal:
Updating through wifi resulted in no error, but with cellular, it gives me this error:

"A problem has occurred with mortscript.exe" and thus it doesn't update.

I have set the iconpath using the config program, but it doesn't seem to use it, it is still using the one from s2u2.
[Windows Mobile Apps and Games] michoob:
Ok, then try installing VJVolubilis and then set IPTWinternetConnection=VJVolubilis.

Depending on your OS language, you might have to change IPTWvjvolubilisPath.

Yes, I have detected that icons don't get changed if the weather icon is the same before and after the icon change. But it should change once the weather updates with a new icon.

I'll correct this small issue in a new version.

In the meantime, you can just delete all numbered icons from the S2U2\gfx\weather folder.
[Windows Mobile Apps and Games] superflysocal:
where do i get vjvolubilis? and what is it?
[Windows Mobile Apps and Games] michoob:
Yeah, sorry. I just edited my post with a link to it.

VJVolubilis is an app to toggle your data connection.

MortScript cannot toggle the data connection off on some ROMs.

This might be your problem.

Maybe you have flashed recently?
[Windows Mobile Apps and Games] superflysocal:
using vjvolubilis worked without errors!

btw, I was the original poster who created the WeatherWallpaper script for using mortscript to change S2U2 wallpaper based on weather including animated and static weather wallpapers.

I stopped development a while back, but i am glad to see you have taken this to a whole new level. Great Work!
[Windows Mobile Apps and Games] michoob:
Haha, yes, true, you are even in my "Thanks to" list :).

From your code, I actually only used the Yahoo! Weather to AccuWeather map codes.

But I am not sure it was right, and since then I've redone a new icon map file from scratch.

What version of Windows Mobile do you currently use with IPTWeather? 6.1 or 6.5?

I have the feeling that MortScript's Disconnect function doesn't work properly with WM6.5...

Anyway, as you confirmed it's now working for you, I'll update the FAQ.

Cheers.
[Windows Mobile Apps and Games] android52:
Michoob,

Love the app and the way it makes my S2U2 look so great. I've been using it for a while (asked you previously about setting the Landscape wallpaper). I believe something happened in the last update that is causing me some major grief.

It took me a while to isolate (and a lot of phone rebuilds) that IPTWeather may be the culprit. I had installed new verisons of IPTWeather and ProfileSwitch (believe you're using it) at the same time last week.

I rebuilt the phone and installed the newest IPTWeather without installing ProfileSwitch at all, and saw the errors return. Uninstalled the latest IPTW and went back one version with no problems occuring. Added the lastest ProfileSwitch and still no problems. Leads me to believe something with the latest IPTW.

So what is the problem... It's hard to describe, and I've noticed but not taken great note of a number of things. The phone seems to "lock" at the S2U2 screen and I need to pull the battery - though sometimes I can use the power button to turn off. Sometimes the slider disappears - the weather text and the slider inset are there but the button is gone. Sometimes the slider button is "offset" and half on and half below the slider inset. Often the top bar from S2U2 stays after unlocking (i.e. I can see the S2U2 icons, battery meter, etc. and can't access the start menu or other "normal" functions of the top bar.

Not very descriptive or helpful. If you want me to re-install the latest IPTW and or anything else to try to get more info, logs, etc. please let me know.

Attached is my weather.ini, and I'm running on a stock Omnia 2 (i8000) from Bell Canada, with a bunch of installed apps (S2U2, profile switch, Dj Cleo taskbar, etc.)

Any help/thoughts would be appreciated.

android52
[Windows Mobile Apps and Games] michoob:
Hi android52, thanks for your feedback.

I've also had this issue several times.

It is due the way I tried to bypass a bug of S2U2... -_-

Technically speaking, normally, calling iLock2.exe with argument -nomsg should silently close S2U2, so it can then be restarted to update the weather wallpaper, slider and UserWeather.

Unfortunately, sometimes, it just locks for an unknown reason (here is the S2U2 bug), and this used to lock IPTWeather in an infinite loop, so the weather was not updating until the next soft-reset or forced weather update...

So to bypass this S2U2 bug, in the IPTWeather versions after the Killing Dragon one, I'm killing the iLock2.exe process if it hangs.

But I just noticed this week that in such a case, I should also kill the S2U2.exe process, otherwise, you can have two S2U2.exe processes running, and here come the big problems you have!

I will publish an update of IPTWeather (probably only next week), but in the meantime, you can just replace the IPTWreloadS2U2.mscr script of the sys folder with the attached one (unzip it first of course ;)).

I hope this will solve the issue. Please let me know.

Cheers.
[Windows Mobile Apps and Games] android52:
Michoob,

Thanks - I was almost beginning to get paranoid - if not for myself at least for all Omnia 2 owners. Seems that we get a disproportionate amount of error messages and problems (see the O2 owners in the Profile Switch thread with problems and also in XDAFacebook) - I thought I just might be out of luck again...

I guess it's good and bad news - good that you know the problem, bad that there is a problem.

For now, I think I'll just stick with the 1111 version rather than go to 1119 and I'll wait until your next update. Unless you want a "tester" of the new script - in which case let me know and I'll be happy to try out the one you attached.

Thanks again for the great app and fast support.

Cheers,

android52
[Windows Mobile Apps and Games] michoob:
Yes, I understand your point.

Ok, I just think we cannot kill S2U2, otherwise, you get unexepected behaviours.

I also think it is better not to play too much with the Kill function of MortScript...

So please find attached a quickfix to the 20101119 version with the following improvements (just copy the two .mscr scripts to the sys folder of IPTWeather):

If S2U2 not installed, disable S2U2 related features before updating S2U2 registry.

Never kill S2U2 but just skip its refresh if it cannot be closed.

Check S2U2 icon file sizes to ensure UserWeather icons are updated correctly if IPTWS2U2UserWeatherIconsPath is changed and/or if icons are changed.

Removed not really working IPTWmaxDownloadMinutes setting.

Disabled IPTWtranslationLanguageCode setting which cannot work since last AccuWeather.com website update.

I will be able to cab this in a new version only on December 2.

With this quickfix, we are more or less back to what we had with the Killing Dragon version :).
[Windows Mobile Apps and Games] JaCoL_JcL:
seems to "'samsu" api is broken...:(
[Windows Mobile Apps and Games] android52:
Michoob,

Since you posted these files I figured you were looking for a test of them. I dl'ed, installed 1119, then copied my icons/weather folders, restored my backup of weather.ini and copied these two files into the sys folder, manually ran "autostart" and "startAccuWeather" and "getAccuWeather".

Now, it seems that whenever IPTW tries to get weather automatically it kills S2U2 (i.e I go to unlock my phone and S2U2 isn't there. I restart S2U2 and next time IPTW autoruns S2U2 is gone again. alternates between killing S2U2 or starting it. For example, if I start S2U2 at 7, update weather and then have IPTW update every hour, at 8 S2U2 will be "turned off" and then at 9 it will be turned back on.

If I perform a manual "getAccuWeather" it doesn't seem to change the state of S2U2 (it either stays off, or stays on).

Any thoughts?

Regards,

android52
[Windows Mobile Apps and Games] coolsac32:
also can someone post a tutorial or settings to get a dedicated page to current weather and weather forcast from on iphone today
[Windows Mobile Apps and Games] michoob:
You have several pages on iPhoneToday.

The first page is numbered 0, the second is numbered 1, the third 2, and so on.

Choose a page you want to have dedicated weather icons and fill this page with blank icons: long click in iPhoneToday, add a first blank icon (by increasing the page number to create a new page), and save it without filling anything, then copy this icon next to it and so on, so you have a full page of invisible blank icons.

Then, just configure IPTWeather by setting IPTWcurrentWeatherPage, IPTWcurrentWeatherIcon, IPTWforecastStartIcon and IPTWforecastStartPage in the User Settings of IPTWeather to fit your dedicated page.

For instance, if you want your third page to be dedicated to weather, with the first icon containing current weather, and the following icons with forecast icons, you need to set:

IPTWcurrentWeatherIcon=0

IPTWcurrentWeatherPage=2

IPTWforecastStartIcon=1

IPTWforecastStartPage=2
[Windows Mobile Apps and Games] fubo73:
Hi all,

I just discovered this really interesting program. I am trying to use it in my cooked I8000, but when I try to update weather data, nothing happens, both IPT and S2U2 do not show anything. Can someone help me?
[Windows Mobile Apps and Games] michoob:
@fubo73: first read this, then this. You can also try to read this. Only then you can ask and I will try to help you. Thanks.
[Windows Mobile Apps and Games] fubo73:
I'd already read them before posting, sorry if I did not specify.

First thought is: should IPTW go in \Program Files\IPTWeather? Because currently I have it installed in \Programmi\IPTWeather.

Second: when I select a location, a message of type "download data now" appears. I click yes. Then should I expect any "done" message, or it is ok that nothing happens?
[Windows Mobile Apps and Games] michoob:
IPTWeather installation is language-independant, so no problem if your OS is in italian, and it is fine if it is installed into \Programmi\IPTWeather :).

When you have the pop-up message, after you click yes, it should update iPhoneToday and/or S2U2 depending on your IPTWeather settings.

At first, I would suggest you try a first update with Wifi enabled.

You can also post your weather.ini file attached in a zip file so I can check your settings.

If it updates in Wifi but doesn't work on your cellular phone data connection, you might consider installing VJVolubilis to toggle the data connection
[Windows Mobile Apps and Games] fubo73:
It does not update at all. Where it stores forecast data? Because I'm suspecting it is not downloading it at all.

Attached are weather.ini and icons.xml for IPT.
[Windows Mobile Apps and Games] sowasalex:
Hi all!

How can I have weather descriptions in pop-ups translated to Russian (or to any other language). Is it possible at all?
[Windows Mobile Apps and Games] michoob:
@sowasalex: read the FAQ. Thanks.
[Windows Mobile Apps and Games] michoob:
@fubo73: read few posts before yours => the "samsu" API is not working anymore. Use IPTWaccuWeatherAPI=ruan instead.
[Windows Mobile Apps and Games] fubo73:
BTW, I'm using Mortscript 4.3b15.
[Windows Mobile Apps and Games] michoob:
@fubo73: also, the IPTWgoogleUserID is totally not your gmail address. Read the comments near each setting to understand.

Now, thank you guys, I'm fed up with questions from people not really reading all the answers they can get by their own.

So from now on, I'll do like a_c with S2U2, I won't answer to questions you can find answers to. I will help only people who really need some help.

Especially once I release the new version on Thursday which is totally bug free.

Cheers.