<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/global.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/global.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/rooms.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/rooms.php" 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/homeassistant_device_event.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/homeassistant_device_event.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/insteon.php" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/lib/automodes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/automodes.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/lib/homeassistant.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/homeassistant.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/lib/scenes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/scenes.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/squeezebox.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/squeezebox.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/nightmode.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/nightmode.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/pop.php" beforeDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/wcvmc.php" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<workItem from="1774028822942" duration="792000" />
<workItem from="1774430967346" duration="6359000" />
<workItem from="1774441121722" duration="7518000" />
- <workItem from="1774603188976" duration="327000" />
+ <workItem from="1774603188976" duration="4395000" />
</task>
<task id="LOCAL-00502" summary=".">
<created>1641726946298</created>
<option name="project" value="LOCAL" />
<updated>1687259667913</updated>
</task>
- <option name="localTasksCounter" value="648" />
+ <option name="localTasksCounter" value="649" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
$cuisine = 8;
$bureau = 13;
$sdb = 14;
-$cour = 11;
$freebox = 19;
['type' => 'hue', 'light' => $litvincent, 'scene' => array('on' => true, 'brightness' => 20, 'hue' => 0, 'saturation' => 255, 'transitionTime' => 1)],
],
'chambre/vincent/crepuscule' => [
- // ['type' => 'insteon', 'command' => '3?0262261ED00F1300=I=3'],
['type' => 'hue', 'light' => $litvincent, 'scene' => array('on' => true, 'brightness' => 60, 'hue' => '0', 'saturation' => 255, 'transitionTime' => 10)],
['type' => 'hue', 'light' => $litvincent, 'scene' => array('on' => false, 'brightness' => 0, 'transitionTime' => 10 * 60)],
- //['type' => 'insteon', 'command' => '3?0262261ED00F11FF=I=3'],
],
'chambre/vincent/aube' => [
['type' => 'hue', 'light' => $litvincent, 'scene' => array('on' => true, 'brightness' => 0, 'hue' => '46920', 'saturation' => 255, 'transitionTime' => 0)],
['type' => 'ha', 'device' => 'scene.salon_off'],
['type' => 'hue', 'group' => $salon, 'scene' => array('on' => false)],
['type' => 'state', 'key' => 'salon', 'value' => 'off'],
- //['type' => 'insteon', 'command' => '0?133=I=0=0'],
['type' => 'function', 'function' => 'chemineeOff', 'args' => ['salon']],
['type' => 'hue', 'group' => $salon, 'scene' => array('on' => false)],
['type' => 'scene', 'scene' => 'salon/bar/off'],
],
- 'salon/cinemabase' => [
-
- // ['type' => 'scene', 'scene' => 'cuisine/tamise'],
- // ['type' => 'ecomode', 'mode' => '0'],
- // ['type' => 'insteon', 'command' => '0?1111=I=0=0'],
- ],
'salon/cineclub' => [
['type' => 'scene', 'scene' => 'salon/bar/off'],
['type' => 'function', 'function' => 'salonAuto', 'args' => [false]],
['type' => 'ecomode', 'mode' => '0'],
['type' => 'hue', 'group' => $salon, 'scene' => 'xWNIeznSzek8dKS', 'repeat' => 2],
['type' => 'state', 'key' => 'salon', 'value' => 'theatre'],
- // ['type' => 'insteon', 'command' => '0?1130=I=0=0'],
['type' => 'function', 'function' => 'chemineeOn', 'args' => ['salon', 'fire', 0.8]],
['type' => 'scene', 'scene' => 'cuisine/on', 'repeat' => 2],
],
['type' => 'ha', 'device' => 'scene.salon_lecturenocturne'],
['type' => 'hue', 'group' => $salon, 'scene' => 'HZiYyM6hMUMkmiY'],
['type' => 'state', 'key' => 'salon', 'value' => 'tamise'],
- // ['type' => 'insteon', 'command' => '0?1113=I=0=0'],
['type' => 'function', 'function' => 'chemineeOn', 'args' => ['salon', 'fire', 0.25]],
['type' => 'scene', 'scene' => 'cuisine/on', 'repeat' => 2],
['type' => 'scene', 'scene' => 'salon/bar/off'],
'bureau/rideaux/toggle' => [
['type' => 'function', 'function' => 'bureauRideau', 'args' => ['toggle']],
],
- 'insteon/off' => [
- // ['type' => 'insteon', 'command' => '0?135=I=0=0'],
- ],
'home/off' => [
['type' => 'scene', 'scene' => 'home/hueoff'],
['type' => 'ecomode', 'mode' => '2'],
'cuisine/coffee/off' => [
['type' => 'ha', 'device' => HA_COFFEE, 'command' => 'turn_off'],
],
- 'cour/auto' => [
- ['type' => 'function', 'function' => 'courAuto', 'args' => [true]],
- ],
- 'cour/daylight' => [
- ['type' => 'ha', 'device' => 'scene.cour_daylight'],
- ],
- 'cour/lumineux' => [
- ['type' => 'ha', 'device' => 'scene.cour_light'],
- ],
- 'cour/tropical' => [
- ['type' => 'ha', 'device' => 'scene.cour_tropical'],
- ],
- 'cour/grow' => [
- ['type' => 'ha', 'device' => 'scene.cour_grow'],
- ],
- 'cour/off' => [
- ['type' => 'ha', 'device' => 'scene.cour_off'],
- ],
- 'cour/projecteurs/on' => [
- ['type' => 'ha', 'device' => HA_GROW_LAMPS],
- ],
- 'cour/projecteurs/off' => [
- ['type' => 'ha', 'device' => HA_GROW_LAMPS, 'command' => 'turn_off'],
- ],
'ecomode/basic' => [
['type' => 'ha', 'device' => HA_ECO_BASIC, 'command' => 'turn_off'],
],
$e = explode('/', $name);
- $autoRooms = ['bureau', 'chambre', 'salon', 'cour'];
+ $autoRooms = ['bureau', 'chambre', 'salon'];
if (in_array($e[0], $autoRooms) && count($e) == 2) {
setState($e[0] . 'Off', $e[1] === 'off' ? '1' : '0');