yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] basil12:
Unfortunately I am unlucky

Dear Michoob

I don't make jokes my friend.Thank you for your time but as many times I try I will cannot succeed anything.Can you upload all your IPTWeather file? I think it is the only way.Thank you again.If you can't no problem.:confused:
[Windows Mobile Apps and Games] michoob:
@basil12: first, it has nothing to do with the fact you are using an Omnia2 or whatever. All required stuff works on all Windows Mobile 6.1 to 6.5.x phones.

Then, you have all the information you need in the FAQ and the installation guide.

Finally, I know IPTWeather works, so there is no bug here on which I work.

So, just read and read again, because I won't help you. Time is money, and I don't want to spend my money on newbies like you who don't read, because, I repete, you can find all the information you need to make it work in this thread, in the FAQ and the installation guide.
[Windows Mobile Apps and Games] basil12:
Thank you again for all and i wish you always successes

Michoob Congratulations for your works.
[Windows Mobile Apps and Games] tito12:
Hi Michoob

After playing a little with this new version here's a report for the use with iFolder, which is great when one uses different displays with various number of pages - I had to use a weather ini file for each display in order not to overwrite the icons :) Now I can use IPTW in any display with a click on an icon linked to iFolderWeather:D

1- quickIPTWFavoriteLocationChange.mscr updates the next location in the list immediately when clicked but sometimes opens a window (yes/no) for confirmation. I prefer the 2nd behaviour so if I click no it exits and next time I click on the script it starts with next location.

2- I couldn't find the way to use the multi locations feature:

Right now I have the same as before- with the the big difference of the folder option, am I missing a setting here?

Thank you very much

Tito
[Windows Mobile Apps and Games] michoob:
Thanks for your report.

I don't understand exactly all your questions, but let's try to answer.

0. Why several weather.ini files? Do you also have several copies of IPTW? I don't get this point.

1. if IPTWupdateWeatherNowQuestion is not empty, this text will prompt you for a weather update as soon as the update of the location is older than IPTWforceDelayHours hours and IPTWforceDelayMinutes minures.

2. To display multiple locations, run the IPTWeather Location script and choose 'Favorites to show current weather of'.

3. To auto-update several locations, run the IPTWeather Location script and choose 'Favorites to auto-update'.

Of course, for the new features listed above on 2. and 3., it requires you have saved your locations as favorites...

Please ask for more information so I can find a way to describe the use of these features the best way in the FAQ.

By the way, nice weather icons set ;)
[Windows Mobile Apps and Games] tito12:
michoob

0- Several ini files for every display, the only difference was the page number and icon positions ;) I created a script to overwrite the icons and settings xml's in IPT and weather.ini in IPTW (for instance display A had 4 pages while display B had 6 etc... so weather.ini for A needed to start forecast in page 5 and for B in page 7 ) but this is obsolete now thanks to you and the iFolder :D

1- IPTWupdateWeatherNowQuestion is empty but it's not the issue.

I have 8 locations (all selected with a +)

Iconset is Klear
[Windows Mobile Apps and Games] michoob:
Ah yes, right, in the quickIPTWFavoriteLocationChange.mscr script, if a location has never been downloaded yet, it will pop-up the IPTWupdateWeatherNowQuestion question even if empty...

I guess I should change this not to show anything if IPTWupdateWeatherNowQuestion is empty...

If locations are selected with a +, their current weather icon should be displayed after the usual one.

To have weather downloaded automatically, you have to select them with a *.

BUT, to change the location of the displayed weather forecast for a location with a +, so for a location which has its current weather shown, just click on its current weather icon! No need to use the quickIPTWFavoriteLocationChange.mscr script ;).

Damned, this feature is really complicated :p. I hope you manage to understand how it works...
[Windows Mobile Apps and Games] tito12:
My bad, I didn't notice the different signs * and + :o

And to prevent anybody bothering you with this I wrote this tutorial ;)
[Windows Mobile Apps and Games] michoob:
Thanks tito12! Added to the wiki!

:D
[Windows Mobile Apps and Games] tito12:
Glad you like it :)

I have a few suggestions:

1- My first location is Tel Aviv as you see, and it's updated with all locations at once, when I choose another location's forecast it displays the new forecast, so far so good, but when I want to return to Tel Aviv forecast and press Tel Aviv icon (icon 0) I get only the detailed forecast in a window. I expected an update or reload of the forecast icons like the other locations.

2- Speaking of the mortscript windows:

icon 0= icon 8 - if you implement my remark above, issue is solved

