From: Vincent Date: Tue, 16 Mar 2021 08:28:06 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8649376a32d8ad612f0fa806c4297fb6808aa98d;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 363dd18..8a2c962 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,7 @@ - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index f009a5d..54cf5b4 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -420,108 +420,137 @@ $scenes = [ 'bureau/cinema' => [ ['type' => 'scene', 'scene' => 'bureau/base/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => '7mofVclWdtvpVyt'], + ['type' => 'domoticz', 'scene' => 25, 'command' => true, 'priority' => true], + ], 'bureau/lumineux' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'SdXwtZu5PCDjK2h'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'lumineux'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 26, 'command' => true, 'priority' => true], ], 'bureau/veilleuse' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'ooQq4Jfbf1CleDy'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'veilleuse'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 27, 'command' => true, 'priority' => true], ], 'bureau/flowers' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'mJ-AVlYFyL5x1cN'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'flowers'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 28, 'command' => true, 'priority' => true], ], 'bureau/videogames' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'ooQq4Jfbf1CleDy'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'veilleuse'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/off'], + ['type' => 'domoticz', 'scene' => 29, 'command' => true, 'priority' => true], ], 'bureau/tchernobyl' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'KoByn2ehWHDdchu'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'tchernobyl'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 30, 'command' => true, 'priority' => true], ], 'bureau/outrun' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => '9TzWQt6f7-EgVtm'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'outrun'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 31, 'command' => true, 'priority' => true], ], 'bureau/boreal' => [ ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'boreal'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'dJaWFQBb0APEgtL'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 32, 'command' => true, 'priority' => true], ], 'bureau/tropical' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'biXLpKpIZYDlxen'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'tropical'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 33, 'command' => true, 'priority' => true], + ], 'bureau/lounge' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'vvE8WAMdNpgswrw'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'lounge'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 34, 'command' => true, 'priority' => true], + ], 'bureau/focus' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'yPYgG-zQWuAA13d'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'space'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 35, 'command' => true, 'priority' => true], + ], 'bureau/tonic' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'S-YiVWKsEKipL0G'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'tonic'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 36, 'command' => true, 'priority' => true], + ], 'bureau/lecture' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'Hjr7rfz4LC9xVoB'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'lecture'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 37, 'command' => true, 'priority' => true], + ], 'bureau/chillout' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => '-UOMTUG6z-hMbRA'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'chillout'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 38, 'command' => true, 'priority' => true], + ], 'bureau/tamise' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => '8fgGg2ylE4aO3t3'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'tamise'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 39, 'command' => true, 'priority' => true], + ], 'bureau/beach' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => '0mPAKOl-Kw8Fwb1'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'beach'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 40, 'command' => true, 'priority' => true], + ], 'bureau/jellyfish' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'VhHVIcN-nKLwP9E'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'jellyfish'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 41, 'command' => true, 'priority' => true], + ], 'bureau/sharks' => [ ['type' => 'hue', 'group' => $bureau, 'scene' => 'VhHVIcN-nKLwP9E'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'sharks'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ['type' => 'scene', 'scene' => 'bureau/screens/on'], + ['type' => 'domoticz', 'scene' => 41, 'command' => true, 'priority' => true], + ], 'bureau/base/off' => [ ['type' => 'function', 'function' => 'bureauAuto', 'args' => [false]], @@ -531,6 +560,7 @@ $scenes = [ 'bureau/off' => [ ['type' => 'scene', 'scene' => 'bureau/base/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => array('on' => false, 'brightness' => 0)], + ['type' => 'domoticz', 'scene' => 41, 'command' => false, 'priority' => true], ], 'bureau/sound/on' => [