<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$/config/sdb.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/sdb.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gradient.php" beforeDir="false" afterPath="$PROJECT_DIR$/gradient.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/cachemedia.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/cachemedia.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/freeboxchannel.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/freeboxchannel.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="1597598891734" duration="24000" />
<workItem from="1597733676813" duration="70000" />
<workItem from="1598117505408" duration="292000" />
- <workItem from="1598259122444" duration="621000" />
- </task>
- <task id="LOCAL-00291" summary=".">
- <created>1580934552925</created>
- <option name="number" value="00291" />
- <option name="presentableId" value="LOCAL-00291" />
- <option name="project" value="LOCAL" />
- <updated>1580934552925</updated>
+ <workItem from="1598259122444" duration="762000" />
+ <workItem from="1598297009110" duration="743000" />
+ <workItem from="1598351279992" duration="31000" />
+ <workItem from="1599118677122" duration="2877000" />
+ <workItem from="1599210105610" duration="638000" />
</task>
<task id="LOCAL-00292" summary=".">
<created>1581412676917</created>
<option name="project" value="LOCAL" />
<updated>1596139717624</updated>
</task>
- <option name="localTasksCounter" value="340" />
+ <task id="LOCAL-00340" summary=".">
+ <created>1598265728108</created>
+ <option name="number" value="00340" />
+ <option name="presentableId" value="LOCAL-00340" />
+ <option name="project" value="LOCAL" />
+ <updated>1598265728109</updated>
+ </task>
+ <option name="localTasksCounter" value="341" />
<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="935" y="114" width="1170" height="972" key="CommitChangelistDialog2" timestamp="1596139707722">
+ <state x="935" y="70" width="1170" height="972" key="CommitChangelistDialog2" timestamp="1599316661177">
<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="1596139707722" />
+ <state x="701" y="75" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1598265694837" />
+ <state x="935" y="70" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1599316661177" />
<state x="1060" y="275" key="FileChooserDialogImpl" timestamp="1590912263817">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<screen x="0" y="0" width="1920" height="1160" />
</state>
<state x="655" y="270" width="816" height="530" key="Vcs.Push.Dialog.v2/0.0.1920.1160@0.0.1920.1160" timestamp="1595521362224" />
- <state x="977" y="257" width="607" height="536" key="find.popup" timestamp="1595319893185">
+ <state x="977" y="257" width="607" height="536" key="find.popup" timestamp="1598297024487">
<screen x="0" y="0" width="2560" height="1040" />
</state>
- <state x="977" y="257" width="607" height="536" key="find.popup/0.0.2560.1040@0.0.2560.1040" timestamp="1595319893185" />
+ <state x="977" y="257" width="607" height="536" key="find.popup/0.0.2560.1040@0.0.2560.1040" timestamp="1598297024487" />
</component>
<component name="antWorkspaceConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
$home = 15;
$alert = 16;
-$chambrebedgroup = $chambre;
-$chambrefan=1761;
+$chambrefan = 1761;
$scenes = [
'chambre/matin' => [
['type' => 'nightmode', 'mode' => '0'],
['type' => 'ecomode', 'mode' => '0'],
- ['type' => 'hue', 'group' => $chambre, 'scene' => 'JNieZpDHu5fbMyf'],
+ ['type' => 'scene', 'scene' => 'chambre/nightlights'],
['type' => 'hue', 'group' => $chambre, 'scene' => 'dawn', 'delay' => 1],
['type' => 'scene', 'scene' => 'chambre/rideaux/open', 'delay' => 31],
['type' => 'scene', 'scene' => 'chambre/auto', 'delay' => 35],
['type' => 'state', 'key' => 'chambre', 'value' => 0],
['type' => 'scene', 'scene' => 'chambre/rideaux/close'],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
- ['type' => 'hue', 'group' => $chambrebedgroup, 'scene' => 'JNieZpDHu5fbMyf'],
+ ['type' => 'scene', 'scene' => 'chambre/nightlights'],
['type' => 'scene', 'scene' => 'sdb/nuit'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [$bedlowscreenbrightness]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'mwAGvt2n70oXCqA'],
+ ['type' => 'domoticz', 'scene' => 4, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'scene', 'scene' => 'chambre/cheminee/cold'],
],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'ABqCuE-ob-sw2vQ'],
+ ['type' => 'domoticz', 'scene' => 5, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'Ne6uJnnoPO9yRhl'],
+ ['type' => 'domoticz', 'scene' => 6, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee/cold'],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => '03gdSwPyZ9sbZVg'],
+ ['type' => 'domoticz', 'scene' => 7, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'BNiNQjxiWNbKRaH'],
+ ['type' => 'domoticz', 'scene' => 8, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'Tlcft9sPK492cJA'],
+ ['type' => 'domoticz', 'scene' => 9, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee/cold'],
['type' => 'delay', 'scene' => 'chambre/planetarium/off', 'delay' => 3600], // Planétarium off dans une heure
],
'chambre/sleep' => [
- ['type' => 'hue', 'group' => $chambrebedgroup, 'scene' => '-P3feFyrTnFNfXi'], // Veilleuse +
+ ['type' => 'hue', 'group' => $chambre, 'scene' => '-P3feFyrTnFNfXi'], // Veilleuse +
+ ['type' => 'domoticz', 'scene' => 10, 'command' => true, 'priority' => true],
['type' => 'scene', 'scene' => 'chambre/sleepbase'],
],
'chambre/moon' => [
- ['type' => 'hue', 'group' => $chambrebedgroup, 'scene' => '5PKfoOn8ss17o2l'], // Clair de lune
+ ['type' => 'hue', 'group' => $chambre, 'scene' => '5PKfoOn8ss17o2l'], // Clair de lune
+ ['type' => 'domoticz', 'scene' => 11, 'command' => true, 'priority' => true],
['type' => 'scene', 'scene' => 'chambre/sleepbase'],
],
'chambre/party' => [
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
- ['type' => 'hue', 'group' => $chambre, 'scene' => '4yj7eRjaNuR6S6x'],
+ ['type' => 'hue', 'group' => $chambre, 'scene' => 'qvQXHDodBPa0cZf'],
+ ['type' => 'domoticz', 'scene' => 12, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1119=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'VtGPKtpQ7DF-RCd'],
+ ['type' => 'domoticz', 'scene' => 13, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'Mqq8VMsmPQtzEQ0'],
+ ['type' => 'domoticz', 'scene' => 14, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'HfMaPG92lEOUDB0'],
+ ['type' => 'domoticz', 'scene' => 15, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
],
+ 'chambre/nightlights'=>[
+ ['type' => 'hue', 'group' => $chambre, 'scene' => 'JNieZpDHu5fbMyf'],
+ ['type' => 'domoticz', 'scene' => 16, 'command' => true, 'priority' => true],
+ ],
'chambre/summernight' => [
['type' => 'state', 'key' => 'chambre', 'value' => 1],
- ['type' => 'hue', 'group' => $chambre, 'scene' => 'JNieZpDHu5fbMyf'],
+ ['type' => 'scene', 'scene' => 'chambre/nightlights'],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'XGuSVQ3RCd7JUBC'],
+ ['type' => 'domoticz', 'scene' => 17, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1131=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
['type' => 'nightmode', 'mode' => '0'],
['type' => 'state', 'key' => 'chambre', 'value' => 1],
['type' => 'hue', 'group' => $chambre, 'scene' => 'ZkiQbNQDXJz9-OC'],
+ ['type' => 'domoticz', 'scene' => 18, 'command' => true, 'priority' => true],
['type' => 'insteon', 'command' => '0?1132=I=0=0'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'scene', 'scene' => 'chambre/cheminee'],
['type' => 'state', 'key' => 'chambre', 'value' => 0],
['type' => 'hue', 'group' => $chambre, 'scene' => array('on' => false, 'brightness' => 0)],
['type' => 'insteon', 'command' => '0?1332=I=0=0'],
+ ['type' => 'domoticz', 'scene' => 19, 'command' => false, 'priority' => true],
],
'chambre/bedoff' => [
['type' => 'nightmode', 'mode' => '1'],
['type' => 'ecomode', 'mode' => '1'],
['type' => 'function', 'function' => 'chambreAuto', 'args' => [false]],
['type' => 'state', 'key' => 'chambre', 'value' => 0],
- ['type' => 'hue', 'group' => $chambrebedgroup, 'scene' => array('on' => false, 'brightness' => 0)],
+ ['type' => 'hue', 'group' => $chambre, 'scene' => array('on' => false, 'brightness' => 0)],
['type' => 'insteon', 'command' => '0?1332=I=0=0'],
['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [$bedlowscreenbrightness]],
['type' => 'domoticz', 'device' => '478', 'command' => false],
],
'salon/fan/toggle' => [
- ['type' => 'domoticz', 'device' => '478', 'command' => 'Toggle','priority'=>true],
+ ['type' => 'domoticz', 'device' => '478', 'command' => 'Toggle', 'priority' => true],
],
'bureau/wakeuppc' => [
['type' => 'function', 'function' => 'squeezePlayByName', 'args' => ['Rivière', $squeezeboxPlayers['Salle de bains'], 65]],
],
'salon/freebox/on' => [
- ['type' => 'domoticz', 'device' => '1439', 'command' => true,'priority'=>true],
+ ['type' => 'domoticz', 'device' => '1439', 'command' => true, 'priority' => true],
],
'salon/freebox/off' => [
['type' => 'domoticz', 'device' => '1439', 'command' => false],