icon 18= icon 19 - a suggestion to link it to iPhoneTodayAccuWeather.mscr (will save adding another icon for update)

3- This is an IPT issue, the labels are too small to allow the location name and the %CT%, my idea: would it be possible to have an abbreviated city name like the ones used in travel business f.e. TLV for Tel Aviv, LAX for Los Angeles etc...

This is it for now ;), what do you think?

Thanks
[Windows Mobile Apps and Games] michoob:
The Execute and Param fields of the icon0 (current weather icon of the main location) are not updated by IPTWeather, so you can just call the iPhoneTodayAccuWeather.mscr in the icon0, and that should solve your suggestions 1 and 2 ;).

For suggestion 3, I'll think of what could be done.
[Windows Mobile Apps and Games] tito12:
Fast answer!

1- iPhoneTodayAccuWeather.mscr will update all locations when the logical thing is to update only this location alone.

2- [I wouldn't have posted the icon 19 issue before testing, and it works once then it's updated with info script] edit: sorry, you never said icon 19 is not updated...
[Windows Mobile Apps and Games] michoob:
What are you currently calling in your icon0 that makes you get only the detailed forecast in a window?

I understand you would like that there is not one main location, but just a list of favorite locations with the same behaviour for each one of them.
[Windows Mobile Apps and Games] tito12:
I didn't change anything in icon 0, it calls IPTWdisplayinfo.mscr and params.

My thought is if someone has chosen the display of many locations then the notion of "Favorite" is obsolete and you have to treat all locations the same.
[Windows Mobile Apps and Games] michoob:
Yeah, I must agree with you that each location should behave the same way. I'll change that.

As for the current behaviour of your icon0, you must have copied somehow the icon from another one, because IPTWeather doesn't right the Execute and Param fields of the icon0.

Anyway, thanks for your feedback, I'll work on it :).
[Windows Mobile Apps and Games] tito12:
Well I don't know what happened to icon 0 too, anyway I solved the first issue by taking the params from another location and replaced the code and icon position. That will do until you release the fix, as for icon 19 it's a little (a lot!) more complicated to deal with changing the script :D

Thank you and don't hesitate if you need some testing (though it looks like you're a perfectionist who does all by himself ;))
[Windows Mobile Apps and Games] michoob:
Yes, you are wrong, as you can see in the first lines of the first post:

LOL

Please do.

To my mind IPTWeather is better than TRITaniumWeather if you don't use Titanium ;).

Moreover, with IPTWeather, without coding, you can easily have the below issue you have with TRITitaniumWeather solved:

:D
[Windows Mobile Apps and Games] marangoni:
mmmm.... you are so persuasive... yes, I think I´ll give a second chance to IPTWeather ;)

I´ll keep you informed!!

Thanks mate!
[Windows Mobile Apps and Games] michoob:
I see no way of doing it full automatically as AccuWeather doesn't provide such a short name.

The only way I can see is with a map file with cities short names you want.

Now, one question: where should this map be at best?

Please tell me.

I thought of one of the following possibilities, but maybe you'll find a better one:

a. Add a setting in the weather.ini file like IPTWcitiesNamesMap=Tel Aviv, TLV, Los Angeles, LAX and maybe add the Map type field in iniEditor so you can easily manage this map with 'IPTWeather Config' script.

b. Have a specific map file only for cities, to avoid overloading the weather.ini file.

Anyway, I think I'll split the [User settings] of the weather.ini file in two different categories [General settings] and [iPhoneToday settings] and ensure the restoreBackupConfig.mscr script can handle this. Of course, in such a case, it will become mandatory that you restore your weather.ini file with the restoreBackupConfig.mscr script in the next version...
[Windows Mobile Apps and Games] tito12:
Hi michoob

I don't think you should invest too much work in this, just a tutorial explaining how to get shorter location names in the weather ini, for those who use many locations and want many params displayed.

Here's a temp fix using 2 pages:
[Windows Mobile Apps and Games] michoob:
Yes, you are right, I have finally decided just to add a file name citiesShortNames.ini which will contain the map you want for cities short names :).

I have yet to review the structure of the weather.ini file like said previously, and I'll be ready to release a new version.
[Windows Mobile Apps and Games] tito12:
This solution would be perfect.

Can you tell me if we can use IPTWinternetConnection=The Internet to start a wifi connection and shut it off when update is finished?
[Windows Mobile Apps and Games] michoob:
No, currently, IPTWeather cannot toggle the Wifi connection.

