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,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<binding:binding id="ftpupload" 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>FTP Upload Binding</name>
<description>This binding is for receiving files via FTP.</description>
<author>Pauli Anttila</author>
<config-description>
<parameter name="port" type="integer" min="1" max="65535">
<label>TCP Port</label>
<description>TCP port of the FTP server</description>
<default>2121</default>
</parameter>
<parameter name="idleTimeout" type="integer" min="0" max="65535">
<label>Idle Timeout</label>
<description>The number of seconds before an inactive client is disconnected. If this value is set to 0, the idle
time is disabled.</description>
<default>60</default>
</parameter>
</config-description>
</binding:binding>

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="ftpupload"
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="imagereceiver" extensible="image-channel, image-received">
<label>Image Receiver</label>
<description>Receive image files via FTP.</description>
<channels>
<channel id="image" typeId="image-channel"/>
<channel id="image-received" typeId="image-received"/>
</channels>
<config-description>
<parameter name="userName" type="text" required="true">
<label>User Name</label>
<description>Username</description>
</parameter>
<parameter name="password" type="text" required="true">
<label>Password</label>
<description>Password</description>
<context>password</context>
</parameter>
</config-description>
</thing-type>
<channel-type id="image-channel">
<item-type>Image</item-type>
<label>Image</label>
<description>Image received via FTP</description>
<state readOnly="true"></state>
<config-description>
<parameter name="filename" type="text" required="true">
<label>Filename</label>
<description>Filename to match received files. Supports regular expression patterns.</description>
<default>.*</default>
</parameter>
</config-description>
</channel-type>
<channel-type id="image-received">
<kind>trigger</kind>
<label>Image File Received Trigger Channel</label>
<event>
<options>
<option value="IMAGE_RECEIVED">Image received</option>
</options>
</event>
<config-description>
<parameter name="filename" type="text" required="true">
<label>Filename</label>
<description>Filename to match received files. Supports regular expression patterns.</description>
<default>.*</default>
</parameter>
</config-description>
</channel-type>
</thing:thing-descriptions>