• English
  • Nederlands

User Tools

Site Tools


en:uploaddw

Install the Leuven-Template step 5 of 7

Setup Davis WeatherLink.com

Using Weatherlink.com as a data source there are no uploads needed and no config program for the template.

Specify your correct userid and password

You should edit the lines 44-48 in wsUserSettings.php where you have to enter your ID and password for Weatherlink.com.

# for weatherlink.com users --------------------
#$SITE['WXsoftware'] 	= 'DW';	 // ##### Davis WeatherLink.Com  ONLY uncomment after setting the id and password
$SITE['wlink_key']      = 'xyz'; // ##### Your weatherlink.com user id
$SITE['wlink_pw']       = 'xyz'; // ##### and password.

Remove the comment mark as your weatherprogram is coded internaly as 'DW' for “Davis Weatherlink.com”. Set the wlink_key to your userid for the weatherlink.com website and wlink_pw to your password for that site. it should look like

$SITE['WXsoftware'] 	= 'DW';	    // ##### Davis WeatherLink.Com  ONLY uncomment after setting the id and password
$SITE['wlink_key']      = 'herent'; // ##### Your weatherlink.com user id
$SITE['wlink_pw']       = '123456'; // ##### and password.

Create a cronjob

There are no “yesterday' values registred by WL.com. So to get those values a small script should be run every day around 23.45 but before 00:00

The script that has to be run is: www.yourwebdsite.com/weather27/yesterday.php

The easiest way to do that is to use cron http://en.wikipedia.org/wiki/Cron

You can either use your providers facilities if the support specifying cronjobs

Or you could use your first = free cron job at https://www.cronjob.de/

en/uploaddw.txt · Last modified: 2015/05/26 09:32 by wvdkuil