But I must admit I've already thought about it. I'll have a look at this.
[Windows Mobile Apps and Games] michoob:
Maybe WiFi Monster could do the trick ;).
[Windows Mobile Apps and Games] tito12:
It looks like using a tank to kill a mosquito :D, just calling a small exe to toggle wifi will do.
[Windows Mobile Apps and Games] tito12:
Here's what I use, wifi.exe toggles on and off, wifi-off well... kills wifi
[Windows Mobile Apps and Games] michoob:
New version 20100107

New version's up!

I've separated the accuweathericons folder from the IPTWeather zip file so it is easier for you to update, especially if you use other icons.

What's new:

[COLOR="Blue"]Latest version is IPTWeather_20100107:[/COLOR]
- If [B]IPTWaccuWeatherLocation=My Location[/B], then your location, based on IP geolocation, will be used to retrieve the weather forecast
- Added the "My Location" option in the manageIPTWLocation.mscr script
- Corrected minor bug: notifications are not correctly managed, so when forcing an update, you may get more automatic updates than expected for few updates...
- Corrected display bug when using US zip codes as location codes and calling iPhoneTodayAccuWeather.mscr
- No longer IPTWaccuWeatherLocationCode is used for the displayed city icon, but the location code stored in the registry after received data are parsed. Thus, even when using IPTWaccuWeatherLocation=My Location, you can still display the city icon (would be fun if we could have a city icon database...).
- Corrected bug: "unknown command if" error in the startAccuWeather.mscr script
- Better management of the IPTWpreventSleepModeOnUpdate setting when an error occurs during the update
- Improved generation of new entries in the weather.ini file in the "Weather description translation" section: if the text is too long, " and " is replaced by " & ", and " with " is replaced by " w/ ". If you have other ideas on shortening the text...
- Separated accuweathericons folder from the IPTWeather zip file so it is easier for you to update, especially if you use other icons.

Enjoy!

:D

PS: by the way, I've got an idea about the location swaping without the need of redownloading data... perhaps in the next release... ;)
[Windows Mobile Apps and Games] michoob:
New version IPTWeather_20100108

Oups, I forgot to uncomment the first line of the getAccuWeather.mscr script in the previous version, the line ErrorLevel("off").

Please uncomment it, or download the new version.

Sorry.

[COLOR="Blue"]Latest version is IPTWeather_20100108:[/COLOR]
- Uncommented first line of the getAccuWeathe.mscr script (ErrorLevel("off")) to allow automatic recovery from download errors, as usual. I just forgot to do this in the previous version, sorry...
[Windows Mobile Apps and Games] chris5304:
Hi, this is a great project. I am puzzled as to why I can't get it to work on my Blackstone, running kwbr 3.1.2 wm6.1 Rom. I have disabled Manila and have iPhone today as my only today plugin. s2u also installed. That's all working fine.

I installed Mortscript 4.2. I copied IPTWeather folder to iPhoneToday and the accuweathericons folder into that. Copied s2u wallpapers and icons into gfx folder. I set icon on page 0, position 0 to image \iPhoneToday\IPTWeather\accuweathericons\AccuWeather.bmp and Execute to \iPhoneToday\IPTWeather\iPhoneTodayAccuweather.mscr. I switched WiFi on. Changed weather.ini to set IPTWinternetConnection=[blank].

I ran startAccuWeather.mscr (just clicked it, I also tried putting it in windows\startup and soft resetting). I then ran manageIPTWLocation.mscr and did a search for new location, Leicester, UK. It found several options, I chose Leicester, Leicestershire, UK and set it as default. It asked me if I wanted to run update and I said yes. I then got a Mortscript error "Info" "missing name for out value" and no change to the icon in iPhoneToday. S2U seems to have been updated with conditions and wallpaper (qvga but never mind that for now). Just iPhoneToday has no change.

I've checked weather.ini and it shows: IPTWaccuWeatherLocation=England) which seems odd. I changed it to =EUR|UK|UK169|Leicester and ran getAccuWeather.mscr. No error but also no change to the icon in iPhoneToday. Soft reset, ran startAccuWeather.mscr then clicked on icon. Nothing.

Any help gratefully received.

Chris
[Windows Mobile Apps and Games] michoob:
@chris5304: there's a parsing issue in the manageIPTWLocation.mscr script with cities as Leicester, but if you enter the AccuWeather code manually in the weather.ini, it should work. At least, it works on my Blackstone. Will correct the manageIPTWLocation.mscr script, but if you don't manage to make IPTWeather work, please post your weather.ini file.
[Windows Mobile Apps and Games] tcchuin:
hi,i don't use iphonetoday,but can i use this with S2U2?
[Windows Mobile Apps and Games] CheleCity:
I give up.

