]> _ Git - tortuga-home.git/commitdiff
.
authorVincent <vincent@enhydra.fr>
Wed, 5 Feb 2020 20:29:12 +0000 (21:29 +0100)
committerVincent <vincent@enhydra.fr>
Wed, 5 Feb 2020 20:29:12 +0000 (21:29 +0100)
.idea/workspace.xml
scripts/lib/scenes.php

index 35bc4b7818e0afb9bf94f2d603622225df4f4619..9a8d8812edca60873a43f3dd6bf0b65968a1363c 100644 (file)
@@ -3,7 +3,7 @@
   <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/cron/cron.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/cron/cron.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="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       <workItem from="1580459154087" duration="3479000" />
       <workItem from="1580545354824" duration="796000" />
       <workItem from="1580720992873" duration="177000" />
-      <workItem from="1580894754542" duration="193000" />
-    </task>
-    <task id="LOCAL-00241" summary=".">
-      <created>1572939348455</created>
-      <option name="number" value="00241" />
-      <option name="presentableId" value="LOCAL-00241" />
-      <option name="project" value="LOCAL" />
-      <updated>1572939348456</updated>
+      <workItem from="1580894754542" duration="1011000" />
     </task>
     <task id="LOCAL-00242" summary=".">
       <created>1573630565923</created>
       <option name="project" value="LOCAL" />
       <updated>1580894931525</updated>
     </task>
-    <option name="localTasksCounter" value="290" />
+    <task id="LOCAL-00290" summary=".">
+      <created>1580894984838</created>
+      <option name="number" value="00290" />
+      <option name="presentableId" value="LOCAL-00290" />
+      <option name="project" value="LOCAL" />
+      <updated>1580894984838</updated>
+    </task>
+    <option name="localTasksCounter" value="291" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
     </state>
     <state x="720" y="247" key="#com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1577298128269" />
     <state x="960" y="247" key="#com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog/0.0.2560.1040@0.0.2560.1040" timestamp="1580459136096" />
-    <state x="935" y="114" key="CommitChangelistDialog2" timestamp="1580894914195">
+    <state x="935" y="114" key="CommitChangelistDialog2" timestamp="1580894974592">
       <screen x="0" y="0" width="2560" height="1040" />
     </state>
     <state x="701" y="114" key="CommitChangelistDialog2/0.0.1920.1040@0.0.1920.1040" timestamp="1577381105204" />
     <state x="701" y="127" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1575647157027" />
-    <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1580894914195" />
+    <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1580894974592" />
     <state x="92" y="92" width="2376" height="856" key="DiffContextDialog" timestamp="1580377344165">
       <screen x="0" y="0" width="2560" height="1040" />
     </state>
index 8026bf4668f5412ef8686a325d041cdf5ca2ab45..79ced190e5fe424a8a9b6202a53bb5d84ea5d891 100644 (file)
@@ -441,6 +441,7 @@ $scenes = [
         ['type' => 'insteon', 'command' => '0?135=I=0=0'],
     ],
     'home/off' => [
+        ['type' => 'scene', 'scene' => 'home/hueoff'],
         ['type' => 'ecomode', 'mode' => '2'],
         ['type' => 'scene', 'scene' => 'salon/off'],
         ['type' => 'scene', 'scene' => 'bureau/off'],
@@ -454,6 +455,7 @@ $scenes = [
         ['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Stop All Sounds'],
         ['type' => 'scene', 'scene' => 'chambre/planetarium/off'],
         ['type' => 'ifttt', 'event' => 'coffee_off'],
+        ['type' => 'scene', 'scene' => 'home/hueoff'],
         //['type' => 'ifttt', 'event' => 'oven_off'],
     ],
     'home/welcome' => [
@@ -464,6 +466,9 @@ $scenes = [
         ['type' => 'scene', 'scene' => 'sdb/on'],
         ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'],
     ],
+    'home/hueoff' => [
+        ['type' => 'hue', 'group' => 17, 'scene' => ['on' => false, 'brightness' => 0, 'effect' => 'none']],
+    ],
     'sdb/radio/sync/salon' => [
         ['type' => 'function', 'function' => 'harmonyActivity', 'args' => ["musique-radio"]],
         ['type' => 'function', 'function' => 'squeezeRequest', 'args' => ['sync ' . $squeezeboxPlayers['Salon'], $squeezeboxPlayers['Salle de bains']], 'wait' => 1],