<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/insteon.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/insteon.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/medialibrary.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/medialibrary.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/transcode.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/transcode.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/servers/insteon.php" beforeDir="false" afterPath="$PROJECT_DIR$/servers/insteon.php" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<workItem from="1567261528772" duration="609000" />
<workItem from="1567408023339" duration="2511000" />
<workItem from="1567413752073" duration="11664000" />
- <workItem from="1567582030869" duration="1366000" />
- </task>
- <task id="LOCAL-00174" summary=".">
- <created>1551255018831</created>
- <option name="number" value="00174" />
- <option name="presentableId" value="LOCAL-00174" />
- <option name="project" value="LOCAL" />
- <updated>1551255018831</updated>
+ <workItem from="1567582030869" duration="2209000" />
</task>
<task id="LOCAL-00175" summary=".">
<created>1551258276560</created>
<option name="project" value="LOCAL" />
<updated>1567582046067</updated>
</task>
- <option name="localTasksCounter" value="223" />
+ <task id="LOCAL-00223" summary=".">
+ <created>1567583577405</created>
+ <option name="number" value="00223" />
+ <option name="presentableId" value="LOCAL-00223" />
+ <option name="project" value="LOCAL" />
+ <updated>1567583577405</updated>
+ </task>
+ <option name="localTasksCounter" value="224" />
<servers />
</component>
<component name="TodoView">
insteonClearBuffer();
echo "\n" . '-- Command ' . $command . ' attempt #' . $attempts . ' --' . "\n";
echo "command : " . _insteonCommand($command) . "\n";
- for ($i = 1; $i <= 3; $i++) {
- usleep(1000000 * 0.1);
+ for ($i = 1; $i <= 5; $i++) {
+ usleep(1000000 * 0.01);
$buff = insteonBuffer();
echo $buff . "\n";
- if (stristr($buff, '0250') || stristr($buff, '0258')) {
+ if (stristr($buff, '0250') || stristr($buff, '0258') || stristr($buff, '0262')) {
insteonClearBuffer();
return;
}
return (string)($xml->BS);
} else {
$insteonHasKnocked = false;
+ insteonKnock();
return '';
}
}
\ No newline at end of file