Hi,
If anyone is still active on this thread, could you please tell me what info goes into the following in KenW’s scripts.
public $kensId = 'xxx'; // ***
public $names = array('Waggies', 'Petes'); //***
public $authPassword = 'xxx'; // ***
thanks
P…
Hi Paul
This is what I have in my config.php:
// yes, this could be more generalised
public $kensId = 'ECAB8A15AB6E8273CF50530D39E6A9EA'; // *** Ecowitt PASSKEY for weather station 1.
public $petesId = 'xxxyx'; // *** leave unchanged if you only have one weather station or insert ecowitt passkey for your second station
public $nameIndex = 0; // default index
public $names = array('MeteoCaldas', 'MeteoLitoral'); //*** names to show on html for each weather station (1 and station 2. Even if you have no 2nd station, use a name for it)
public $locations = array('C. Rainha MC', 'C. Rainha ML'); // *** names for location of the stations 1 and 2. Even if you have no 2nd station, use a name for it) '
public $locale = 'Europe/London'; // ***
public $timeFormat = '%Y-%m-%d %H:%M:%S';
public $onMobile = false;
//DB
public $dbhost = 'localhost';
public $dbname = 'xxxxx'; // *** put here the name of the database you have created
public $dbtablenames = array('station1', 'station2'); // ***name of the tables you have created in DB. Even if you only have one station, you can create 2 tables
public $dbtablename = 'station1'; // *** choose you preferred name for DB table
public $dbpassword = 'xxxx'; // *** Password to acess your DB
public $showInside = false;
public $authCookie = 'insider';
public $authPassword = 'xxxx'; // *** Password to set cookie that allows you to see indoor data
Hope this may help you.