]> _ Git - tortuga-home.git/commitdiff
.
authorVincent <vincent@enhydra.fr>
Tue, 12 Jan 2021 14:57:36 +0000 (15:57 +0100)
committerVincent <vincent@enhydra.fr>
Tue, 12 Jan 2021 14:57:36 +0000 (15:57 +0100)
.idea/workspace.xml
scripts/lib/scenes.php

index 65efb08e57e40266f986ab56536d19a08c352151..dbdb7a70bb93f1abdbd0530bf1e8d23d8b5e0ce7 100644 (file)
@@ -3,9 +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/shield.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/shield.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/tmdb.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/tmdb.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="1609950754201" duration="3352000" />
       <workItem from="1610050680817" duration="1480000" />
       <workItem from="1610202160108" duration="2175000" />
-      <workItem from="1610280280433" duration="6883000" />
-    </task>
-    <task id="LOCAL-00381" summary=".">
-      <created>1605094978427</created>
-      <option name="number" value="00381" />
-      <option name="presentableId" value="LOCAL-00381" />
-      <option name="project" value="LOCAL" />
-      <updated>1605094978427</updated>
+      <workItem from="1610280280433" duration="7383000" />
+      <workItem from="1610462926782" duration="517000" />
     </task>
     <task id="LOCAL-00382" summary=".">
       <created>1605102367599</created>
       <option name="project" value="LOCAL" />
       <updated>1610202214223</updated>
     </task>
-    <option name="localTasksCounter" value="430" />
+    <task id="LOCAL-00430" summary=".">
+      <created>1610353505617</created>
+      <option name="number" value="00430" />
+      <option name="presentableId" value="LOCAL-00430" />
+      <option name="project" value="LOCAL" />
+      <updated>1610353505617</updated>
+    </task>
+    <option name="localTasksCounter" value="431" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
index f4a2658b5f62ccf9424429c478f488fea622cffa..46de33f0fdf421533ba25fb1d9bd35df7be557f6 100644 (file)
@@ -636,7 +636,7 @@ $scenes = [
         ['type' => 'function', 'function' => 'wcVMCOn'],
     ],
     'wc/vmc/off' => [
-        ['type' => 'insteon', 'command' => '0?1334=I=0=0'],
+        ['type' => 'domoticz', 'device' => '2205', 'command' => true, 'priority' => true],
     ],
 
     'sdb/ampli/on' => [
@@ -1077,7 +1077,7 @@ function wcVMCOn()
 {
     setState('lastVMCOn', time());
     // Start VMC
-    insteonCommand('0?1134=I=0=0');
+    domoticzSwitch(2205,true,'light', true);
 }
 
 function wcVMCOff($timeout = 'auto')