<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/gradient.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/gradient.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" />
<workItem from="1595400793374" duration="2325000" />
<workItem from="1595445984584" duration="630000" />
<workItem from="1595520880245" duration="551000" />
- <workItem from="1595607894704" duration="1559000" />
- </task>
- <task id="LOCAL-00286" summary=".">
- <created>1580460969814</created>
- <option name="number" value="00286" />
- <option name="presentableId" value="LOCAL-00286" />
- <option name="project" value="LOCAL" />
- <updated>1580460969815</updated>
+ <workItem from="1595607894704" duration="2164000" />
+ <workItem from="1595786545513" duration="206000" />
</task>
<task id="LOCAL-00287" summary=".">
<created>1580462356159</created>
<option name="project" value="LOCAL" />
<updated>1595521318354</updated>
</task>
- <option name="localTasksCounter" value="335" />
+ <task id="LOCAL-00335" summary=".">
+ <created>1595609479854</created>
+ <option name="number" value="00335" />
+ <option name="presentableId" value="LOCAL-00335" />
+ <option name="project" value="LOCAL" />
+ <updated>1595609479855</updated>
+ </task>
+ <option name="localTasksCounter" value="336" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="760" y="94" key="#Project_Structure/0.0.2560.1040@0.0.2560.1040" timestamp="1592377765650" />
- <state x="701" y="75" width="1170" height="972" key="CommitChangelistDialog2" timestamp="1595521315206">
- <screen x="0" y="0" width="1920" height="1160" />
+ <state x="935" y="114" width="1170" height="972" key="CommitChangelistDialog2" timestamp="1595609475205">
+ <screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="701" y="75" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1595521315206" />
- <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1595403707739" />
+ <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1595609475205" />
<state x="1060" y="275" key="FileChooserDialogImpl" timestamp="1590912263817">
<screen x="0" y="0" width="2560" height="1040" />
</state>
// ['type' => 'insteon', 'command' => '3?02622014690F11FF=I=3'],
// ],
'chambre/rideaux/open' => [
- ['type' => 'insteon', 'command' => '0?1126=I=0=0'],
+ ['type' => 'domoticz', 'device' => '1746', 'command' => false],
],
'chambre/rideaux/close' => [
- ['type' => 'insteon', 'command' => '0?1326=I=0=0'],
+ ['type' => 'domoticz', 'device' => '1746', 'command' => true],
],
'home/alert' => [
['type' => 'hue', 'group' => $alert, 'scene' => ['alert' => 'lselect']],
function updateBureauAuto()
{
$hours = intval(date('H'));
- if ($hours <= 1) {
- $scene = 'tropical';
+ if ($hours <= 3) {
+ $scene = 'outrun';
} else if ($hours <= 7) {
$scene = 'tonic';
} else if ($hours <= 11) {
$scene = 'flowers';
} else if ($hours <= 18) {
$scene = 'beach';
- } else {
+ } else if ($hours <= 22) {
$scene = 'tropical';
+ } else {
+ $scene = 'outrun';
}
execScene('bureau/' . $scene);
}