yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] zvi1:
thank you a lot, waiting for new release.
[Windows Mobile Apps and Games] michoob:
IPTWeather_20100526

New version available:

Enjoy!

;)
[Windows Mobile Apps and Games] zvi1:
thank you for the new update

thank you for the new update,

that exactly what I was looking for, I will install and try.
[Windows Mobile Apps and Games] zvi1:
new IPTWeather_20100526

thank you michoop, I have installed the update:

1. in my HTC touch HD MortScript connection toggling is ok , so i did not use VJVolubills.

2.settings IPTWforecastSkipIconFrequency and IPTWforecastSkipIconQuantity is OK but i expect at evening time when the today forecate is only one icon (and not 2 as in morning) to have a one icon shift and then i will lose the space between each day ??

3. when i use the new script stopAutoUpdate.mscr to remove and disable any automatic update i get zero in IPTWdelayHours & IPTWdelayMinutes,

that mean that in order to Start again I will have to reconfigure weather.ini ?

I would like to have like a toggle because configuring weather.ini every time is too comlicated.

I appreciate yorur efforts and must say you have created a superb software!
[Windows Mobile Apps and Games] michoob:
2. I will add a setting IPTWforecastIconSkipFirstAtSunset to be set to 1 in order to achieve that

3. The script stopAutoUpdate.mscr does it job as expected. I don't want to make scripts or one script for toggling options, because it would be a lot of work to do it for each weather.ini setting and for the need of each user... So I would simply suggest you create your own script restartAutoUpdates.mscr with the following code (not tested but should work), for instance:

doIt = Question("Restart automatic updates?")
If (doIt)
IPTWscriptPath = SystemPath("ScriptPath")

IniWrite(IPTWscriptPath \ "weather.ini", "User settings", "IPTWdelayHours", 1)
IniWrite(IPTWscriptPath \ "weather.ini", "User settings", "IPTWdelayMinutes", 30)

mort = SystemPath("ScriptExe") \ "MortScript.exe"
startscript = IPTWscriptPath \ "startAccuWeather.mscr"
Run(mort, """" & startscript & """")
EndIf

Sorry for that, but if I'd like to make some toggling options, I would just developp a kind of a generic .ini file advanced editor which could be used with any .ini file, but it would require so much work, that I even don't dream about it :).
[Windows Mobile Apps and Games] zvi1:
restartAutoUpdates.mscr

I have done a script with the suggested code and it is working fine.

thank you michoob.
[Windows Mobile Apps and Games] michoob:
New version released!

Enjoy!
[Windows Mobile Apps and Games] zvi1:
one problem in IPTWeather_20100527

The problem is that one icon shift when sun has set changes all the IPTWeather

forecast icons because "IPTwforecastSkipiconFrequency=2 " should count two icons including the empty place that was left after sun has set and not two icons from the night temp.

in my case:

IPTwforecastSkipiconFrequency=2 & IPTwforecastSkipiconquantity=3,

when in IPhone today i have 5 icons in a row so I have each day in the right side of the page row under row.

Thank you michoob.
[Windows Mobile Apps and Games] michoob:
Yes, you're right zvi1.

Here is a new release:

Enjoy!
[Windows Mobile Apps and Games] zvi1:
IPTWeather_20100528

thank you michoob,

very quick new release, I have installed it, ok for now,

I will check it after sun set - for sure will be ok.

I like your weather application very much and i can arrange the display in iPhoneToday Exactly as ni want !
[Windows Mobile Apps and Games] michoob:
Perhaps there is an issue with your location code or something.

Could you post a zip file with your weather.ini file so I can check it, please?
[Windows Mobile Apps and Games] m4f1050:
May I give a suggestion? (Thanks for the help in PM, very appreciated --> OP)

I have a bottom icon (moved clock to where tasks was in iPT) with the time and using the calendar background, looks even, but if we could add text to the time, maybe this is something I would have to ask in iPT and not in iPTWeather since it's an icon behavior (or text or addt'l text.)

Here is a pic:

Here is a pic with what I want...
[Windows Mobile Apps and Games] michoob:
I'm glad you have finally managed to make IPTWeather work on your device.

What you're asking for is impossible with current iPhoneToday and IPTWeather.

