<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
- <component name="dataSourceStorageLocal" created-in="IU-231.9161.38">
+ <component name="dataSourceStorageLocal" created-in="IU-231.9225.16">
<data-source name="LFY(3).db" uuid="e5a3291d-855f-44b2-be41-76fe6b0c2136">
<database-info product="SQLite" version="3.25.1" jdbc-version="2.1" driver-name="SQLite JDBC" driver-version="3.25.1" dbms="SQLITE" exact-version="3.25.1" exact-driver-version="3.25">
<identifier-quote-string>"</identifier-quote-string>
<project version="4">
<component name="SshConfigs">
<configs>
- <sshConfig authType="PASSWORD" host="192.168.13.6" id="41cc0622-6eee-44fa-b4be-3776d5fa4005" port="22" nameFormat="DESCRIPTIVE" username="root" useOpenSSHConfig="true" />
+ <sshConfig authType="PASSWORD" host="192.168.13.7" id="41cc0622-6eee-44fa-b4be-3776d5fa4005" port="22" nameFormat="DESCRIPTIVE" username="root" useOpenSSHConfig="true" />
</configs>
</component>
</project>
\ No newline at end of file
<component name="WebServers">
<option name="servers">
<webServer id="1bea9554-c4f3-46ca-863d-e24e0b12fe19" name="home.tortuga.enhydra.fr" url="https://salon.home.tortuga.enhydra.fr/">
- <fileTransfer rootFolder="/docker/tortugahome/src" accessType="SFTP" host="192.168.13.6" port="22" sshConfigId="41cc0622-6eee-44fa-b4be-3776d5fa4005" sshConfig="root@192.168.13.6:22 password">
+ <fileTransfer rootFolder="/docker/tortugahome/src" accessType="SFTP" host="192.168.13.7" port="22" sshConfigId="41cc0622-6eee-44fa-b4be-3776d5fa4005" sshConfig="root@192.168.13.7:22 password">
<advancedOptions>
<advancedOptions dataProtectionLevel="Private" keepAliveTimeout="0" passiveMode="true" shareSSLContext="true" />
</advancedOptions>
</component>
<component name="ChangeListManager">
<list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
+ <change beforePath="$PROJECT_DIR$/.idea/dataSources.local.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources.local.xml" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/.idea/sshConfigs.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sshConfigs.xml" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/.idea/webServers.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/webServers.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/automodes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/automodes.php" afterDir="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/weatherstation.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/weatherstation.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<workItem from="1688849303515" duration="1558000" />
<workItem from="1688897001591" duration="22890000" />
<workItem from="1689010387612" duration="1878000" />
- <workItem from="1689026578748" duration="609000" />
+ <workItem from="1689026578748" duration="2434000" />
+ <workItem from="1689274022940" duration="239000" />
+ <workItem from="1689274317966" duration="657000" />
</task>
<task id="LOCAL-00502" summary=".">
<created>1641726946298</created>
<option name="project" value="LOCAL" />
<updated>1687259667913</updated>
</task>
- <option name="localTasksCounter" value="571" />
+ <option name="localTasksCounter" value="572" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<?php
const HA_KEY = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJiMjJlOWU2YzQ5ZTM0OTk5YTc3YTFjYzE3MDdiNTViNyIsImlhdCI6MTY4ODMxNTk0NywiZXhwIjoyMDAzNjc1OTQ3fQ.HS-KUXxaFE2esRydhqTfzCS7sc7eaZPVv0BE6NNGWas';
-const HA_URL = 'http://homeassistant.home.tortuga.enhydra.fr:8123/';
+const HA_URL = 'http://192.168.13.8:8123/';
const HA_WC_VMC = 'switch.0x847127fffe280f20';
const HA_SDB_AMPLI = 'switch.0xa4c138168147c1b6';
$weather = json_decode(file_get_contents($cache), true);
$weather = $weather[0];
$res['temp'] = round(($weather['Temperature']['Metric']['Value']/* + getState('airtemperature')*/));
- $res['outdoor_temp'] = toNumber(haGetState('sensor.outdoor_meter_balcony_temperature'), 1);
- $res['outdoor_humidity'] = toNumber(haGetState('sensor.outdoor_meter_balcony_humidity'), true);
+ $res['outdoor_temp'] = toNumber(haGetState('sensor.indoor_outdoor_meter_ddf7_temperature'), 1);
+ $res['outdoor_humidity'] = toNumber(haGetState('sensor.indoor_outdoor_meter_ddf7_humidty'), true);
$res['outdoor_pressure'] = toNumber(haGetState('sensor.0x00158d000464c885_pressure'), true);
$res['backyard_temp'] = toNumber(haGetState('sensor.0x00158d000464c885_temperature'), 1);
$res['backyard_humidity'] = toNumber(haGetState('sensor.0x00158d000464c885_humidity'), true);