Weather Display Live for the iPhone and Android

Hi Sietse

Thank you very much for the update - I have it up and running here:

http://www.silkeborg-vejret.dk/smartphone/

and in English here: Weather at Silkeborg - Smartphone

I have a suggestion:

Would it be possible to have a setting where the user should define if he/her has UV and/or solar sensor?

Something like this:
settings[“solar”] = “true”; //True/false
settings[“UV”] = “false”; //True/false

Another thing:
My station name is “Vejret i Silkeborg” - but on my HTC Hero it says “Vejret i Silke…” I see that there is “screen-space” enough to print the hole name. Is this issue just on my HTC Hero (Android) og is it the same way on iPhone?

Best regards,

Henrik

I have checked and rechecked multiple times the name iwdl_settings.js and clientraw path (same as I had with 0.8). :o

Well, have to go. I’ll get back the issue.

-Timo

What is the URL? Then I will have a look.

Sietse

Henrik,
Is that necessary? If you have UV/solar sensors you display it on your page (like you do). If you don’t have it you don’t display it (like me: iWDL)?

It’s the same on the iPhone. I had the same problem and I had to shorten the name to see it all.

Hi Runar

Thanks for your reply.

I dont have an UV sensor - and the UV reading is in the live data with 0.0 - I would prefer it was not shown there - and I know I can remove field 79 from this line in the settings:

settings[“live_screen”] = [4, 5, 6, 7, 12, 13, 79, 127, 73, 3, 1, 2, 44, 45];

But it would be easier to define it in a UV/Solar setting - then you dont need to remember the fieldnumbers.

About the stationname - would it be possible to add more width - as I can see on my mobile screen that there is space for more charaters.

Hope the above makes sense - see attached pic.

Best regards,

Henrik


Henrik,
OK, I thought that you had an UV sensor since you displayed it. I have gone through all the clientraw-fields once and decided what to display. As you can see the fields that I display are diffenet from yours. And it’s just a one-time job :wink:

Except when Sietse releases a new version… :smiley: :smiley:

Have a nice day.

Best regards,

Henrik

No, that’s no problem. I always keep my old settings-file and just add the new entries to that file. So I have stiil selected my clientraw-fields one time :lol:

I got it working. Just downloaded the tar again and uploaded to my site with the same settings. Now it works like a charm.

Appreciate your help, thanks.

My site is http://veikkola-weather.com/ , iPhone is detected and redirected to http://veikkola-weather.com/iwdl (also http://i.veikkola-weather.com/ works)

BR - Timo

I added support for meteohub; can you confirm it works?

Thanks,
Sietse

Sietse,

Love new features of .9 release. I can confirm that “abbr” values work on all wind graphs, and all other features we’ve discussed are operational. We had another unusual cold day in Florida, USA today and the temp this morning was 57 degrees fahrenheit. “Wind Chill” displayed on Live Weather screen and as the day started to warm up around 2pm I noticed it was 67.6 degrees fahrenheit (19.78 degrees centigrade) and “Humidex” was displayed instead of “Wind Chill” with a value of 66.3; however per WD & WDL my “Heat Index” was 67.6 degrees fahrenheit When I was speaking of a switch for “Wind Chill” to “Heat Index” back on the 10th of Jan (old post) I think you mistook me for a “Humidex Switch”.

Here in the States we use “Heat Index”, and “Humidex” is used in Canada. A good explanation is on Wikipedia @ Humidex - Wikipedia

In order to meet all International needs as Brian and Julian have with WD & WDL I recommend two settings in iWDL:
// If you want to toggle humidex (temp > 17C) and windchill (temp < 17C), then uncomment following option.
// In the live screen setting (see above), use either field 44 or 45, it will toggle
//settings[“humchill”] = “toggle”;

 // If you want to toggle heat index  (temp > 17C) and windchill (temp < 17C), then uncomment following option.
 // In the live screen setting (see above), use either field 44 or 112, it will toggle
 //settings["heatchill"] = "toggle";

This way anyone wanting one and or the other Wind Chill to toggle their needs will be met :slight_smile:

Thanks again for all the new .9 features / enhancements / modification in iWDL, your work is awesome.

Thanks for the explanation; I will put it in 1.0.

Sietse

Sorry for delay, I just tried it and no it still has the same problem, map long is wrong sign and the other problem I have with the name of station and time splitting is there too.

DOH! - Forgot to set station type to meteohub!

Will try that now!

YES! - Works perfectly now, many thanks!!! :slight_smile:

Question: Is there a simple way to test this locally on Safari on my Mac? - I can put test clientraw files in a folder, but how do I define the path to them locally on the Mac in iwdl?

Good evening,
(Sorry for my English, it is about a translator)

Can one put in French?

Thank you
Serge

Timo (T-man),
How are you doing the iPhone detect and redirect?

I assume you have some code in your index.html? Can you share.
Thanks,

I use this code (found it mentioned on another site):

Hi

Redirecting issue.

http://detectmobilebrowsers.mobi/

Works very fine and easy to modify according to your needs.

Redirecting of i.veikkola-weather.com etc. type url is done at the served end by applying subdomain consept (provided by the host).

BR - Timo

Really great app !
Thx!
http://www.palmay.hu/weather/iWDL/

Here is the Hungarian language file !


HU.zip (2.31 KB)

Thanks!

Sietse

Where would you insert this code on my index.php page?
Or do I have to put it on all my pages.

Tony