From 9e264575ebf6d15e93793c9f7c9189741f7d1261 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 23 Dec 2021 15:24:38 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 24 +++++++++++------------- scripts/lib/scenes.php | 10 +++++++++- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index dee1b9d..2423c41 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,11 +3,7 @@ - - - - diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index e513067..f595b0c 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -351,6 +351,7 @@ $scenes = [ ['type' => 'domoticz', 'scene' => 45, 'command' => true, 'priority' => true], ['type' => 'hue', 'group' => $salon, 'scene' => 'Gte8sl76rzAD1wO', 'repeat' => 2], //['type' => 'insteon', 'command' => '0?113=I=0=0'], + ['type' => 'scene', 'scene' => 'cuisine/on', 'delay' => 1], ['type' => 'scene', 'scene' => 'salon/cheminee', 'delay' => 1], ], 'salon/off' => [ @@ -362,6 +363,7 @@ $scenes = [ ['type' => 'scene', 'scene' => 'salon/fan/off'], ], 'salon/cinemabase' => [ + // ['type' => 'scene', 'scene' => 'cuisine/tamise'], // ['type' => 'ecomode', 'mode' => '0'], // ['type' => 'insteon', 'command' => '0?1111=I=0=0'], @@ -370,11 +372,15 @@ $scenes = [ ['type' => 'domoticz', 'scene' => 46, 'command' => true, 'priority' => true], ['type' => 'hue', 'group' => $salon, 'scene' => 'xpCjXtV3u7O1kYu', 'repeat' => 2], ['type' => 'scene', 'scene' => 'salon/cinemabase'], + ['type' => 'domoticz', 'scene' => 46, 'command' => true, 'priority' => true], + ['type' => 'scene', 'scene' => 'cuisine/tamise', 'repeat' => 2], ], 'salon/cinema' => [ ['type' => 'domoticz', 'scene' => 47, 'command' => true, 'priority' => true], ['type' => 'hue', 'group' => $salon, 'scene' => 'AsU9eOyGsjEyz35', 'repeat' => 2], ['type' => 'scene', 'scene' => 'salon/cinemabase'], + ['type' => 'domoticz', 'scene' => 47, 'command' => true, 'priority' => true], + ['type' => 'scene', 'scene' => 'cuisine/tamise', 'repeat' => 2], ], 'salon/tamise' => [ ['type' => 'ecomode', 'mode' => '0'], @@ -382,12 +388,14 @@ $scenes = [ ['type' => 'hue', 'group' => $salon, 'scene' => 'RbjnIcLtcDuHbfU', 'repeat' => 2], // ['type' => 'insteon', 'command' => '0?1130=I=0=0'], ['type' => 'function', 'function' => 'chemineeOn', 'args' => ['salon', 'fire', 0.8]], + ['type' => 'scene', 'scene' => 'cuisine/tamise', 'repeat' => 2], ], 'salon/lecturenocture' => [ ['type' => 'domoticz', 'scene' => 49, 'command' => true, 'priority' => true], ['type' => 'hue', 'group' => $salon, 'scene' => 'HZiYyM6hMUMkmiY'], // ['type' => 'insteon', 'command' => '0?1113=I=0=0'], ['type' => 'function', 'function' => 'chemineeOn', 'args' => ['salon', 'fire', 0.25]], + ['type' => 'scene', 'scene' => 'cuisine/tamise', 'repeat' => 2], ], 'salon/cheminee' => [ ['type' => 'function', 'function' => 'chemineeOn', 'args' => ['salon', 'fire', 1]], @@ -1238,7 +1246,7 @@ function alert() if (getNightMode()) { return; } - + execScene('home/doalert'); $rep = 1 * 2; -- 2.39.5