From: Vincent Date: Tue, 31 Dec 2019 10:02:16 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0f0f60069986a242f296787e27128cdb736fa125;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e717bec..b698364 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,10 @@ + + @@ -1181,23 +1184,23 @@ - + - + - - + + - - - + + + - + diff --git a/scripts/cronweather.php b/scripts/cronweather.php new file mode 100644 index 0000000..3c9214a --- /dev/null +++ b/scripts/cronweather.php @@ -0,0 +1,4 @@ +' . file_get_contents(ROOT . '/cache/weather.json') . ''; diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 5f5d67c..789b6e2 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -661,7 +661,6 @@ function execScene($name, $fromUserAction = false, $transitionTime = null) $action['device'] = $action['scene']; $action['switchtype'] = 'scene'; } - domoticzSwitch($action['device'], $action['command'], isset($action['switchtype']) ? $action['switchtype'] : 'light', isset($action['priority']) && $action['priority']); } else if ($action['type'] == 'ir') { irsend($action['room'], $action['device'], $action['command']); diff --git a/scripts/lib/weatherstation.php b/scripts/lib/weatherstation.php index 5ec37a0..50df817 100644 --- a/scripts/lib/weatherstation.php +++ b/scripts/lib/weatherstation.php @@ -19,7 +19,7 @@ function weatherStationScreenSaver() $res .= '
' . $weather['max'] . '°C
'; $res .= ''; $res .= '
'; - $res .= ' ' . $weather['precipitations24'] . ' mm | ' . $weather['outdoor_pressure'] . ' hPa | ' . $weather['outdoor_humidity'] . '%
'; + $res .= ' ' . $weather['precipitations24'] . ' mm | ' . $weather['backyard_pressure'] . ' hPa | ' . $weather['outdoor_humidity'] . '%
'; $res .= '
' . $weather['backyard_temp'] . ' °C | ' . $weather['backyard_humidity'] . '%'; $res .= '
'; $res .= '';