update wunderground station and set key

This commit is contained in:
2018-01-16 11:15:47 +01:00
parent 6d364e1248
commit f402a13f41
2 changed files with 3 additions and 3 deletions

View File

@@ -2,6 +2,6 @@
<?php
require_once 'wunderground.php';
define('STATION', 'INOORDHO4');
define('STATION', 'INOORDHO104');
$aData = wunderground('conditions', sprintf('pws:%s', STATION));
echo $fTemperature = isset($aData['current_observation']['temp_c']) ? $aData['current_observation']['temp_c'] : null;