But in fact, I don't see the logic of having temperatures on the time icon... and I don't think tronikos will be willing to do something like that...
[Windows Mobile Apps and Games] m4f1050:
I did noticed iPhoneToday has the Day Of Week and Weekday where you can configure..

What about not update the icon but do update the text, I would use the bottom of the clock instead, but I would like the top to have the weather instead.. :(
[Windows Mobile Apps and Games] michoob:
Then you'll have to ask for such a feature on tronikos' iPhoneToday thread.

EDIT: ok, I can see you've already done that :p
[Windows Mobile Apps and Games] zvi1:
Relative humidity

IPTWeather is functioning perfect for me,

Would it be possible to have for iPhoneToday an icon to show Relative humidity that I can see in www.accuweather.com

it would be grate if it can be done, as in iPhoneToday we do not have all the information that is available for s2u2.
[Windows Mobile Apps and Games] michoob:
How the relative humidity icon should look like?

Just an icon (but which one) with the humidity under it?
[Windows Mobile Apps and Games] zvi1:
yes, i can not think of any other way to show it?

I will try to look for an icon for it.

thank you
[Windows Mobile Apps and Games] zvi1:
michoob'

maybe this icon
[Windows Mobile Apps and Games] michoob:
If I add such a feature, the icon would be definitively configurable.

In fact, I was thinking some time ago about making the weather forecast icons able to call some scripts to show for each icon all the weather data stored by IPTWeather. But not that easy to do...
[Windows Mobile Apps and Games] m4f1050:
I tried to force an icon but it forces it on S2U2 also :(

Is there a way to "skip" icon update but do change the text? I want to show the temps under my clock and not change the icon.

Thanks!
[Windows Mobile Apps and Games] michoob:
It's currently not possible.
[Windows Mobile Apps and Games] The_Punisher:
Cant get it to work

Hi guys:

I have treid and tried but can't get thnis to work. I only want to use iPT, not S2U2. Attached are my weather.ini and script files. I will appreciate if some one can please take a look at them and tell me what I'm doing wrong.

:confused:
[Windows Mobile Apps and Games] michoob:
It doesn't work blah blah... :p

How do you expect someone to understand what is your problem with so few description of what you've done and/or tried?

But I'll try to help...

First, change IPTWdelayMinutes=15 to IPTWdelayMinutes=45 for instance, or at least 30.

AccuWeather.com updates the data in its database only every 30 minutes, so there is no point in updating every less than 30 minutes... and perhaps AccuWeather.com temporarily blocks your IP address from retrieving data when you try to update too often.

I can't really tell more since the description of your problem is so light. Even the "scripts" you have attached are only one script and not the whole IPTWeather script set...

Come on, let's try a little harder :)
[Windows Mobile Apps and Games] TTJB:
Michoob, Quick question. IPTWeather stops updating in IPT after about 3 or 4 days. It has done this with each upgrade. It works fine and continues to update in S2U2 and not IPT. It keeps whatever was the last icon and weather info in IPT. So where is the weather registry for

IPT Only

to clear? I will clear out the registry for the current weather in IPT and then restart the weather app? Thanks.
[Windows Mobile Apps and Games] michoob:
There is no weather registry for iPhoneToday.

If everything is normal on the side of iPhoneToday, you should have only two values reloadIcon and reloadIcons set to 0 in HKLM\Software\iPhoneToday.

But it's strange that it updates fine in S2U2 and not iPhoneToday. Which version do you use, the dll one or the exe one? What do you have for the setting IPTWiPhoneTodayDisabled in the weather.ini file?
[Windows Mobile Apps and Games] The_Punisher:
Hi Michoob:

You are absolutely right. Sorry about that....I was frustrated and on a hurry (plus lots of other problems in my mind but they are not your fault) so i forgot the most important thing, the problem description.

OK, here is the problem. It seems to run (I see the equivalent to the hourglass icon) and it sometimes even asks me if I want to update the weather but nothing seems to happen. Is the script supposed to automatically create the icons or am I missing some installation/configuration steps? I've browsed thru most of this pages (I might have missed one or two) but I don't see any information about that.

Phone: Sprint HTC Touch Pro

Windows 6.1, ROM 2.01.651.6

Again, I appologize for my lack of information (I realized later at night) and Thanks for your patience and support. It seems to be a great app (or script) and I would like to have it running on my phone (as I can't use the default weater app - which I like a lot - from within iPT).
[Windows Mobile Apps and Games] m4f1050:
michoob remember I had the same problem with the icons, you need the 0-9 and 00-09, that's one place to check, make sure the icons are in place...

Also may I remind you that if you set your weather icon & page to a non-existing icon the icon doesn't show and it doesn't update. That's how I got rid of the forecast back when I was running the wrong .mscr instead of startIPTWeather.mscr...
[Windows Mobile Apps and Games] michoob:
I'm glad to see that at least some other users are helping me with the support :).

First thing to check, is tell me what you have exactly done for each step of the installation process you can find here.

Then, if you have some questions, please also check the FAQ.
[Windows Mobile Apps and Games] The_Punisher:
1.) I did the install in the same order as the install page. Troniko's iPT, Ms 4.2 and so on.

2) I also edited the ini file as per the isntructions and verify the paths are correct and set the settings to not use S2U2 as per instructions.

3) I created a blank page on iPT. Page number is 9 (starting from 0) and assigned the nuber in the ini file.

