Version 0.9.1

Datei 'www/index.htm' Zurück zur Übersicht
<!DOCTYPE html>
<html lang="de">
<head>

<meta http-equiv="content-type" content="text/html; charset=utf8" />
<title>HomeServer</title>

<script src="global/jquery.js"></script>
<script src="global/av_scripts.js"></script>
<script src="global/xbmc.js"></script>
<script src="global/smartHome.js"></script>

</head>
<body>
<h1>RX-V779</h1>

<fieldset>
<legend>Power</legend>
	<button onclick="rxv779.setPower('On')">On</button>
	<button onclick="rxv779.setPower('Standby')">Standby</button>
</fieldset>

<fieldset>
<legend>Volume</legend>
	<button onclick="rxv779.setVol(-500)">50</button>
	<button onclick="rxv779.setVol(-300)">30</button>
</fieldset>

<fieldset>
<legend>Input</legend>
	<button onclick="rxv779.setInput('HDMI1')">HDMI 1</button>
	<button onclick="rxv779.setInput('HDMI2')">HDMI 2</button>
	<button onclick="rxv779.setInput('HDMI3')">HDMI 3</button>
</fieldset>

<fieldset>
<legend>Audio Type</legend>
	<button onclick="rxv779.setAudioType('Spectacle')">Spectacle</button>
	<button onclick="rxv779.setAudioType('7ch Stereo')">7ch Stereo</button>
</fieldset>

<fieldset>
<legend>Prepare for </legend>
	<button onclick="xbmc.openMovie()">RaspiMovie</button>
	<button onclick="xbmc.openRadio()">Radio</button>
	<button onclick="xbmc.openMovie()">RaspiMusic</button>
</fieldset>
<br>

<fieldset>
<legend>smartHome</legend>
	<button onclick="smartHome.getDevices()">getDevices</button>
</fieldset>

<script>
rxv779 = new av('192.168.178.21');

xbmc = new xbmc();

smartHome = new smartHome();
</script>
</body>
</html>