]> _ Git - tortuga-home.git/commitdiff
.
authorvincent <vincent@enhydra.fr>
Sun, 23 Jan 2022 15:06:14 +0000 (16:06 +0100)
committervincent <vincent@enhydra.fr>
Sun, 23 Jan 2022 15:06:14 +0000 (16:06 +0100)
.idea/workspace.xml
scripts/lib/switchbot.php

index e107af35cabe6de6b3bb97b119d9cfac36b57d1a..ed28593b7365862054a8f3fca94e4437bde68d59 100644 (file)
@@ -3,7 +3,6 @@
   <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/switchbot.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/switchbot.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
       <workItem from="1642761590471" duration="1992000" />
       <workItem from="1642848701157" duration="3435000" />
       <workItem from="1642856038290" duration="9359000" />
-      <workItem from="1642939498777" duration="1839000" />
-    </task>
-    <task id="LOCAL-00464" summary=".">
-      <created>1618321419071</created>
-      <option name="number" value="00464" />
-      <option name="presentableId" value="LOCAL-00464" />
-      <option name="project" value="LOCAL" />
-      <updated>1618321419071</updated>
+      <workItem from="1642939498777" duration="2862000" />
+      <workItem from="1642946319444" duration="2162000" />
     </task>
     <task id="LOCAL-00465" summary=".">
       <created>1618341048382</created>
       <option name="project" value="LOCAL" />
       <updated>1642941601860</updated>
     </task>
-    <option name="localTasksCounter" value="513" />
+    <task id="LOCAL-00513" summary=".">
+      <created>1642945290135</created>
+      <option name="number" value="00513" />
+      <option name="presentableId" value="LOCAL-00513" />
+      <option name="project" value="LOCAL" />
+      <updated>1642945290135</updated>
+    </task>
+    <option name="localTasksCounter" value="514" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
index c25c3493de074be3f71d8036b40fa704d680fd87..662033f9ecb8e97afe7b5504cc7d6cf8a248b5d2 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 function switchbot($device, $command = 'press', $rpi = 'bureausun')
 {
+   return;
     for ($i = 0; $i <= 2; $i++) {
         $res = sshCommand('/usr/bin/python3 /usr/local/python-host/switchbot_py3.py -d ' . $device . ' -c ' . $command, $rpi, true, true);
         if (stristr($res['output'], 'Command execution successful')) {