<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/lib/denon.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/denon.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/bureau.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/bureau.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/chambre.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/chambre.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/lit.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/lit.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/salon.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/salon.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/lib/lib.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/lib.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="1615881847886" duration="1242000" />
<workItem from="1616096372227" duration="1452000" />
<workItem from="1616413943061" duration="808000" />
- <workItem from="1616750847432" duration="1280000" />
- </task>
- <task id="LOCAL-00411" summary=".">
- <created>1606116203597</created>
- <option name="number" value="00411" />
- <option name="presentableId" value="LOCAL-00411" />
- <option name="project" value="LOCAL" />
- <updated>1606116203597</updated>
+ <workItem from="1616750847432" duration="1881000" />
+ <workItem from="1617266503786" duration="300000" />
</task>
<task id="LOCAL-00412" summary=".">
<created>1606229058488</created>
<option name="project" value="LOCAL" />
<updated>1616837743512</updated>
</task>
- <option name="localTasksCounter" value="460" />
+ <task id="LOCAL-00460" summary=".">
+ <created>1616837886170</created>
+ <option name="number" value="00460" />
+ <option name="presentableId" value="LOCAL-00460" />
+ <option name="project" value="LOCAL" />
+ <updated>1616837886170</updated>
+ </task>
+ <option name="localTasksCounter" value="461" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
include "default.php";
include ROOT . "/config/media.php";
- $nav = ['home', 'lights', 'music', 'media', 'remote', 'switch', 'settings', 'alert', 'off'];
+ $nav = ['home', 'lights', 'music', 'media', 'remote', 'switch','fan', 'settings', 'alert', 'off'];
}
$favoriteslights = array_merge([['type' => 'light', 'scene' => 'chambre/reading/fireplace', 'label' => 'Au coin du feu'],], $c['favorites']);
include "default.php";
- $nav = ['home', 'lights', 'music', 'remote', 'coffee', 'switch', 'settings', 'alert', 'off'];
+ $nav = ['home', 'lights', 'music', 'remote', 'coffee', 'switch', 'fan', 'settings', 'alert', 'off'];
}
\ No newline at end of file
$shortcuts['lights'] = $c['all'];
$favoriteslights = $c['favorites'];
- $nav=['home','lights','music','media','coffee','switch','settings','alert','off'];
+ $nav = ['home', 'lights', 'music', 'media', 'coffee', 'switch', 'fan', 'settings', 'alert', 'off'];
include "media.php";
include "default.php";
include "default.php";
include ROOT . "/config/media.php";
- $nav=['home','lights','music','media','remote','switch','settings','alert','off'];
+ $nav=['home','lights','music','media','remote','switch','fan','settings','alert','off'];
}
'music' => '<div data-menu="music"><i class="fa fa-music" aria-hidden="true"></i><span>Musique & Radio</span></div>',
'media' => '<div data-menu="media"><i class="fa fa-tv-retro" aria-hidden="true"></i><span>Medias & TV</span></div>',
'coffee' => '<div data-menu="coffee"><i class="fa fa-coffee" aria-hidden="true"></i><span>Café</span></div>',
- 'fan' => '<a href="/scripts/light.php?scene=chambre/fan/toggle" class="ajax"><i class="fa fa-fan" aria-hidden="true"></i><span>Ventilateur</span></a>',
+ 'fan' => '<a href="/scripts/light.php?scene='.config('ROOM').'/fan/toggle" class="ajax"><i class="fa fa-fan" aria-hidden="true"></i><span>Ventilateur</span></a>',
'remote' => '<div data-menu="remote"><i class="fa fa-play" aria-hidden="true"></i><span>Télécommande</span></div>',
'switch' => '<div data-menu="switch"><i class="far fa-portal-enter" aria-hidden="true"></i><span>Changer de pièce</span></div>',
'clock' => '<div data-menu="clock"><i class="far fa-alarm-clock" aria-hidden="true"></i><span>Réveil</span></div>',
'bureau/screens/on' => [
['type' => 'function', 'function' => 'pcScreensProfile', 'args' => ['Tortuga', 'avion']]
],
+ 'bureau/fan/on'=>[
+ ['type' => 'domoticz', 'device' => '3529', 'command' => true,'priority'=>true],
+ ],
+ 'bureau/fan/off'=>[
+ ['type' => 'domoticz', 'device' => '3529', 'command' => true,'priority'=>true],
+ ],
+ 'bureau/fan/toggle' => [
+ ['type' => 'domoticz', 'device' => '3529', 'command' => 'Toggle', 'priority' => true],
+ ],
+
'bureau/auto' => [
['type' => 'function', 'function' => 'bureauAuto', 'args' => [true]],
],