cloudy

Author Topic: Weather Display on Iphone/Android?  (Read 21512 times)

0 Members and 1 Guest are viewing this topic.

Offline mrpj

  • Posts: 1
Weather Display on Iphone/Android?
« on: July 26, 2008, 12:16:35 PM »
Hi, have any one done a set up for a Iphone?

Thanks!!

//Mrpj
« Last Edit: December 30, 2010, 10:10:59 AM by administrator »

Offline dafuser

  • Posts: 561
  • Granbury, Texas
    • Weather from the shores of Lake Granbury
Re: Weather Display on Iphone?
« Reply #1 on: July 26, 2008, 04:44:03 PM »
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.
--
Thanks Les...
Microsoft Windows: Proof that P.T. Barnum was correct.

24 inch iMac 2.8GHz C2D, 4 GB Ram (OS X 10.7 Lion) Davis Vantage Vue

Offline vogon1

  • Posts: 173
  • Utrecht, NL
Re: Weather Display on Iphone?
« Reply #2 on: December 18, 2009, 11:18:05 PM »
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' ]
« Last Edit: January 03, 2010, 10:45:51 PM by vogon1 »

Offline Smithee

  • Posts: 132
Re: Weather Display on Iphone?
« Reply #3 on: December 19, 2009, 09:12:04 AM »
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 :) 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 :)

Looking forward to development  8)

Offline vogon1

  • Posts: 173
  • Utrecht, NL
Re: Weather Display on Iphone?
« Reply #4 on: December 20, 2009, 02:33:31 PM »
I just uploaded a newer version; now with some graphs :)
See my previous reply in the thread for demo and download.

Sietse

Online CNYWeather

  • Professional Trophymaker!
  • Posts: 1,427
  • Rome, New York
    • CNYWeather.com
Re: Weather Display on Iphone?
« Reply #5 on: December 20, 2009, 03:39:43 PM »
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
« Last Edit: December 20, 2009, 03:46:42 PM by cnyweather »
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline vogon1

  • Posts: 173
  • Utrecht, NL
Re: Weather Display on Iphone?
« Reply #6 on: December 20, 2009, 04:04:12 PM »
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

Offline penman

  • Posts: 77
  • Milton Keynes, UK
    • Woughton Park Weather
Re: Weather Display on Iphone?
« Reply #7 on: December 20, 2009, 04:09:47 PM »
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! 

Online CNYWeather

  • Professional Trophymaker!
  • Posts: 1,427
  • Rome, New York
    • CNYWeather.com
Re: Weather Display on Iphone?
« Reply #8 on: December 20, 2009, 04:14:29 PM »
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

Can code from ajaxWD.js be used?

Like this that converts the barometer to inHG?
Code: [Select]
function convertBaro ( rawpress ) {
if (useunits == 'E') { // convert hPa to inHg
   return (rawpress  / 33.86388158);
} else {
   return (rawpress * 1.0); // leave in hPa
}
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline vogon1

  • Posts: 173
  • Utrecht, NL
Re: Weather Display on Iphone?
« Reply #9 on: December 20, 2009, 04:39:01 PM »
Can code from ajaxWD.js be used?

Like this that converts the barometer to inHG?
Code: [Select]
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 :)

Sietse

Online CNYWeather

  • Professional Trophymaker!
  • Posts: 1,427
  • Rome, New York
    • CNYWeather.com
Re: Weather Display on Iphone?
« Reply #10 on: December 20, 2009, 07:23:58 PM »
Cool. Thank you. Happy Holidays
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline looney2ns

  • Posts: 2,946
  • Fearless Weather Dog-Loves to watch Lightning.
  • Near Evansville Indiana USA
    • Newburgh Weather
Re: Weather Display on Iphone?
« Reply #11 on: December 21, 2009, 02:03:10 AM »
This page works fine on my Verizon Dare as well.

Offline artpics

  • Posts: 46
  • Calabasas California
    • Calabasas  CA Weather
Re: Weather Display on Iphone?
« Reply #12 on: December 21, 2009, 02:56:14 AM »
very nice thanks. just need to convert C to F and MPH have a great holiday.  :D
Mac 10.6 on an Imac

Offline hermann20

  • Posts: 11
Re: Weather Display on Iphone?
« Reply #13 on: December 23, 2009, 01:28:24 PM »
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
« Last Edit: December 23, 2009, 02:30:13 PM by hermann20 »

Offline vogon1

  • Posts: 173
  • Utrecht, NL
Re: Weather Display on Iphone?
« Reply #14 on: December 23, 2009, 02:54:30 PM »
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)

 

cumulus