Nope. Didn't seem to make any difference. Also, new s2u2 icons/wallpaper don't seem to be mapped correctly. I think s2u2 display is just showing the numbered .png icon for whatever the current temperature is. Anyhow, I must respectively give up. What are the steps I need to do to return iPhoneToday and s2u2 back to their normal/previous state? Thanks.
[Windows Mobile Apps and Games] michoob:
I'm sad you sisn't mmanage to make it work.

To return iPhoneToday and S2U2 back to normal, delete the IPTWeather folder, remove the startAccuWeather.mscr script from the Start Up folder, disable the User Weather in S2U2 settings, change the lang.ini file in the S2U2 to change the slide to unlock text, then restart your phone to be sure there are no more notifications for my scripts, and finally change back to normal the icon of iPhoneToday you used to run the iPhoneTodayAccuWeather.mscr script.

Currently, IPTWeather will not work without iPhoneToday. It can run without S2U2 only. I think there is another script on xda to use the User Weather feature of S2U2 without iPhoneToday, have you tried it?
[Windows Mobile Apps and Games] tcchuin:
tried to search but i can't find it,link please?
[Windows Mobile Apps and Games] michoob:
Here are the links for S2U2 User Weather without iPhoneToday:

http://xdaforums.com/showthread.php?t=390841

http://xdaforums.com/showthread.php?t=358952

Tell me if it doesn't work as you expect.

Perhaps I'll make an option to disable iPhoneToday in my scripts, so you can use them even without iPhoneToday... perhaps in the next version: stay tuned! :p
[Windows Mobile Apps and Games] tcchuin:
since you've said it,i guess i'll just wait you to release a version XD

because yours has the realfeel temperature,while other 2 seems don't. :)
[Windows Mobile Apps and Games] michoob:
New version 20100112

New version's up, mainly with Google Latitude support, and "S2U2 only" mode.

Latest version is IPTWeather_20100112:
- Corrected issue: parsing error in the manageIPTWLocation.mscr script with some cities as Leicester. You have to enter the location code manually in the weather.ini...
- Added Google Latitude setting in the manageIPTWLocation.mscr script
- Added setting IPTWgoogleUserID (find your Google User ID here)
- Added IPTWaccuWeatherLocation=Google Latitude option (also in the manageIPTWLocation.mscr script) in order to use your Google Latitude location as the weather location. Make sure to enable your Google Location Badge: http://www.google.com/latitude/apps/badge
- Improved text shortening in the S2U2 slide text: "morning" replaced by "a.m.", "afternoon" replace by "p.m.", " ing" replaced by " in'"
- Added setting IPTWiPhoneTodayDisabled: set it to 1 if you want to use S2U2 only

Enjoy! :)
[Windows Mobile Apps and Games] CheleCity:
Does anyone know of a weather app for iPhoneToday, that will simply display the current temperature in the icon and then launch a seperate, dedicated weather program when the icon is pressed?
[Windows Mobile Apps and Games] marcini:
now how do we use this for just S2U2?

thanks
[Windows Mobile Apps and Games] michoob:
@marcini: it's written in the changelog "Added setting IPTWiPhoneTodayDisabled: set it to 1 if you want to use S2U2 only"

Open the weather.ini file, and in one of the first lines, you'll find the IPTWiPhoneTodayDisabled setting. Set IPTWiPhoneTodayDisabled=1 and iPhoneToday will not be used.
[Windows Mobile Apps and Games] michoob:
In fact, my scripts almost allow that, because it can show only current temperature in an icon if you want. Then, you just have to map this icon not to iPhoneTodayAccuWeather.mscr, but to some other app.

Here are some weather apps and also here. Google is your friend ;).
[Windows Mobile Apps and Games] michoob:
After a thought, I figured out that what you want, is not using my scripts, but scripts that would be an iPhoneToday interface to some other weather app.

For instance weather4me also retrieves weather from AccuWeather: http://xdaforums.com/showthread.php?t=527905

So you could imagine an iPhoneToday interface to Weather4Me, I don't know...

EDIT: it seems not possible to make an interface to Weather4Me since weather data are not stored in an interfaceable manner, but at least this app is want you wanted CheleCity :)
[Windows Mobile Apps and Games] needle2k:
Hi,

ist there a way to integrade this into ciphone c6 Iphone UI ?

my favor would be only an image(icon) wich get´s weather info from

weather4free or g-weather....... what

