Weather Display on Iphone/Android?

Hi, have any one done a set up for a Iphone?

Thanks!!

//Mrpj

What would you need to do? Just browse to it with Safari, I visit my site from my iPhone and it looks fine. Might be a problem if the site has Flash which the iPhone doesn’t support.

Hi,

I just started working on a webapp for the iPhone.
On your phone, surf to http://sietse.net/iwdl for a demo.
The app uses the clienraw.txt for input and refreshes at regular configurable intervals.
It is easily configurable, you decide what to see in which menu.

If you want to try it on your site, download the software from http://sietse.net/iwdl-latest.tar.gz

I want to put more functionality in the app, like graphs based on clientrawdaily.txt clientrawhour.txt.
Feel free to come up with more ideas.

Sietse

[ updated download to ‘latest’ ]

Very Neat - i have a test running at:

http://www.casa.ucl.ac.uk/weather/itest.html

The option to have mph as wind would be neat and graphs :slight_smile: but great so far…

I’ve been trying out a simple ajax version for WD running on iphone/mobiles at:

http://www.casa.ucl.ac.uk/weather/iphone.html which is about done and was planning to put the files online, but your version is much easier to setup :slight_smile:

Looking forward to development 8)

I just uploaded a newer version; now with some graphs :slight_smile:
See my previous reply in the thread for demo and download.

Sietse

WOW this is great. One question, Will I have to rewrite is all for everything to show up in English Units?

F vs C, MPH vs KPH

www.cnyweather.com/iwdl/index.html

Thanks
Tony

Hi Tony,

Unit conversion is next on my todo list. However ,the next few days I will be on holiday, I plan to do unit conversion after christmas.

Sietse

Hi vogon1,

Excellent! took all of 30 seconds to set it up and it works well so far. My only question is how to use different units (e.g. wind in mph)

I always knew the vogons were good guys!

Can code from ajaxWD.js be used?

Like this that converts the barometer to inHG?

function convertBaro ( rawpress ) {
	if (useunits == 'E') { // convert hPa to inHg
	   return (rawpress  / 33.86388158);
	} else {
	   return (rawpress * 1.0); // leave in hPa
	}

Thanks for the tip, I will look into it.

First, holiday :slight_smile:

Sietse

Cool. Thank you. Happy Holidays

This page works fine on my Verizon Dare as well.

very nice thanks. just need to convert C to F and MPH have a great holiday. :smiley:

Hello

Can somebody help me with the iPhone Version from Sietse Visser?

I installed it on my IIS7 (http://www.huerzeler.org/wetter/iphone.html )
I get the start side, can change to “about” and the other 3 pages. But i don’t get any datas.

My clientraw ist under …/wetter/clientraw.txt

Or does my Windows Business Server 2008 make problems, maybe i have to change the security settings?

Thanks and regards
Hermann

Hermann, please edit iwdl_settings.js and set clientraw_dir to /wetter (yours is still set to /iwdl, my default setting).

Sietse (still in Istanbul)

Hello Sietse

Thanks a lot, i do that tomorrow. I like this Application. Maybe sometimes it is a native Objective-C.

It works now fine.

Regards
Hermann

Sietse,

Thanks for a good program. I have it up and running here:

http://runarweb.com/iwdl

But I have one problem: Why are all the graphs delayed by 4 hours? It seems to me that you display f.ex. Temp Hour 1 - Temp Hour 20 from clientrawextra.txt. But you don’t use Temp Hour 21 - Temp Hour 24 which contains the data for the latest 4 hours. Is that correct?

Is it possible for you to change this so that you also display the latest 4 hours in the charts?

Runar

That is correct, the clientraw file is a bit strange because the data is split in 20 + 4 hour sections. On development, I have a working version for 24 hours ( http://home.sietse.net/iwdl ).

Just a little patience, it will be solved shortly.

Sietse

Thanks, no problem waiting!

Here is version 0.3, now with extra graphs and… unit conversion!
If you already have installed iwdl, I suggest you remove it (or rename the directory), install this new version, and edit iwdl_settings.js.

Please let me know if there are bugs (quite possible).

Demo: http://sietse.net/iwdl
Download it here: http://sietse.net/iwdl-latest.tar.gz

Sietse