]> _ Git - tortuga-home.git/commitdiff
.
authorVincent <vincent@enhydra.fr>
Tue, 27 Aug 2019 06:45:34 +0000 (08:45 +0200)
committerVincent <vincent@enhydra.fr>
Tue, 27 Aug 2019 06:45:34 +0000 (08:45 +0200)
.idea/workspace.xml
scripts/lib/mediarasp.php
scripts/lib/off.php
scripts/lib/scenes.php

index fa5b9401ef405f71219f57911a880432f2aff79e..903652e0b7d963cc8b5575f220ad71c852bc8531 100644 (file)
@@ -3,9 +3,9 @@
   <component name="ChangeListManager">
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/lib.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/lib.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/scripts/lib/mediarasp.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/mediarasp.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/scripts/lib/off.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/off.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/scripts/lib/scenes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/scenes.php" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
       <workItem from="1566602835458" duration="785000" />
       <workItem from="1566643527124" duration="3756000" />
       <workItem from="1566649679962" duration="18000" />
-      <workItem from="1566649714025" duration="9725000" />
-    </task>
-    <task id="LOCAL-00166" summary=".">
-      <created>1551168960202</created>
-      <option name="number" value="00166" />
-      <option name="presentableId" value="LOCAL-00166" />
-      <option name="project" value="LOCAL" />
-      <updated>1551168960203</updated>
+      <workItem from="1566649714025" duration="11658000" />
     </task>
     <task id="LOCAL-00167" summary=".">
       <created>1551170266066</created>
       <option name="project" value="LOCAL" />
       <updated>1566737418166</updated>
     </task>
-    <option name="localTasksCounter" value="215" />
+    <task id="LOCAL-00215" summary=".">
+      <created>1566808495062</created>
+      <option name="number" value="00215" />
+      <option name="presentableId" value="LOCAL-00215" />
+      <option name="project" value="LOCAL" />
+      <updated>1566808495062</updated>
+    </task>
+    <option name="localTasksCounter" value="216" />
     <servers />
   </component>
   <component name="TodoView">
index 7e577cd073e24ccb2960490e198c1d8a40a41a3c..492f1731dc14a79c69205e652c1ac635b267544e 100644 (file)
@@ -318,7 +318,7 @@ function mediaRaspCommons($device)
     } else if ($device == 'bureau') {
         execScene('bureau/media/play');
         stopSqueezebox($squeezeboxPlayers['Bureau']);
-        sshCommand('/usr/local/bin/soundtohdmi', 'bureau');
+        sshRunCommand('/usr/local/bin/soundtohdmi', 'bureau');
     } else if ($device == 'sdb') {
         execScene('sdb/ampli/on');
     }
index c98e54e1dd088c7c23c1672b60f46ce4fb6f1a75..de083fff1dba6075d16b809e4a3966664f398b7b 100644 (file)
@@ -30,9 +30,7 @@ function offSalon()
 function offBureau()
 {
     domoticzSwitch(1, false);
-    irsend('bureau', 'Projector', 'PowerOn');
-    sleep(2);
-    irsend('bureau', 'Projector', 'PowerOn');
+    irsend('bureau', 'Projector', 'PowerOff');
 }
 
 function offSdb()
index fdf7f6fddd5979db1ab762d6ac0816fefa60d27a..a8c0d314fb23efdc9b527e146054184af7767b1c 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-$chemineeLights = array('salon' => array(2, 3, 6), 'chambre' => array(4, 5, 16));
+$chemineeLights = array('salon' => array(2, 3, 6), 'chambre' => array(4, 5, 20));
 
 $cheminee = array('salon' => 1, 'chambre' => 6);