i´m not familiar to mortscript or any other scripting for wm6 :(

thx
[Windows Mobile Apps and Games] michoob:
I don't know Ciphone C6 iPhone UI, and I didn't find many help about it on the Internet. I'm not sure there is an interface allowing external applications to change the Ciphone C6 iPhone UI icons, so I guess it is not possible, sorry...

But I guess you can uninstall the Ciphone C6 iPhone UI, then install iPhoneToday and S2U2, and finally use my MortScripts ;)
[Windows Mobile Apps and Games] needle2k:
if i install a prog (icon get´s displayed) can there be a smal exe

there is a time / date UI icon which shows the actual time / date so somthing is running .......
[Windows Mobile Apps and Games] michoob:
@needle2k: sorry, but I cannot help you on a UI I don't know... so unless you find some help on your Ciphone UI, I won't be able to help you at all.
[Windows Mobile Apps and Games] michoob:
Ok, in such a case, even iPhoneToday can toggle the wifi connection.

But will the device connect to the wifi connection once it is toggled on?

Hum... I guess yes.

Ok, maybe I'll use your exe because of people who don't use iPhoneToday...
[Windows Mobile Apps and Games] michoob:
Actually, I do have another exe that toggles Wifi on/off. I think it is the one from the BSHenry pack, and it comes with only one exe and not two ;).
[Windows Mobile Apps and Games] tito12:
Yes, I added the 2nd just in case I or another program shut wifi after the 1st has been activated, a second press will put it on again, so wifi -off would be the ultimate answer: If wifi is on it will be turned off and if wifi is off it will stay off :D
[Windows Mobile Apps and Games] michoob:
IPTWeather_20110303 released!

New version released!

Enjoy!

:D
[Windows Mobile Apps and Games] claus1953:
I have installed a new iFolder called iFolderW, where i would like to show the weather.

In the script settings i changed the class to iFolderW (which is also the name of the executable inside the iFolderW), but i could not get the weather to show up there.
[Windows Mobile Apps and Games] michoob:
Set IPTWiPhoneTodayDisabled=-1, otherwise, IPTWeather will disable the update of iPhoneToday automatically if iPhoneToday is not running.

Or maybe you have another issue. I let you check with tito12 who managed to have it work and who is better than me for tutorials ;).
[Windows Mobile Apps and Games] michoob:
Also make sure you have empty icons created in the iFolderW page at positions IPTWcurrentWeatherIcon, IPTWcurrentWeatherPage and IPTWforecastStartIcon, IPTWforecastStartPage and so on...
[Windows Mobile Apps and Games] claus1953:
Thanks for your answer. It was null and i set it to -1, but still no weather was displayed, so it must be another issue. I hope Tito can help me out with this.
[Windows Mobile Apps and Games] michoob:
Are you able to have IPTWeather work with the normal class name iPhoneToday?

If yes, I would suggest then that you overwrite the icons.xml file of the iFolderW with the one of iPhoneToday, and then change in the weather.ini file the class name to iFolderW. It should work.

Hum... maybe you just have to set IPTWwriteForecastInFile=1
[Windows Mobile Apps and Games] claus1953:
IPTW worked with IPT, when i installed this last version it wrote the icons in IPT. Just when i changed the class name to iFolderW it did nothing anymore.

IPTWwriteForecastInFile is already 1.
[Windows Mobile Apps and Games] michoob:
I just installed iFolderWeather.cab what created an iFolderWeather folder in Program File with an exe Folder.exe which is a modified iPhoneToday.exe with class name Folder.

So use Folder and not iFolderW. It should work.
[Windows Mobile Apps and Games] tito12:
@Claus and michoob

Sorry I was away but the last post is right, just call it Folder.
[Windows Mobile Apps and Games] michoob:
tito12, I wonder if all your iFolders are with the same class name Folder.

That could have unwilling consequences.

Let say you install all your iFolders and IPTWeather updates the data of the class Folder.

I guess you don't want IPTWeather to change the icons in the Settings iFolder, do you?

Then, I would suggest you create a different class name for each one of your iFolders.
[Windows Mobile Apps and Games] michoob:
Damned! I have forgotten to remove the # in the first line of the getAccuWeather.mscr script what might result in pop-upping a message if you encounter a data connection issue while updating... :(

Please remove the very first # in the getAccuWeather.mscr script manually.

I'll release a corrected version asap.

Sorry for the inconvenience.
[Windows Mobile Apps and Games] michoob:
Ok, change done and version IPTWeather_20110304 released.

It is the exact same version as the 20110303 one but with the # in the first line of the getAccuWeather.mscr script...