From: Vincent Date: Sun, 7 Feb 2021 11:12:46 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=be271e0e67827ce6b39a9143ed9a5b5616b3cca8;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c011974..4586b76 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,18 +3,9 @@ - - - - - - - - + - - diff --git a/scripts/lib/denon.php b/scripts/lib/denon.php index b9c03d8..14b768e 100644 --- a/scripts/lib/denon.php +++ b/scripts/lib/denon.php @@ -41,7 +41,7 @@ function denonAVROn($input = 'Media Player') function denonAVRInput($input) { $map = ['Media Player' => 5, 'CD' => 9, 'HEOS Music' => 13]; - $volumes = ['Media Player' => 40, 'HEOS Music' => 50, 'CD' => 30]; + $volumes = ['Media Player' => 59, 'HEOS Music' => 50, 'CD' => 30]; if (isset($map[$input])) { _denonAVR('set_config?type=7&data=' . rawurlencode('')); sleep(1); @@ -49,6 +49,7 @@ function denonAVRInput($input) if (isset($volumes[$input])) { denonAVRVolume($volumes[$input]); sleep(1); + denonAVRVolume(1, '+'); } } diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index faf119f..6f0e96f 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -308,7 +308,7 @@ $scenes = [ ], 'home/alert' => [ ['type' => 'domoticz', 'device' => '392', 'command' => true, 'priority' => true], - ['type' => 'hue', 'group' => $alert, 'scene' => ['alert' => 'select']], + ['type' => 'hue', 'group' => $alert, 'scene' => ['alert' => 'lselect']], ['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Tortuga Alerte'], ['type' => 'hue', 'group' => $alert, 'delay' => 1, 'scene' => ['alert' => 'none']], ], diff --git a/scripts/lib/shield.php b/scripts/lib/shield.php index b69a7c0..636d93f 100644 --- a/scripts/lib/shield.php +++ b/scripts/lib/shield.php @@ -42,6 +42,7 @@ function shieldRunActivity($device = null) stopPlayersIn('salon', true, false); epson(true); denonAVROn(); + execScene('salon/cinema'); } else if ($device['id'] === 'bureau' || $device['id'] === 'bureausun') { stopPlayersIn('bureau', true, false); if ($onlySound) {