4) I looked for my city code on AW (althought I have also tried others just to see if I got the wrong code).

5) I looked at the script file to verify everything looks at the different samples I have seen.

What else should I do?
[Windows Mobile Apps and Games] michoob:
And so on? Usually, when a user says that, it means not every step has been correctly followed...

By the way, I guess your blank page for weather doesn't contain blank icons, does it?

Because of the way iPhoneToday works, IPTWeather cannot create icons, but just overwrite existing icons.

So if you want to have a blank page to be used for weather icons, then you'll have to create blank icons on that page, or nothing will be displayed.
[Windows Mobile Apps and Games] The_Punisher:
1. yes, i followed the steps correctly. I just thought it wont be necessary to write every single step.

2. That might be it. The page is ttally empty. it has no icons created. Will create some icons and try again. maybe this is what I was missing.

Edit:

Thank you very much. I created 5 icons and it worked! At least the first icon was set correct (icon and text). The others icons are populated but no text written under the icon, is this correct?
[Windows Mobile Apps and Games] michoob:
There may be up to 12 weather forecast icons as shown on the screenshots on the Google Code page: 2 per day for 5 days, one for the city and one for the data observation time.

If you add the current weather icon, that makes 13 icons, and not only 5 icons... but if you managed to get what you want, that's great!
[Windows Mobile Apps and Games] The_Punisher:
I just added 5 for testing purposes. I have added the rest now. I have the first icon (icon 0) with text and icon. The rest of the icons (starting at 1) only have the icon set, no text shows under them.
[Windows Mobile Apps and Games] michoob:
I guess the blank icons need to have for instance one space as text icon so IPTWeather can update the text with weather data.
[Windows Mobile Apps and Games] The_Punisher:
I don't know how but after several retires runing the script (with no changes to either script or ini file) , now they show the appropriate text!

Now it would be cool to add a shortcut to the icons to open at least the AW page with the city code selected...

Thanks you very much for your help...

:)

Edit:

I just manually added the respective links to the AW page with citty code to icon 0, the forecast page to the forecast icons and the radar page to the city icon so now it opens the browser when I click on each icon.

;)
[Windows Mobile Apps and Games] michoob:
It seems great, but I don't really understand what you mean by the radar page...

Screenshots are welcomed! :)
[Windows Mobile Apps and Games] mikatravels:
My location

Thanks for this great app. I live in Brazil and my location gives very accurate coordinates if i look them up in google maps. About 500 meters from my current location. In S2U2 though i get weather report from a city like 30 km from my location. What could be the problem? Thanks in advance and keep up the good work!
[Windows Mobile Apps and Games] michoob:
Since the question is asked quite often, I've added the answer in the FAQ:

AccuWeather's database to translate GPS position into a city doesn't seem to be very accurate, but very approximative (around 30km). You cannot do anything but find the exact code of your location using the script manageIPTWLocation.mscr.
[Windows Mobile Apps and Games] mikatravels:
Ok thanks!
[Windows Mobile Apps and Games] The_Punisher:
_www.accuweather.com/radar/sir/pr_/radar.asp

althought I changed to the satellite page better. This would be easier as it also

uses the city code:

_http://www.accuweather.com/en-us/CAC/PR/PR000/Anasco/satellite.aspx

