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="kvv" 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>KVV Binding</name>
<description>This is the binding for KVV.</description>
<author>Maximilian Hess</author>
</binding:binding>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="kvv" 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">
<bridge-type id="bridge">
<label>KVV Bridge</label>
<description>The KVV bridge connects to the KVV API.</description>
<config-description>
<parameter name="maxTrains" type="integer" required="true" min="0" max="127">
<label>Maximum Trains Listed</label>
<description>Maximum number of trains listed.</description>
</parameter>
<parameter name="updateInterval" type="integer" required="true" min="1">
<label>Update Interval</label>
<description>Update interval in seconds.</description>
</parameter>
<parameter name="apiKey" type="text" required="true">
<label>API key</label>
<description>API key of the KVV API</description>
</parameter>
</config-description>
</bridge-type>
</thing:thing-descriptions>

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="kvv" 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="name">
<item-type>String</item-type>
<label>Train Line Name</label>
<description>Name of the Train Line</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="destination">
<item-type>String</item-type>
<label>Destination of the train</label>
<description>Name of the Train Line</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="eta">
<item-type>String</item-type>
<label>Estimated Time Available</label>
<description>Time at which the train arrives</description>
<state readOnly="true"/>
</channel-type>
<channel-group-type id="train">
<label>KVV Train</label>
<description>This is a single KVV train</description>
<channels>
<channel id="name" typeId="name"/>
<channel id="destination" typeId="destination"/>
<channel id="eta" typeId="eta"/>
</channels>
</channel-group-type>
<thing-type id="stop">
<label>KVV Stop</label>
<description>Train stop for KVV Binding.</description>
<config-description>
<parameter name="stopId" type="text">
<label>Stop ID</label>
<description>ID of the train stop.</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>