From 0f9b8020cea1ef39aab20481b52e28fb69366071 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 5 Feb 2020 21:29:12 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 24 ++++++++++++------------ scripts/lib/scenes.php | 5 +++++ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 35bc4b7..9a8d881 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,7 @@ - + @@ -1192,12 +1192,12 @@ - + - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 8026bf4..79ced19 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -441,6 +441,7 @@ $scenes = [ ['type' => 'insteon', 'command' => '0?135=I=0=0'], ], 'home/off' => [ + ['type' => 'scene', 'scene' => 'home/hueoff'], ['type' => 'ecomode', 'mode' => '2'], ['type' => 'scene', 'scene' => 'salon/off'], ['type' => 'scene', 'scene' => 'bureau/off'], @@ -454,6 +455,7 @@ $scenes = [ ['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Stop All Sounds'], ['type' => 'scene', 'scene' => 'chambre/planetarium/off'], ['type' => 'ifttt', 'event' => 'coffee_off'], + ['type' => 'scene', 'scene' => 'home/hueoff'], //['type' => 'ifttt', 'event' => 'oven_off'], ], 'home/welcome' => [ @@ -464,6 +466,9 @@ $scenes = [ ['type' => 'scene', 'scene' => 'sdb/on'], ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'], ], + 'home/hueoff' => [ + ['type' => 'hue', 'group' => 17, 'scene' => ['on' => false, 'brightness' => 0, 'effect' => 'none']], + ], 'sdb/radio/sync/salon' => [ ['type' => 'function', 'function' => 'harmonyActivity', 'args' => ["musique-radio"]], ['type' => 'function', 'function' => 'squeezeRequest', 'args' => ['sync ' . $squeezeboxPlayers['Salon'], $squeezeboxPlayers['Salle de bains']], 'wait' => 1], -- 2.39.5