:)
[Windows Mobile Apps and Games] michoob:
Ahn ok, I understand :).
[Windows Mobile Apps and Games] mikatravels:
Is there any possibility then to use another database than Accuweather? I have pocketweather installed and it would be great if your app could use that data and get all the wallpapers and stuff working in S2U2. I Don't use your app in Iphonetoday. I like it to be all automatically so I don't have to change my city manually. Thanks in advance.
[Windows Mobile Apps and Games] michoob:
@mikatravels: yes, I know, it's a pity but I haven't found a database that gives you AccuWeather location codes for each GPS position. I think that only AccuWeather can give such a database...

As for the PocketWeather API part, I've already started to talk about it with SBSH. They are very nice, but because of their policy, I doubt it will be possible to achieve retrieving PocketWeather data using MortScript, because when you make a MortScript script, the code is necessarily open sourced.

So to get PocketWeather into IPTWeather, someone, and certainly not me, should developp an exe that would use the PocketWeather API dll, thus guarantiing a full compatibility even if there are new versions of PocketWeather.

What I could do is make configurable the way to push data to IPTWeather registry values, so one could easily code an exe to retrieve data from PocketWeather to IPTWeather...
[Windows Mobile Apps and Games] mikatravels:
@michoob: thanks for the quick reply! It doesnt has to be necessarily Pocket weather. Is there no way to integrate it with for instance touchflo weather or as a matter of fact with any weather service other than accuweather. There are many around. For instance yahoo weather.. Maybe they are more accurate in position.
[Windows Mobile Apps and Games] michoob:
Everything is possible!

But each weather data source has its own API.

IPTWeather uses the AccuWeather RSS API.

Connecting IPTWeather with another weather data source requires some work.

I don't have time and will to do that for now.

As I said, I could make the data input of IPTWeather configurable so one can easily connect IPTWeather to other data sources. But I still don't have time do it now...
[Windows Mobile Apps and Games] jerrya:
Ok, I installed iPhoneToday, and began customizing to my liking. Was ecstatic to hear of a weather on screen option, and jumped on it. Except it doesn't work. Here is what I did, step by step:

1) installed iPhoneToday

2) Previously installed Mortscript 4.2

3) downloaded and installed Slueths MyLocation Service

3.1 - when I access it, it stated myLocation service is enabled whenever I go to myLocation status tab

4) downloaded and installed the latest IPTWeather cab

5) downloaded Spilicons.zip and extracted to /program files/iptweather

6) modified the weather.ini file this way:

6.1 - IPTWaccuWeatherIconPath=\Program Files\IPTWeather\spilicons

6.2 - IPTWaccuWeatherMetric=0 (I want F, not C)

6.3 - IPTWaccuWeatherLocation= (I left it blank, since there was no instructions about using the myLocation service or what is placed here for that.) Edit - I noticed going back that it automatically changed to 'My Loaction'

6.4 - IPTWinternetConnection= (I left blank as directions said to leave blank if using current connection)

When I start 'IPTWeather location', I get the choice of a bunch of options (googleLatitude, use my location, etc). I choose 'use my location'. I am then asked if I want to update weather now, and I choose yes.

Then the first icon position on my screen says 'error', and shows no icon at all. When I click and hold, then edit icon, I am at the edit icon screen where it lists the following parameters:

Screen: 0, Icon: 0

Type: Normal

Name: Error

Image: \program files\iptweather\spilicons\accuweather.png

All other fields are blank. So, what do I do to make this work? I am sure I screwed up somewhere, I have no luck with this kind of stuff.

Edit - I then went ahead and deleted the icon, and re-started the startaccuweather.mscr, and what it is doing is taking over whatever my first icon is. My first icon when I first installed this program was time, and that was taken over by IPTWeather. So then when I deleted it to restart, memory was the first icon, well, that was taken over again by IPTWeather, so something with the icon I think. I deleted it again.

Can anyone tell me how I set the icon up correctly?
[Windows Mobile Apps and Games] The_Punisher:
JerryA:

I'm still new at this but here goes my feedback:

1. Make sure you set the correct icon positions in the weather.ini:

IPTWcurrentWeatherIcon=0

IPTWcurrentWeatherPage=10

;Position of the current weather icon in iPhoneToday

IPTWforecastStartIcon=1

IPTWforecastStartPage=10

;Position of the first forecast weather icon in iPhoneToday

