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,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<binding:binding id="konnected" 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>Konnected Binding</name>
<description>This is the binding for Konnected.</description>
<author>Zachary Christiansen</author>
</binding:binding>

View File

@@ -0,0 +1,63 @@
<?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:konnected:module">
<parameter-group name="actions">
<label>Actions</label>
<description/>
</parameter-group>
<parameter name="blink" type="boolean">
<label>Blink</label>
<description> When set to false the Led on the device won't blink during transmission.</description>
<default>true</default>
<advanced>true</advanced>
</parameter>
<parameter name="discovery" type="boolean">
<label>Discovery</label>
<description>If set to false the device will not respond to discovery requests via UPnP. Make sure you have
statically assigned an IP address to the module before turning this setting off. See
https://help.konnected.io/support/solutions/articles/32000023968-disabling-device-discovery</description>
<default>true</default>
<advanced>true</advanced>
</parameter>
<parameter name="retry_count" type="integer">
<label>Retry Count</label>
<description>The number of times the binding attempts to send http requests to the Konnected Alarm Panel. Increase
this setting if you are experiencing situations where the module is reporting as offline but you can access the
website of the Alarm Panel to confirm that the Alarm Panel is Konnected to the Network. This will allow the binding
to attempt more retries before it considers the connection a failure and marks the thing as offline.</description>
<default>2</default>
<advanced>true</advanced>
</parameter>
<parameter name="request_timeout" type="integer">
<label>Request Timeout</label>
<description>The timeout period in seconds for HTTP requests to the Konnected Alarm Panel. The default is 30.
Adjusting this setting can help in networks situations with high latency where the binding is erroneously reporting
the thing as offline.</description>
<default>30</default>
<advanced>true</advanced>
</parameter>
<parameter name="controller_softreset" type="boolean" groupName="actions">
<label>Soft Reset Module</label>
<description>Send A Restart Command to the Module.</description>
<advanced>true</advanced>
<default>false</default>
</parameter>
<parameter name="controller_removewifi" type="boolean" groupName="actions">
<label>Factory Reset</label>
<description>Resets the module to Factory Conditions.</description>
<advanced>true</advanced>
<default>false</default>
</parameter>
<parameter name="controller_sendConfig" type="boolean" groupName="actions">
<label>Update Settings</label>
<description>Manually sends the settings to the module. The binding will send settings on every restart and if there
are any configuration changes but this can be used to manually update the settings as needed.</description>
<advanced>true</advanced>
<default>false</default>
</parameter>
</config-description>
</config-description:config-descriptions>

View File

@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="konnected"
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">
<!-- This is the Konnected Thing-Type -->
<thing-type id="module" extensible="switch,actuator,temperature,humidity">
<label>The Konnected Alarm Panel</label>
<description>The Konnected Module</description>
<channels>
<channel id="Zone_6" typeId="switch">
<label>Zone 6</label>
<description>Zone 6 Sensor</description>
</channel>
<channel id="Out" typeId="actuator">
<label>The out Pin</label>
</channel>
</channels>
<config-description-ref uri="thing-type:konnected:module"/>
</thing-type>
<!-- Zone Channel Type -->
<channel-type id="switch">
<item-type>Switch</item-type>
<label>Switch</label>
<description>This zone is a read only switch type zone</description>
<state readOnly="true"/>
<config-description>
<parameter name="zone" type="text" required="true">
<label>Zone Number</label>
<description>The Zone Number of the channel.</description>
<default>6</default>
<options>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">Out</option>
</options>
</parameter>
<parameter name="onvalue" type="text">
<label>On Value</label>
<description>The value that will be treated by the binding as the on value. For sensors that activate with a high
value leave at the default of 1 and sensors that activate with a low value set to 0.</description>
<default>1</default>
<options>
<option value="0">0</option>
<option value="1">1</option>
</options>
</parameter>
</config-description>
</channel-type>
<channel-type id="temperature">
<item-type>Number:Temperature</item-type>
<label>Temperature</label>
<description>This zone measures temperature</description>
<state readOnly="true"/>
<config-description>
<parameter name="zone" type="text">
<label>Zone Number</label>
<description>The Zone Number of the channel.</description>
<options>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">Out</option>
</options>
</parameter>
<parameter name="tempsensorType" type="boolean">
<label>DHT22</label>
<description>Is the sensor a dht22 or a ds18b20? Set to true for dht22 sensor</description>
</parameter>
<parameter name="pollinterval" type="integer">
<label>Poll Interval</label>
<description>The interval in minutes to poll the sensor.</description>
</parameter>
<parameter name="ds18b20_address" type="text">
<label>DS18b20 Address</label>
<description>This is the unique address of the sensor on the one wire bus.</description>
</parameter>
</config-description>
</channel-type>
<channel-type id="humidity">
<item-type>Number:Dimensionless</item-type>
<label>Humidity</label>
<description>This zone measures humidity</description>
<state readOnly="true"/>
<config-description>
<parameter name="zone" type="text" required="true">
<label>Zone Number</label>
<description>The Zone Number of the channel.</description>
<options>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">Out</option>
</options>
</parameter>
</config-description>
</channel-type>
<channel-type id="actuator">
<item-type>Switch</item-type>
<label>Actuator</label>
<description>This zone is an actuator</description>
<config-description>
<parameter name="zone" type="text" required="true">
<label>Zone Number</label>
<description>The Zone Number of the channel.</description>
<default>7</default>
<options>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">Out</option>
</options>
</parameter>
<parameter name="onvalue" type="text">
<label>On Value</label>
<description>The value that will be treated by the binding as an on command. For actuators that activate with a high
command set to 1 and actuators that activate with a low value set to 0.</description>
<default>1</default>
<options>
<option value="0">0</option>
<option value="1">1</option>
</options>
</parameter>
<parameter name="momentary" type="integer">
<label>Momentary</label>
<description>The duration of the pulse in millisecods</description>
</parameter>
<parameter name="pause" type="integer">
<label>Pause</label>
<description>The time between pulses in millisecods</description>
</parameter>
<parameter name="times" type="integer">
<label>Times</label>
<description>is the number of times to repeat or `-1` for an infinitely repeating pulse</description>
</parameter>
</config-description>
</channel-type>
</thing:thing-descriptions>