Weather Display Live for the iPhone and Android

Oki :slight_smile: no wind here at the moment :slight_smile: No more questions for now, but I

OK, I’m probably doing something wrong / stupid :?

I have a WDL site here http://homepage.ntlworld.com/stuart.rook/weather/index.html
My clientraw.txt file is here: http://homepage.ntlworld.com/stuart.rook/weather/clientraw.txt
I have installed iWDL on the same web server and changed the path in iwdl_settings.js to clientraw.txt to “/weather”;
I think my iWDL page should be here: http://homepage.ntlworld.com/stuart.rook/iwdl

But I keep getting the message “Cannot read clientraw.txt; make sure the path in iwdl_settings.js is correct” ??

I’ve not made any other changes to iwdl_settings.js yet although I’m aware I will have to. I have tried changing the iwdl index.html file to “apple” from “jqt”

Help please!

PS, I’ve tried putting a duplicate clientraw.txt file in other directories, including iWDL’s own but get the same response. I’ve also tried an installation of iWDL on another server and had the same problem (with the clientraw.txt file being FTP’d to the alternative server as well as I’m aware you can’t reference an external server in the path).

I would try “…/weather” and see if that works.

  • Jim

hello

first station fron France using Iwdlive
Iwdlive better than iwdl 1.3

excuse for my bad english :slight_smile:

thks
jf

Thanks Jim

I tried …/weather and ./weather but no luck I’m afraid.

Stuart

Start a new thread for this Apple thing, please.
It’s going to be confusing.
This thread is about Sietse’s iWDL for iPhone and Android.

Thank you.

Hi,

I’m using your script (www.meteotortosa.cat/iwdl), and I’ve two questions:

  • I use UTC time for my data, how can I add “UTC” behind the hour?
  • Rain Rate is show in mm/min, and I like to mm/hr. How can I fix it?

Thanks,

Llu

Hi I have been using “Weather Dsplay Live for iPhone and Android” for some time now. http://home2.btconnect.com/brettoliver/iwdl/#home
I have my Weather cam and a weather radar page set but have some problems as the image size on my cam and radar page is too large to display using this “app”.

My Samsung S3 can display both images full screen but using the app I have to scroll around to see them as they are displayed in a small frame. If you look at the Web cam and Radar on my site pages you will prob see the same on your browser.

http://home2.btconnect.com/brettoliver/iwdl/#home

I have tried it on a iPod Touch and both images fill the screen but you are unable to scroll around to see the full image.

Is there a way to get the image to use the whole screen or use a larger frame?

I have it set up. It works on my desktop computer on Firefox. But when I try to use Safari on my IPhone the screen is black. Any ideas.

Here is a link to my page.

http://www.chucksweather.com/iwdl/index.html#home

Chuck

I think you have to edit iwdl.css

I did it some time ago, but I don’t remember now what I edit

This is my iwdl web: http://www.meteotortosa.cat/iwdl/#home

Got mine working. Deleted iwdl folder and uploaded files and it working now.

Chuck

I have set up WDL for iPhone and I can see the website on my browsers but not my iOS devices. All I get is a black screen.

I deleted the iwdl directory on my website and installed new, but still all I get is a black screen on the iOS devices. Anybody any idea ?

I also get the black screens at sietse.net/iwdl so I guess its not a iOS issue.

any help appreciated.

Solved / The iPhone and iPad were set to “Private Browsing”. All back to working order since I changed that.

cheers

Ernie

hey, all ya gurus out there :wink:

my iwdl works fine with the clientraw data

soartherockies.com/iwdl

but when I look at the webcam picture then it always shows the same picture unless I clear the Safari iOS cash.

The webcam.jpg file gets uploaded fine, I checked the timestamps. And if I access the webcam file directly

soartherockies.com/remote/live_weather2013/webcam.jpg

then I get the updated webcam picture.

Is this something (the caching of the webcam picture) which I can avoid (if so, where), or is this to be done in the iwdl code ?

I do have a similar issue with the GIF files uploaded from WD (build 69). I can only get the actual file by clearing the cache in the browser (Safari, Chrome,…).

I am sure I am not the only one having this issue and I am sure there is a remedy

cheers

Ernie

My iWDL is working fine, both with the clientraw.txt and the webcam image. On two separate WD setups

http://gudmundsbyn.se/iwdl/

http://vildafisken.com/iwdl/

One of the things I notice is that many times I load up on my iPhone and the information shown is days old like its reading from the cache. I do a refresh yet still get the old forecast.

Is there is way to force it to refresh?

http://weather.satelliteguys.us/iwdl/

Whenever I use iWDL I get a bunch of error messages in the Apache log of missing .png files like so:



[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon.png
[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-precomposed.png
[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-114x114.png
[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-114x114-precomposed.png
[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon.png
[Sat Aug 10 18:17:39 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-precomposed.png
[Sat Aug 10 18:17:39 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-114x114.png
[Sat Aug 10 18:17:39 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-114x114-precomposed.png


The images seem to be called from all.min.js. After googling the names I found that they seem to be for when you’ve added it to the home screen, and are supposed to be local to the phone.
Yet it still looks like the script tries to find them on the server and fails?

Not a huge problem but I’ve been a bit bothered by the errors and now decided to find out where they come from. :slight_smile:

/Chris

Two issues:

  • webcam image and radar image are too little and has border bar. Not good. I removed px dimension in iwdl.js but nothing happened. Where to change?
    All the world likes this image format ? (attach 1)
  • second issue: could be useful to stop the back button on top of the page. When scrolling a page must be back on top to go back and that not useful

regards to all


Bringing this thread back from the dead!

So anyone see their iwdl site using chrome on the iPhone/iPad?
Works fine on safari, but chrome just displays the background colour and that’s it.

J

ok, so found out the reason why nothing loading on IOS chrome is due to the deprecation of windows.opendatabase which is used to control the display measurement units

so… if you want to share your page and have it display, say on facebooks built in browser when trying to share a link and also on google then you’ll need to get around this.
you need to open the iwdl.js and scroll right to the bottom.

around line 1945 you’ll see

 if (window.openDatabase) {
            // Open database

            jQT.dbOpen("iwdl", "1.0", "Settings", 5000);
            jQT.dbCreateTables({ "createTables" : [ { "table": "settings", "property": [ {"name": "setting", "type": "text"},
                                                                                         {"name": "value", "type": "text" } ] } ] } );
           jQT.dbSelectAll("settings", function(result) {
                for (var i = 0; i < result.rows.length; i++) {
                    var row = result.rows.item(i);
                    settings[row['setting']] = row['value'];
                }
                finishStartup();
            });
        } else {
            finishStartup();
        }

change it to

try{
      if (window.openDatabase) {
            // Open database

            jQT.dbOpen("iwdl", "1.0", "Settings", 5000);
            jQT.dbCreateTables({ "createTables" : [ { "table": "settings", "property": [ {"name": "setting", "type": "text"},
                                                                                         {"name": "value", "type": "text" } ] } ] } );
           jQT.dbSelectAll("settings", function(result) {
                for (var i = 0; i < result.rows.length; i++) {
                    var row = result.rows.item(i);
                    settings[row['setting']] = row['value'];
                }
                finishStartup();
            });
        } else {
            finishStartup();
        }

 } catch(err) {
 finishStartup();
       }

this will then catch the error if one occurs and continues to display the data using the default measurement units.

Hope this heps others

Hi,

Still using iWDL.
As of lately the forecast isn’t loading anymore.
I have checked if this was the case also with other users using iWDL and none of them are loading too.

Anyone knows what the problem is here.

TIA