added migrated 2.x add-ons

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer
2020-09-21 01:58:32 +02:00
parent bbf1a7fd29
commit 6df6783b60
11662 changed files with 1302875 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<binding:binding id="lirc" 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>LIRC Binding</name>
<description>The LIRC binding allows transmission and receipt of standard infrared remote control signals via a LIRC
server.</description>
<author>Andrew Nagle</author>
</binding:binding>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="lirc"
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">
<!-- LIRC Server Bridge -->
<bridge-type id="bridge">
<label>LIRC Server</label>
<description>The LIRC Server Bridge.</description>
<config-description>
<parameter name="host" type="text">
<context>network-address</context>
<label>Hostname</label>
<description>The host of the LIRC server</description>
<default>localhost</default>
</parameter>
<parameter name="portNumber" type="integer" min="1" max="65535">
<label>Port</label>
<description>The port number the LIRC server is listening to.</description>
<default>8765</default>
</parameter>
</config-description>
</bridge-type>
</thing:thing-descriptions>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="lirc"
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">
<!-- Remote Thing Type -->
<thing-type id="remote" listed="false">
<label>Remote Control</label>
<description>An IR remote control</description>
<channels>
<channel id="event" typeId="event"/>
<channel id="transmit" typeId="transmit"/>
</channels>
<config-description>
<parameter name="remote" type="text" required="true">
<label>Remote Name</label>
<description>The name of the remote as configured in LIRC</description>
</parameter>
</config-description>
</thing-type>
<!-- Button Event Channel Type -->
<channel-type id="event">
<kind>trigger</kind>
<label>Button Event</label>
<description>Triggers whenever a button is pressed</description>
</channel-type>
<!-- Transmit Channel Type -->
<channel-type id="transmit">
<item-type>String</item-type>
<label>Transmit Command</label>
<description>Used to transmit IR commands</description>
</channel-type>
</thing:thing-descriptions>