From: Vincent Date: Thu, 30 Jul 2020 20:08:34 +0000 (+0200) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6f2d6aabed3a352e2b3f23e1b61088aa8fdf5a07;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index eb8b408..d00101e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,6 @@ - + @@ -237,7 +237,7 @@ - + @@ -853,14 +853,9 @@ - - - - 1580894931524 - 1580894984838 @@ -1198,7 +1193,14 @@ - @@ -1240,15 +1242,19 @@ + + + + - + - + @@ -1257,6 +1263,10 @@ + + + + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 6cc8a3b..8d99143 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -22,7 +22,7 @@ $home = 15; $alert = 16; $chambrebedgroup = $chambre; - +$chambrefan=1761; $scenes = [ 'chambre/matin' => [ @@ -39,19 +39,19 @@ $scenes = [ ['type' => 'ifttt', 'event' => 'coffee_on'], ], 'chambre/deshumidificateur/on' => [ - //['type' => 'domoticz', 'device' => '1062', 'command' => true], + //['type' => 'domoticz', 'device' => $chambrefan, 'command' => true], ], 'chambre/deshumidificateur/off' => [ - //['type' => 'domoticz', 'device' => '1062', 'command' => false], + //['type' => 'domoticz', 'device' => $chambrefan, 'command' => false], ], 'chambre/fan/on' => [ - ['type' => 'domoticz', 'device' => '1062', 'command' => true], + ['type' => 'domoticz', 'device' => $chambrefan, 'command' => true], ], 'chambre/fan/off' => [ - ['type' => 'domoticz', 'device' => '1062', 'command' => false], + ['type' => 'domoticz', 'device' => $chambrefan, 'command' => false], ], 'chambre/fan/toggle' => [ - ['type' => 'domoticz', 'device' => '1062', 'command' => 'Toggle'], + ['type' => 'domoticz', 'device' => $chambrefan, 'command' => 'Toggle'], ], 'chambre/auto' => [ ['type' => 'nightmode', 'mode' => '0'],