Weather Display Live for the iPhone and Android

Thanks for all the new features, I specially love the weather forcast from yr.no, very nicely displayed, and the forcats are good too, at least for us here in Norway. I have found the Norwegian weather radar at met.no (http://met.no/English/) wich is the Norwegian Meteorological Institute. However the size of the picture is a bit to large, and I do not see how I can fix that?

Just one thing, when I add a measurement on the Home screen, (in Temp wich is very relevant to me since the weather station is at my cabin far up in the mountains) a new line is added and then the menu in the bottom goes partially out of the screen, even dough there is enough free space on the screen as is.

Just missing the records for month, year and total now, then it is perfect! Other plans?

Hi Sietse,
in version 0.8a is forecast with diacritical letters in location name working perfectly! :smiley: Thank you for your work and I’m looking forward to new functions in new versions of iWdl. - For me would be very nice to see max/min for month/year/total and to display information about snow (snow fall for today/this month/this season and current snow depth) from clientraw data.

Hi, I have tried to change the coordinates of js.setting.
But it will still forward Ekeby on the map,
(it’s coordinates from clientraw file 56, 13).

// Location name override; iWDL normally uses the coordinates from clientraw.txt.
// In case you want another location to show up in the map screen, remove // in the following line:
 settings["location"] = "Stenestad, SE";

// Next settings only needed if lat/long is not in your clientraw.txt; below are coordinates in Netherlands
// Negative values for east of Greenich and southern hempisphere
 settings["longitude"] = "-13.1019";
 settings["latitude"]  = "53.0532";


Regards
Bertil


korrdinat.jpg

That is correct, if it is in clientraw, it will take that; why not fill the coordinates correctly in Weather Display?

Sietse

Good to hear.
min/max for day/month/year/alltime is on the list.

Sietse

Sietse,

Thanks for the explaination! This is not a big problem for me, but it’s always good to know how it’s working!

I’m attaching czech translation.


iwdl_lang_cz.js.zip (2.63 KB)

Great! It’s in development.

Any more languages? I will add your translation if you have one.

Languages currently supported: cz dk en nl no se

Sietse

Good afternoon Sietse,
Upgraded to 0.8a last night with little issues. The wife and I really appreciate the hard work your doing with iWDL as it’s now becoming a regular (sudo) app she uses on her new iPhone. Is there a way you can pull the Radar and WebCam from Live Weather page and move it to the main page as option to turn on on/off there instead? The reason is we have “Live Weather” page configured to fit perfectly for a quick view without having to any scrolling. I got the Forecast to work with yr.no; however I’d prefer to use a url. I’m having an issue in screen size to fit the iPod with NWS as an iframe using:
settings[“forecast_url”] = “http://forecast.weather.gov/MapClick.php?site=mlb&smap=1&textField1=28.7892&textField2=-81.2757&TextType=2”;

Any suggestions in sizing the iframe? That would also help me with using WUnder Radar as it too is to big with:

 settings["radar"] = "http://radblast-aa.wunderground.com/cgi-bin/radar/WUNIDS_map?station=MLB&brand=wui&num=6&delay=30&type=N1R&frame=0&map.x=400&map.y=240&scale=0.248&centerx=634&centery=470&transx=234&transy=230&lat=28.7690&lon=-81.3411";  

Any luck in changing the Wind Direction Graph from degrees to “abbr” values coming soon as a fix/enhancement?

Also is there a way to turn on/off iPhone rotate page in your coding abilities? I ask as sometimes it shifts when you rally don’t want it to and all your coding looks GREAT in portrait.

http://www.lakemaryweather.com/iwdl

Thanks again for all your hard work in this wonderful addition to our Weather Station.

I also have a problem with setting the correct coordinats in WD, some how the values change a bit and it misses my location with about 70 km. I have the correct coordinates in the iwdl_settings.js why can

[quote author=Norwegian Wood link=topic=43872.msg357486#msg357486 date=1263666963]
I also have a problem with setting the correct coordinats in WD, some how the values change a bit and it misses my location with about 70 km. I have the correct coordinates in the iwdl_settings.js why can

I am just providing the means to put some url in the radar / webcam / forecast screen - the content is up to you.
So, either find a PDA / iPhone friendly url to put in the iframe, or create your own html file that fits the size of the iPhone screen.

For example, in iWDL the iframe contains the http://buienradar.mobi url that is optimized for PDA / smartphone usage.

For your radar info, either find a PDA/smartphone friendly URL, or create a html file that downsizes the picture.
In your case, for example, create a file called wuradar.html with the following content:


<html>
    <head>
    </head>
    <body>
      <img src='http://radblast-aa.wunderground.com/cgi-bin/radar/WUNIDS_map?station=MLB&brand=wui&num=6&delay=30&type=N1R&frame=0&map.x=400&map.y=240&scale=0.248&centerx=634&centery=470&transx=234&transy=230&lat=28.7690&lon=-81.3411' width='300'>
    </body>
</html>

and put that file in your iwdl directory.
Then set settings[“radar”] = http://www.lakemaryweather.com/iwdl/wuradar.html and you should be fine.
The trick is to set the image width to 300 - about the width of the iphone screen (it is 320 to be exact).

I will emphesize again: I provide the means to load other content in the iframes, it is up to the user to fill it with something that makes sense.

Hope this helps.

Sietse

PS. If somebody is willing to provide html and/or php pages that transforms popular sites to something that can be used in iWDL iframes, I am willing to incorporate it in iWDL as some kind of ‘plugin’.

Well, I am not sure I am doing things right in WD, but to me it seams that they do not want the position in decimal values… ?

this is my position taken with an iPhone app that shows different ways

Here is the place in WD where I think I can fill inn my coordinates

so, any suggestion on which value i fill inn? or why google marks my possition about 70 km north of where I am?

I seem to have a problem as well - no location at all in clientraw.
As said, I will make make values in settings override the clientraw values.

Well, I did. Please download http://sietse.net/iwdl/all.min.js to your iwdl directory, and settings should override clientraw.

Sietse

wow you are fast! That worked perfectly, I am now officially at the right position :slight_smile: thanks a lot.

Sietse,

I am doing some minor rearranging and moved my radar and webcam under the “forecast” icon. How can I delete the buttons on the “live weather” page. See my example here…

http://stillweather.com/iwdl

Thanks,

Jack

Sietse,
That worked perfectly for Radar. Thanks for explaining how to use ifame with iWDL.

If anyone is interested I found a good iWDL Forecast by using the National Weather Service Cell Phone (WAP) page at http://mobile.weather.gov. Once you search and find your local weather just take the URL from “Detailed 7-day Forecast” and put it in settings[“forecast_url”] within iwdl_settings (don’t forget to change settings[“forecast”] to “url”). It fits the iPhone iWDL Forecast screen perfectly!!!

Jerry, Detailed 7-day Forecast works great. :smiley: Thanks

the lat/long was added to WDto the clientraw files a while ago
I will have to check/add if that is in the Mac /linux version

Well it’s in my clientraw.txt but shows 53.06667 and 1.08 which is wrong
Should be 53.4 N and 1.5 west
The settings are right in weather display but wrong in clientraw
This explains why it’s wrong on the map.