added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<binding:binding id="sonyaudio" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/binding/v1.0.0 https://openhab.org/schemas/binding-1.0.0.xsd">
|
||||
|
||||
<name>SonyAudio Binding</name>
|
||||
<description>This is the binding for SonyAudio products (Receivers and wireless speakers).</description>
|
||||
<author>David Åberg</author>
|
||||
|
||||
</binding:binding>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<config-description:config-descriptions
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
|
||||
|
||||
<config-description uri="thing-type:sonyaudio:config">
|
||||
<parameter name="ipAddress" type="text">
|
||||
<label>Network Address</label>
|
||||
<description>The IP or host name of the SONY audio device</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
<parameter name="port" type="integer" min="1" max="65535">
|
||||
<label>Port</label>
|
||||
<description>Port for the SONY audio device to control.
|
||||
Home Audio products usually use port 10000 and Personal Audio
|
||||
products usually use port 54480.</description>
|
||||
<default>10000</default>
|
||||
</parameter>
|
||||
<parameter name="path" type="text">
|
||||
<label>Base Path</label>
|
||||
<description>The base path, "/sony" in most cases</description>
|
||||
<default>/sony</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
<parameter name="refreshInterval" type="integer" min="0">
|
||||
<label>Refresh Interval</label>
|
||||
<description>The refresh interval in seconds for polling the receiver (0=disable). Binding receive automatically
|
||||
updates from
|
||||
</description>
|
||||
<default>300</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</config-description:config-descriptions>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="sonyaudio"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
|
||||
<!-- Commands -->
|
||||
<channel-type id="input-ct800">
|
||||
<item-type>String</item-type>
|
||||
<label>Input Source</label>
|
||||
<description>Select the input source of the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="btaudio">Bluetooth Audio</option>
|
||||
<option value="tv">TV</option>
|
||||
<option value="hdmi1">HDMI1</option>
|
||||
<option value="hdmi2">HDMI2</option>
|
||||
<option value="hdmi3">HDMI3</option>
|
||||
<option value="analog">Analog</option>
|
||||
<option value="usb">USB</option>
|
||||
<option value="network">Home Network</option>
|
||||
<option value="cast">Chromecast</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="sound-field-ct800">
|
||||
<item-type>String</item-type>
|
||||
<label>Sound Field</label>
|
||||
<description>Select the Sound Field for the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="clearAudio">ClearAudio+</option>
|
||||
<option value="movie">Movie</option>
|
||||
<option value="music">Music</option>
|
||||
<option value="sports">Sports</option>
|
||||
<option value="game">Game Studio</option>
|
||||
<option value="standard">Standard</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<!-- HT-CT800 Thing Type -->
|
||||
<thing-type id="HT-CT800">
|
||||
<label>SONY Soundbar HT-CT800</label>
|
||||
<description>SONY Soundbar HT-CT800</description>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="input" typeId="input-ct800"/>
|
||||
<channel id="volume" typeId="volume"/>
|
||||
<channel id="mute" typeId="mute"/>
|
||||
<channel id="soundField" typeId="sound-field-ct800"/>
|
||||
</channels>
|
||||
<config-description-ref uri="thing-type:sonyaudio:config"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="sonyaudio"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
|
||||
<!-- Commands -->
|
||||
<channel-type id="input-mt500">
|
||||
<item-type>String</item-type>
|
||||
<label>Input Source</label>
|
||||
<description>Select the input source of the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="btaudio">Bluetooth Audio</option>
|
||||
<option value="tv">TV</option>
|
||||
<option value="analog">Analog</option>
|
||||
<option value="usb">USB</option>
|
||||
<option value="network">Home Network</option>
|
||||
<option value="cast">Chromecast</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="sound-field-mt500">
|
||||
<item-type>String</item-type>
|
||||
<label>Sound Field</label>
|
||||
<description>Select the Sound Field for the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="clearAudio">ClearAudio+</option>
|
||||
<option value="movie">Movie</option>
|
||||
<option value="music">Music</option>
|
||||
<option value="sports">Sports</option>
|
||||
<option value="game">Game Studio</option>
|
||||
<option value="standard">Standard</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<!-- HT-MT500 Thing Type -->
|
||||
<thing-type id="HT-MT500">
|
||||
<label>SONY Soundbar HT-MT500</label>
|
||||
<description>SONY Soundbar HT-MT500</description>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="input" typeId="input-mt500"/>
|
||||
<channel id="volume" typeId="volume"/>
|
||||
<channel id="mute" typeId="mute"/>
|
||||
<channel id="soundField" typeId="sound-field-mt500"/>
|
||||
</channels>
|
||||
<config-description-ref uri="thing-type:sonyaudio:config"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="sonyaudio"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
|
||||
<!-- Commands -->
|
||||
<channel-type id="input-st5000">
|
||||
<item-type>String</item-type>
|
||||
<label>Input Source</label>
|
||||
<description>Select the input source of the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="btaudio">Bluetooth Audio</option>
|
||||
<option value="tv">TV</option>
|
||||
<option value="hdmi1">HDMI1</option>
|
||||
<option value="hdmi2">HDMI2</option>
|
||||
<option value="hdmi3">HDMI3</option>
|
||||
<option value="analog">Analog</option>
|
||||
<option value="usb">USB</option>
|
||||
<option value="network">Home Network</option>
|
||||
<option value="cast">Chromecast</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="sound-field-st5000">
|
||||
<item-type>String</item-type>
|
||||
<label>Sound Field</label>
|
||||
<description>Select the Sound Field for the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="clearAudio">ClearAudio+</option>
|
||||
<option value="3dsurround">3D Surround</option>
|
||||
<option value="movie">Movie</option>
|
||||
<option value="music">Music</option>
|
||||
<option value="sports">Sports</option>
|
||||
<option value="game">Game Studio</option>
|
||||
<option value="standard">Standard</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<!-- HT-ST5000 Thing Type -->
|
||||
<thing-type id="HT-ST5000">
|
||||
<label>SONY Soundbar HT-ST5000</label>
|
||||
<description>SONY Soundbar HT-ST5000</description>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="input" typeId="input-st5000"/>
|
||||
<channel id="volume" typeId="volume"/>
|
||||
<channel id="mute" typeId="mute"/>
|
||||
<channel id="soundField" typeId="sound-field-st5000"/>
|
||||
</channels>
|
||||
<config-description-ref uri="thing-type:sonyaudio:config"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="sonyaudio"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
|
||||
<!-- Commands -->
|
||||
<channel-type id="input-z9f-zf9">
|
||||
<item-type>String</item-type>
|
||||
<label>Input Source</label>
|
||||
<description>Select the input source of the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="btaudio">Bluetooth Audio</option>
|
||||
<option value="tv">TV</option>
|
||||
<option value="hdmi1">HDMI1</option>
|
||||
<option value="hdmi2">HDMI2</option>
|
||||
<option value="analog">Analog</option>
|
||||
<option value="usb">USB</option>
|
||||
<option value="network">Home Network</option>
|
||||
<option value="cast">Chromecast</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="sound-field-z9f-zf9">
|
||||
<item-type>String</item-type>
|
||||
<label>Sound Field</label>
|
||||
<description>Select the Sound Field for the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="auto">Auto Sound</option>
|
||||
<option value="news">News</option>
|
||||
<option value="cinemaStudio">Cinema</option>
|
||||
<option value="music">Music</option>
|
||||
<option value="sports">Sports</option>
|
||||
<option value="game">Game Studio</option>
|
||||
<option value="standard">Standard</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="nightMode">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Night Mode</label>
|
||||
<description>Enable/Disable Night Mode</description>
|
||||
</channel-type>
|
||||
|
||||
<!-- HT-z9f Thing Type -->
|
||||
<thing-type id="HT-Z9F">
|
||||
<label>SONY Soundbar HT-Z9F</label>
|
||||
<description>SONY Soundbar HT-Z9F</description>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="input" typeId="input-z9f-zf9"/>
|
||||
<channel id="volume" typeId="volume"/>
|
||||
<channel id="mute" typeId="mute"/>
|
||||
<channel id="soundField" typeId="sound-field-z9f-zf9"/>
|
||||
</channels>
|
||||
<config-description-ref uri="thing-type:sonyaudio:config"/>
|
||||
</thing-type>
|
||||
|
||||
<!-- HT-zf9 Thing Type -->
|
||||
<thing-type id="HT-ZF9">
|
||||
<label>SONY Soundbar HT-ZF9</label>
|
||||
<description>SONY Soundbar HT-ZF9</description>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="input" typeId="input-z9f-zf9"/>
|
||||
<channel id="volume" typeId="volume"/>
|
||||
<channel id="mute" typeId="mute"/>
|
||||
<channel id="soundField" typeId="sound-field-z9f-zf9"/>
|
||||
<channel id="nightMode" typeId="nightMode"/>
|
||||
</channels>
|
||||
<config-description-ref uri="thing-type:sonyaudio:config"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="sonyaudio"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
|
||||
<!-- Commands -->
|
||||
<channel-type id="input-zr5">
|
||||
<item-type>String</item-type>
|
||||
<label>Input Source</label>
|
||||
<description>Select the input source of the speaker</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="btaudio">Bluetooth Audio</option>
|
||||
<option value="usb">USB</option>
|
||||
<option value="analog">Analog</option>
|
||||
<option value="hdmi1">HDMI</option>
|
||||
<option value="network">Home Network</option>
|
||||
<option value="cast">Chromecast</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="sound-field-zr5">
|
||||
<item-type>String</item-type>
|
||||
<label>Sound Field</label>
|
||||
<description>Select the Sound Field for the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="clearAudio">ClearAudio+</option>
|
||||
<option value="hiphop">R&B / HIP HOP</option>
|
||||
<option value="standard">FLAT</option>
|
||||
<option value="rock">ROCK</option>
|
||||
<option value="pop">POP</option>
|
||||
<option value="latin">LATIN</option>
|
||||
<option value="jazz">JAZZ</option>
|
||||
<option value="classic">CLASSIC</option>
|
||||
<option value="custom">CUSTOM</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<!-- SRS-ZR5 Thing Type -->
|
||||
<thing-type id="SRS-ZR5">
|
||||
<label>SONY Wireless Speaker SRS-ZR5</label>
|
||||
<description>SONY wireless Speaker SRS-ZR5</description>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="input" typeId="input-zr5"/>
|
||||
<channel id="volume" typeId="volume"/>
|
||||
<channel id="mute" typeId="mute"/>
|
||||
<channel id="soundField" typeId="sound-field-zr5"/>
|
||||
</channels>
|
||||
<config-description-ref uri="thing-type:sonyaudio:config"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,167 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="sonyaudio"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
|
||||
<channel-group-type id="masterControls">
|
||||
<label>Master</label>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="soundField" typeId="sound-field-dn1080"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="zone1Controls">
|
||||
<label>Main Zone</label>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="input" typeId="input-dn1080-zone1"/>
|
||||
<channel id="volume" typeId="volume"/>
|
||||
<channel id="mute" typeId="mute"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="zone2Controls">
|
||||
<label>Zone 2</label>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="input" typeId="input-dn1080-zone2"/>
|
||||
<channel id="volume" typeId="volume"/>
|
||||
<channel id="mute" typeId="mute"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="zone4Controls">
|
||||
<label>HDMI Zone</label>
|
||||
<channels>
|
||||
<channel id="power" typeId="power"/>
|
||||
<channel id="input" typeId="input-dn1080-zone4"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="radioControls">
|
||||
<label>Radio</label>
|
||||
<channels>
|
||||
<channel id="broadcastFreq" typeId="radioBroadcastFreq"/>
|
||||
<channel id="broadcastStation" typeId="radioBroadcastStation"/>
|
||||
<channel id="broadcastSeekStation" typeId="radioSeekBroadcastStation"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<!-- Commands -->
|
||||
<channel-type id="radioBroadcastFreq">
|
||||
<item-type>Number</item-type>
|
||||
<label>Broadcast Frequency</label>
|
||||
<description>The broadcast frequency</description>
|
||||
<state pattern="%.2f MHz" readOnly="true"></state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="radioBroadcastStation">
|
||||
<item-type>Number</item-type>
|
||||
<label>Broadcast Station</label>
|
||||
<description>Select preset broadcast station</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="radioSeekBroadcastStation">
|
||||
<item-type>String</item-type>
|
||||
<label>Change Broadcast Station</label>
|
||||
<description>Change broadcast station</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="fwdSeeking">Seek Forward</option>
|
||||
<option value="bwdSeeking">Seek Backward</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="input-dn1080-zone1">
|
||||
<item-type>String</item-type>
|
||||
<label>Input Source</label>
|
||||
<description>Select the input source of the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="btaudio">Bluetooth Audio</option>
|
||||
<option value="fm">FM</option>
|
||||
<option value="usb">USB</option>
|
||||
<option value="bd/dvd">BD/DVD</option>
|
||||
<option value="game">GAME</option>
|
||||
<option value="sat/catv">SAT/CATV</option>
|
||||
<option value="video1">VIDEO 1</option>
|
||||
<option value="video2">VIDEO 2</option>
|
||||
<option value="tv">TV</option>
|
||||
<option value="sa-cd/cd">SA-CD/CD</option>
|
||||
<option value="network">Home Network</option>
|
||||
<option value="cast">Chromecast</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="input-dn1080-zone2">
|
||||
<item-type>String</item-type>
|
||||
<label>Input Source</label>
|
||||
<description>Select the input source of the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="btaudio">Bluetooth Audio</option>
|
||||
<option value="fm">FM</option>
|
||||
<option value="usb">USB</option>
|
||||
<option value="source">SOURCE</option>
|
||||
<option value="sat/catv">SAT/CATV</option>
|
||||
<option value="video1">VIDEO 1</option>
|
||||
<option value="sa-cd/cd">SA-CD/CD</option>
|
||||
<option value="network">Home Network</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="input-dn1080-zone4">
|
||||
<item-type>String</item-type>
|
||||
<label>Input Source</label>
|
||||
<description>Select the input source of the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="bd/dvd">BD/DVD</option>
|
||||
<option value="game">GAME</option>
|
||||
<option value="sat/catv">SAT/CATV</option>
|
||||
<option value="video2">VIDEO 2</option>
|
||||
<option value="sa-cd/cd">SA-CD/CD</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="sound-field-dn1080">
|
||||
<item-type>String</item-type>
|
||||
<label>Sound Field</label>
|
||||
<description>Select the Sound Field for the receiver</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="pureDirect">Pure Direct</option>
|
||||
<option value="2chStereo">2ch Stereo</option>
|
||||
<option value="multiChStereo">Multi Ch Stereo</option>
|
||||
<option value="direct">Direct</option>
|
||||
<option value="audioFormatDecoding">A.F.D.</option>
|
||||
<option value="dolbySurround">Dolby Surround</option>
|
||||
<option value="neuralX">Neural:X</option>
|
||||
<option value="frontSurround">Front Surround</option>
|
||||
<option value="audioEnhancer">Audio Enhancer</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<!-- STR-DN1080 Thing Type -->
|
||||
<thing-type id="STR-DN1080">
|
||||
<label>SONY Receiver STR-DN1080</label>
|
||||
<description>SONY receiver STR-DN1080</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group typeId="masterControls" id="master"/>
|
||||
<channel-group typeId="zone1Controls" id="zone1"/>
|
||||
<channel-group typeId="zone2Controls" id="zone2"/>
|
||||
<channel-group typeId="zone4Controls" id="zone4"/>
|
||||
<channel-group typeId="radioControls" id="radio"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description-ref uri="thing-type:sonyaudio:config"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="sonyaudio"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
|
||||
<channel-type id="power">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Power</label>
|
||||
<description>Power on/off your device</description>
|
||||
<category>Switch</category>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="volume">
|
||||
<item-type>Dimmer</item-type>
|
||||
<label>Volume</label>
|
||||
<description>Set the volume level</description>
|
||||
<category>SoundVolume</category>
|
||||
<state min="0" max="100" step="1" pattern="%d %%"></state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="mute">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Mute</label>
|
||||
<description>Enable/Disable Mute on the AVR</description>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user