Page 1 of 1

WeatherLink.com 15 minute updates to Weather Underground

Posted: Mon Nov 06, 2017 10:31 pm
by RobF
I'm about to run the install. I'm concerned that the Weather Underground data is updated every 15 minutes (more realistically it is 15 to 25 or so minutes). I do run WeatherLink 6.0.3 software on my PC and manually upload archives that are in 5 minute intervals. So there is a mix of 5 and 15 minute interval data on Weather Underground.

I think I'll run the install and see how it goes. Likely the 15 minute updates will be norm if I am too busy to upload archives manually.

Any thoughts on whether I should do the reformat?

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Mon Nov 06, 2017 10:47 pm
by Jachym
WU normally saves data in 5min intervals, why do you send it in 15?

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Mon Nov 06, 2017 11:49 pm
by RobF
We have a Davis Pro 2 Plus that uploads every 5 minutes to WeatherLink.com via Vantage Connect (a cellular connection). Unfortunately as we have discovered, WeatherLink.com only sends data to Weather Underground every 15 minutes, and it is not exactly 15 minutes as it can take 25 or more minutes at times.

The WeatherLink software on my PC is able to retrieve the data from WeatherLink.com and it has the 5 minute data. So I can manually upload that when I have time. So that is why there is a mix.

The install seemed to go well. It appears the data import from WU is a mess. I'll probably wipe it out and start over.

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Tue Nov 07, 2017 2:14 am
by Jachym
Use the wlip plugin

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 1:42 pm
by RobF
I have the Plugin installed, but how do I get to a setup page for it. If I go to the Plugin setup, I see it in a list but there isn't anything I can click on that I can see.

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 3:49 pm
by Jachym
it is not something you see, you provide your WL details to connect to your WL data and then set a cron job for the updates (see the plugin documentation). There is nothing to "show", it runs in the background and updates your database

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 6:48 pm
by RobF
OK the documentation says it needs my WL.com username and password, but doesn't where to set it.

UPDATEL I found it in the setup.php file.

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 6:49 pm
by Jachym
in the settings for that plugin

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 6:55 pm
by RobF
There are no settings that I can set up other than editing the setup.php file. I see in the script it looks for "settings.php" but there is none.

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 7:02 pm
by Jachym
no, you need to go to the Plugins setup page and select it there and it will create the settings file. Never go to the code. The template uses GUI for everything, you should never go into the code unless you want to change something and know exactly what you are doing

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 7:06 pm
by RobF
I haven't changed it yet. By reading the code I assume it is "supposed" to create its own settings file.

However, when I go to the Plugins page I see it listed, but there is no link, no button, nothing that would start an action.


I'm in IE, I'll try a different browser...

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 7:14 pm
by RobF
Tried different browsers, nothing to get the setup going.

Image

Mousing over the name of the plugin doesn't give anything.

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 7:17 pm
by Jachym
Make sure that inside the plugin folder you have a setup.php file and it is readable

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 7:38 pm
by RobF
It is there, permissions look good.

I did try to run it and got a fatal error:

Fatal error: Call to undefined function metaHeader() in /home/beachre2/public_html/weather-station/plugins/wlIP_4.0/wlIP/setup.php on line 39

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 7:46 pm
by Jachym
that would suggest the plugin is not in the right location because metaHeader is loaded by the header on line 13

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 7:53 pm
by RobF
This is on line 39:

<?php metaHeader()?>

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 7:55 pm
by Jachym
yes, this function is loaded by the header.php which is loaded on line 13.

Try re-installing it, I just tested it myself and it works fine and no-one reported any problems with this one

Re: WeatherLink.com 15 minute updates to Weather Underground

Posted: Wed Nov 08, 2017 8:12 pm
by RobF
Reinstalled and it worked. First time I had uploaded the wlIP_4.0 and the wlIP folder. This time I just uploaded the wlIP folder and the Create Settings magically appeared.

:)