in my case, icons are in Page 10 (if u start counting from 0).

2. Make sure the icons path is set in the weather.ini "IPTWaccuWeatherIconPath="

3. Make sure you created 13 empty icons on that page (you can create a few to start testing, then create the rest once its working).

4. make sure you have the correct city code. Test it on AccuWeather to double check.

Hope this helps a little....
[Windows Mobile Apps and Games] michoob:
First of all, congratulations for the very good description of what you've done!

Then, it's strange you don't see any icon, even with the error text.

Don't you have a picture with the path "\Program Files\IPTWeather\spilicon\accuweather.png"?

You may also change the executable field of the 0, 0 icon to run iPhoneTodayAccuWeather.mscr to enhance your experience of IPTWeather.

But what about your issue.

The error text means there is an error with the data retrieved from AccuWeather.com.

Several possibilities:

- the location retrieved from Sleuth's myLocation service is not right, or not yet available, so you have requested he weather for a position that cannot be recognized by AccuWeather.com. You have to know that Sleuth's myLocation service needs some time and some data download in order to give you your position. If this is the problem, then, perhaps, your issue is already solved now.

- in fact, I don't see any other possibility...

As for IPTWaccuWeatherLocation=My Location, that hasn't been done automatically. In fact, it has changed when you have choosen 'use my location' in 'IPTWeather location'.

As for the icon, IPTWeather doesn't create any new icon, but it can only overwrite an icon.

For the current weather icon, IPTWeather overwrites the icon number IPTWcurrentWeatherIcon on the IPTWcurrentWeatherPage page.

The best is to set a blank icon at the defined position and let IPWeather manage the icon text and picture.

Please don't hesitate to ask some more questions.

I hope you'll manage to configure IPTWeather to fit your needs, because this is so cool. At least, I enjoy it!
[Windows Mobile Apps and Games] michoob:
Just for information, it seems tronikos has corrected a bug in his next release of iPhoneToday 1.53 that will allow to set up forecast weather icons to run scripts (and not the initial icons) to show for instance the weather data stored for each weather icon... stay tuned!
[Windows Mobile Apps and Games] jerrya:
thanks for getting back so soon! As for location, I guess your right, allthough I don't know why My Location isn't working. When I enter a search for new location code, and enter Seattle, WA. It finds it just fine and shows the temperature at the bottom of the icon. However, the icon is still not showing anything. I checked the path, and it is leading to the correct icon, but, the icon still is not showing. I just don't get it. Is it becouse I am using the spilicons?

I also tried the trick where I deleted the icon, then just put a normal blank icon in the first icon position, (0,0?). I then re-ran the accuweather start script, selected my location, and let er rip. No change. It overwrote the blank icon, but isn't showing any other icon. I am going to make sure I have done the weather.ini file correctly, will let you know.

Edit - Ok, I found that I sent the wrong path in the ini file so I corrected it, BUT, It didn't change anything. So I tried changing my location to NY, and lo and behold, ICON! But now it wont change back to Seattle! Will keep playing with it!

Edit again! - Ugh, I am getting flustered big time. I have tried and tried to get it to change back to Seattle, and it wont. So I deleted the icon, added back a blank one, and now, I get absolutely nothing. The icon wont change, and the temps at the bottom are not there either. In fact, it wont even ask if I want to update the weather after picking a different location. So I am going to soft reset, see if that helps.

Nope, didn't help. And its no longer replacing the icon with the weather one. So I don't know. I am going to remove everything other than mylocation and iPhoneToday, and try re-installing from scratch.
[Windows Mobile Apps and Games] michoob:
IPTWeather will only ask if you wan't an update if the the data are not up-to-date, based on the time IPTWforceDelayMinutes and IPTWforceDelayHours.

You can set these to 0 so it asks you want each time to update the weather, just for testing purpose.

The strange thing is it's working for New York but not for Seattle...

EDIT: I just tried to get the weather from Seattle by choosing it through 'IPTWeather Location' and it's working fine, so I really don't know what is your issue here :(. But it is very strange it is working for a city and not another.
[Windows Mobile Apps and Games] jerrya:
Yea, I am taking abreak from it, working on Sense, changing its appearance and whatnot. I will look into getting back to IPT today, maybe remove everything and start over from scratch. Thanks for all the help, hopefully I can get this working like it should on the next install! I will let you know!