@echo off
cls
-C:\tools\cygwin\bin\ssh.exe -tt root@192.168.13.7 'docker exec -it -u root tortugahome /bin/bash'
+C:\tools\cygwin\bin\ssh.exe -tt root@192.168.13.6 'docker exec -it -u root tortugahome /bin/bash'
</component>
<component name="ChangeListManager">
<list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
+ <change beforePath="$PROJECT_DIR$/.docker/dockerterminal.bat" beforeDir="false" afterPath="$PROJECT_DIR$/.docker/dockerterminal.bat" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/ecomode.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/ecomode.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$/config/global.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/global.php" 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$/scripts/lib/squeezebox.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/squeezebox.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<recent name="T:\Drive\Works\home\images\rooms" />
</key>
</component>
- <component name="RunManager" selected="Shell Script.Update DNS">
+ <component name="RunManager" selected="Shell Script.Docker terminal">
<configuration default="true" type="Applet">
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<method v="2">
<workItem from="1690896094427" duration="1950000" />
<workItem from="1690907942122" duration="34000" />
<workItem from="1690910375137" duration="580000" />
- <workItem from="1691748561800" duration="648000" />
+ <workItem from="1691748561800" duration="1265000" />
+ <workItem from="1691844371156" duration="2578000" />
</task>
<task id="LOCAL-00502" summary=".">
<created>1641726946298</created>
<option name="project" value="LOCAL" />
<updated>1687259667913</updated>
</task>
- <option name="localTasksCounter" value="585" />
+ <option name="localTasksCounter" value="586" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
$squeezeboxPlayers = array(
'Cave' => 'b8:27:eb:ab:b4:50',
'Salle de bains' => '8b:42:ec:ef:38:39',
- //'Salon' => 'dc:a6:32:02:47:c1',
- //'Salon' => 'cc:cc:2d:15:82:0e',
- //'Salon' => '5a:a1:4c:5c:e7:5e',
- 'Salon' => 'bb:bb:b1:c8:92:09',
- //'Salon' => '00:04:20:17:82:8b',
'Chambre' => 'b8:27:eb:31:e1:44',
- //'WC' => '00:04:20:2a:05:2e',
- //'WC' => 'b8:27:eb:78:f6:88',
- // 'WC' => 'a6:ce:85:78:33:a4',
- //'Cuisine' => 'b8:27:eb:ec:71:34',
'Cuisine' => '00:04:20:2a:05:2e',
'Lit Jérôme' => 'b8:27:eb:62:d3:ce',
'Lit Vincent' => 'b8:27:eb:40:0e:e9',
'WC' => 'b8:27:eb:f6:1d:30',
- //'Bureau' => 'cc:cc:2d:2a:b5:35',
- //'Bureau' => 'd6:12:01:da:63:f9',
- 'Bureau' => '00:04:20:17:82:8b',
+ 'Salon' => '00:04:20:17:82:8b',
+ 'Bureau' => 'dc:a6:32:50:70:42',
);
}
if ($setvolume) {
- $volumes = ['Media Player' => 60, 'Game' => 50, 'HEOS Music' => 40, 'CD' => 30, 'AUX' => 26];
+ $volumes = ['Media Player' => 60, 'Game' => 50, 'HEOS Music' => 40, 'CD' => 30, 'AUX' => 30];
if (isset($volumes[$input])) {
for ($i = 0; $i <= 2; $i++) {
denonAVRVolume($volumes[$input], '');
}
}
- $audioMode = ['Media Player' => 'DOLBY DIGITAL', 'AUX' => 'DOLBY DIGITAL', 'CD' => 'DOLBY DIGITAL', 'Game' => 'DOLBY DIGITAL', 'HEOS Music' => 'MULTI CH IN 7.1'];
+ $audioMode = ['Media Player' => 'DOLBY DIGITAL', 'AUX' => 'MULTI CH IN 7.1', 'CD' => 'DOLBY DIGITAL', 'Game' => 'DOLBY DIGITAL', 'HEOS Music' => 'MULTI CH IN 7.1'];
if (isset($audioMode[$input])) {
for ($i = 0; $i <= 2; $i++) {
denonAVRSetAudioMode($audioMode[$input]);
require_once ROOT . '/config/music.php';
+const DENON_SQUEEZEBOX_INPUT = 'AUX';
+
function stopSqueezeboxPlayer($player, $stopIfSync = true, $devices = true)
{
if (!$stopIfSync && isSynced($player)) {
$player = _player($player);
if ($player == $squeezeboxPlayers['Salon']) {
$state = denonAVRGetPowerState();
- denonAVROn('HEOS Music', false);
+ denonAVROn(DENON_SQUEEZEBOX_INPUT, false);
sleep(4);
if (!$state) {
denonAVROff();
- denonAVROn('HEOS Music', true);
+ denonAVROn(DENON_SQUEEZEBOX_INPUT, true);
}
} else if ($player == $squeezeboxPlayers['Salle de bains']) {
execScene('sdb/ampli/on');