PDA

View Full Version : MMeteo (AccuWeather.com + Wetter.com in HTC today and GPS Ephemeris synchronization)


mminbcn
14th December 2007, 01:48 AM
Hi,

Seeing different posts that I wanted to collaborate, I tried to "kill several birds by only shotting once".
I just programed an application that updates automatically the weather information on different program, using different sources, and the GPS Ephemeris.

With this program you can:
-Keep updated the weather Icon of Slide2Unlock and update it 3 times a day only downloading once from internet.
-Keep updated the HTC today weather with your local informations, gathering the information from any two servers, i.e. AccuWeather.com and Wetter.com
-Download once every 2 days the GPS Ephemeris information to get a quick GPS fix.


Why wetter.com additionally? wetter.com is proved to be more accurate and it provides more information (for example time of the day forecast).

Why not using the normal HTC today update system? With MMeteo you can specify from which server to download from, and in this way you can download from your own local weather info.
Additionally, it sets the Title with the information from another weather information source, and it is updated 3 times a day with only one download a day from internet.

Why another application to download the Ephemeris? This applications allows to specify from where to download, and if one server is not working (which has happened several times with the default one service.mio-tech.com), it is possible download from another server.

Why everything together? It is just more efficient than having different applications programmed to be started automatically periodically, connect to internet and download. Also it is possible to set the program only to do one thing, (i.e. only updating the GPS Ephemeris data).


Additionally, it emulates a WAP browser in all internet connection. This makes possible to keep everything updated for free using any of the WAP flatrates like o2flat in Germany or o2 flatrate in UK.
Neither the Windows Mobile application to download GPS Ephemeris nor the HTC today plugin work on these flatrates. With MMeteo it is possible to keep everyting updated for free using one flatrate connection.


To download it:
http://www.aldeaglobal.net/mmeteo



I was based on (and I have to congratulate) the following great applications:

HTC Homeplug Weather fix:
http://forum.xda-developers.com/showthread.php?t=319187
HTC Homeplug personalization:
http://forum.xda-developers.com/showthread.php?t=324556

Slide2Unlock: (not S2U2 because at the moment only Slide2Unlock can show Weather Info):
http://forum.xda-developers.com/showthread.php?t=304826
http://forum.xda-developers.com/showthread.php?t=343256

Automated quick GPS:
http://forum.xda-developers.com/showthread.php?t=292178


The program can be personalized only by editing a .ini file.

Detailed, this program does the following (copied from the source):
-For all the internet connections it performs, it emulates exactly the Pocket Internet Explorer, in this way it is compatible to all Wap Flat rates like the o2flat from Germany, or o2 flat rate from UK.
-It sets itself to autostart the following day at updateTime, and also at middayStart and nightStart
(at updateTime (the first run of the day) is when it sets the autostarts for the following day)
-Once every EphemerisDaysToWait it downloads the file from URLephemeris and copies it to FILEephemeris
-Once per day, at updateTime, it updates form internet the files FILEaccuweather from URLaccuweather, and FILEwettercom from URLwettercom
-Once per day, at updateTime, it updates the HTCtoday plugin with information from FILEaccuweather
-Three times per day,at updateTime, at nightStart and at nightStart, it updates the HTCtoday Title with information from the file FILEwettercom
-Three times per day,at updateTime, at nightStart and at nightStart, it also updates the registry registerKey1/registerKey2 with the information taken from the file FILEwettercomToRead
(this is usefull for example to update the weather information from the program Slide2Unlock)
-It updates the registerKey1/registerKey2Userdata with the value registerKey2UserdataValue
-It also sets to autostart the program FILEprogramToStart to start at updateTime before updating from the files
-If you want more information about weather you can open locally with the pocket Internet Explorer the file FILEwettercom, and if you have the icons in the same folder you will also see the prediccions graphically (add the file to favorites or create a shortcut to the FILEwettercom


Marti

mminbcn
14th December 2007, 01:49 AM
Post still empty

eujene
14th December 2007, 09:22 AM
you said "With MMeteo you can specify from which server to download from, and in this way you can download from your own local weather info."
so -how to do it? I found nothing in the info

mminbcn
14th December 2007, 10:57 AM
You only have to open the mmeteo.ini file with a text editor, and change the server there. Inside this .ini file there are several parameters to personalize the program behavior.

To change the server from where to download from (and set for example your own server using this script (http://forum.xda-developers.com/showthread.php?t=319187)), you have to change the value of URLaccuweather.

If you want, you can also add to download (additionally) from another server with the format of Wetter.com. For this case, either change the value of URLwettercom or if you set your own server with the included php script meteo-wettercom-pda.php then you have to enter it at URLwettercomfitered.

eujene
14th December 2007, 01:00 PM
you mean i should only modify one string in ini-file and everything will work??
if i, for example, want to use http://www.gismeteo.ru/towns/27612.htm

mminbcn
14th December 2007, 03:59 PM
Exactly. It is only needed to modify the .ini file to change the server.

The server you mentioned is in Russian, you should put a "translator" in the middle. I Mean, a php script in a internet server that downloads the weather info and adapts it. Then the MMeteo should call this php script and not the Russian web page. This method has the advantage that you can minimize the traffic needed to get the weather info.

chrizzz
11th January 2008, 04:01 PM
Hi,

Nice work on MMeteo! Being a user of the O2 wap flat and I really like the WAP browser emulation! I think I got the program running OK, but I'm not sure with the weather data. After running MMeteo.exe there is some updated text weather information on the HTC home plugin field but the icons do not appear, instead the weather plugin still complains about 'no data'. Is it possible to display the proper weather icons with HTC Home plugin with the data extracted from wetter.com/accuweather.com?

I use a HTC Artemis with a cooked ROM, where HTC-home is installed in the ROM (\WINDOWS directory).

Anyway, the Epheris update works!

C.

FlexiPack
12th January 2008, 01:10 AM
Thank you for this app, i've stopped paying attention to the accuweather plugin cos it's never accurate for my town.

So from i read you can pick your own weather server? Perhaps people could post weather servers as they find them and we can build up a list. I'd like to use the bbc or the met office. I'll go have a look shortly to find the server. Must admit i've no idea what i'm looking for!

Cheers!

Everton1878
7th March 2008, 10:10 AM
I'm having problems getting this to run :(
Dumped the files directly into the Windows folder but when I try and launch the exe it says that it can't find the ini file
Any ideas?

Ok, got past that bit
Think I know need the webpage in html

matthias.matthias
13th May 2008, 06:15 PM
The program sound interesting, but I can't get it to run. Thanks for any help.