<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/homeassistant.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/homeassistant.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/harmony.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/harmony.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/cron/cron.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/cron/cron.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/flowerpower.php" beforeDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/harmony.php" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<workItem from="1687359859243" duration="1495000" />
<workItem from="1688295154056" duration="11039000" />
<workItem from="1688414368761" duration="11417000" />
- <workItem from="1688478993471" duration="43245000" />
+ <workItem from="1688478993471" duration="44520000" />
</task>
<task id="LOCAL-00502" summary=".">
<created>1641726946298</created>
<option name="project" value="LOCAL" />
<updated>1687259667913</updated>
</task>
- <option name="localTasksCounter" value="553" />
+ <option name="localTasksCounter" value="554" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
}
if ($cronmin % 15 == 0) {
cronXPlanet($cronmin);
- cronFlowerPower($cronmin);
cronPodcasts($cronmin);
cronMediaLibrary($cronmin);
cronTmdb($cronmin);
}
}
-function cronFlowerPower($cronmin)
-{
- _logSection('Flower Power');
- updateFlowerPower();
-}
-
function cronMediaLibrary($cronmin)
{
global $directories;
+++ /dev/null
-<?php
-require_once "import.php";
-header('Content-type: application/json');
-
-$res = array_merge(harmonyRequest('status'), harmonyRequest('commands'), harmonyRequest('activities'), harmonyRequest('devices'));
-
-foreach ($res['activities'] as $k => $activity) {
- $res['activities'][$k] += harmonyRequest('activities/' . $activity['slug'] . '/commands');
-}
-
-foreach ($res['devices'] as $k => $device) {
- $res['devices'][$k] += harmonyRequest('devices/' . $device['slug'] . '/commands');
-}
-echo json_encode($res);