Move files from /opt/inverter to /root, remove generated init script and logrotate configuration

This commit is contained in:
2016-07-18 09:47:41 +02:00
parent 0a9e94da01
commit dfb5c855c1
17 changed files with 0 additions and 166 deletions

7
weather.php Normal file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/php
<?php
require_once 'wunderground.php';
define('STATION', 'INOORDHO4');
$aData = wunderground('conditions', sprintf('pws:%s', STATION));
echo $fTemperature = isset($aData['current_observation']['temp_c']) ? $aData['current_observation']['temp_c'] : null;