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,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<binding:binding id="linuxinput" 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>LinuxInput Binding</name>
<description>This is the binding for LinuxInput.</description>
<author>Thomas Weißschuh</author>
</binding:binding>

View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="linuxinput"
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">
<thing-type id="input-device">
<label>LinuxInput Device</label>
<description>Input device</description>
<channel-groups>
<channel-group id="keypresses" typeId="keypresses"/>
</channel-groups>
<config-description>
<parameter name="enable" type="boolean" required="true">
<label>Enable</label>
<description>If the Thing should be enabled and consume all input from this device</description>
</parameter>
<parameter name="path" type="text" required="true">
<label>Path</label>
<description>Path to device file</description>
</parameter>
</config-description>
</thing-type>
<channel-type id="key">
<item-type>String</item-type>
<label>Key Event</label>
<state readOnly="true"/>
</channel-type>
<channel-type id="keypress">
<item-type>Contact</item-type>
<label>Key Pressed</label>
<state readOnly="true"/>
</channel-type>
<channel-type id="device-grab">
<item-type>Switch</item-type>
<label>Device Grab</label>
<category>Switch</category>
<tags>
<tag>Switchable</tag>
</tags>
</channel-type>
<channel-group-type id="keypresses">
<label>Key Presses</label>
</channel-group-type>
</thing:thing-descriptions>