added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<binding:binding id="globalcache" 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>GlobalCache Binding</name>
|
||||
<description>Binding for GlobalCache iTach and GC-100 devices supporting infrared, serial, and contact closure
|
||||
interfaces.</description>
|
||||
<author>Mark Hilbush</author>
|
||||
|
||||
</binding:binding>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="globalcache"
|
||||
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">
|
||||
|
||||
<!-- GlobalCache Channel Types -->
|
||||
|
||||
<channel-type id="channel-type-ir">
|
||||
<item-type>String</item-type>
|
||||
<label>Infrared</label>
|
||||
<description>Transmits infrared command on module:connector</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="channel-type-cc">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Contact Closure</label>
|
||||
<description>Transmits contact closure command on module:connector</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="channel-type-sl">
|
||||
<item-type>String</item-type>
|
||||
<label>Serial</label>
|
||||
<description>Transmits serial command on module:connector</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="channel-type-sl-direct" advanced="false">
|
||||
<item-type>String</item-type>
|
||||
<label>Serial</label>
|
||||
<description>Transmits serial command on module:connector bypassing MAP transform</description>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="channel-type-sl-receive" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Serial Receive</label>
|
||||
<description>Data received on the serial port from the device</description>
|
||||
<state readOnly="true"></state>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,287 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="globalcache"
|
||||
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">
|
||||
|
||||
<!-- GlobalCache Channel Groups -->
|
||||
|
||||
<channel-group-type id="sl-m1">
|
||||
<label>Module 1</label>
|
||||
<description>Serial Module</description>
|
||||
<channels>
|
||||
<channel id="c1" typeId="channel-type-sl">
|
||||
<label>Connector 1 (mapped)</label>
|
||||
<description>Mapped commands to serial port</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c1-direct" typeId="channel-type-sl-direct">
|
||||
<label>Connector 1 (direct)</label>
|
||||
<description>Direct commands to serial port</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c1-receive" typeId="channel-type-sl-receive">
|
||||
<label>Connector 1 (receive)</label>
|
||||
<description>Data received on serial port</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="sl-m2">
|
||||
<label>Module 2</label>
|
||||
<description>Serial Module</description>
|
||||
<channels>
|
||||
<channel id="c1" typeId="channel-type-sl">
|
||||
<label>Connector 1 (mapped)</label>
|
||||
<description>Mapped commands to serial port</description>
|
||||
<properties>
|
||||
<property name="module">2</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c1-direct" typeId="channel-type-sl-direct">
|
||||
<label>Connector 1 (direct)</label>
|
||||
<description>Direct commands to serial port</description>
|
||||
<properties>
|
||||
<property name="module">2</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c1-receive" typeId="channel-type-sl-receive">
|
||||
<label>Connector 1 (receive)</label>
|
||||
<description>Data received on serial port</description>
|
||||
<properties>
|
||||
<property name="module">2</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="ir-m1">
|
||||
<label>Module 1</label>
|
||||
<description>Infrared Module</description>
|
||||
<channels>
|
||||
<channel id="c1" typeId="channel-type-ir">
|
||||
<label>Connector 1</label>
|
||||
<description>Infrared emitter on connector 1. Connector 1 is the connector closest to the power plug.</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c2" typeId="channel-type-ir">
|
||||
<label>Connector 2</label>
|
||||
<description>Infrared emitter on connector 2.</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">2</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c3" typeId="channel-type-ir">
|
||||
<label>Connector 3</label>
|
||||
<description>Infrared emitter/blaster on connector 3.</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">3</property>
|
||||
</properties>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="ir-m1-c1">
|
||||
<label>Module 1</label>
|
||||
<description>Infrared Module</description>
|
||||
<channels>
|
||||
<channel id="c1" typeId="channel-type-ir">
|
||||
<label>Connector 1</label>
|
||||
<description>ZMote infrared emitter.</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="ir-m2">
|
||||
<label>Module 2</label>
|
||||
<description>Infrared Module</description>
|
||||
<channels>
|
||||
<channel id="c1" typeId="channel-type-ir">
|
||||
<label>Connector 1</label>
|
||||
<description>Infrared emitter on connector 1. Connector 1 is the connector closest to the power plug.</description>
|
||||
<properties>
|
||||
<property name="module">2</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c2" typeId="channel-type-ir">
|
||||
<label>Connector 2</label>
|
||||
<description>Infrared emitter on connector 2.</description>
|
||||
<properties>
|
||||
<property name="module">2</property>
|
||||
<property name="connector">2</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c3" typeId="channel-type-ir">
|
||||
<label>Connector 3</label>
|
||||
<description>Infrared emitter/blaster on connector 3.</description>
|
||||
<properties>
|
||||
<property name="module">2</property>
|
||||
<property name="connector">3</property>
|
||||
</properties>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="ir-m4">
|
||||
<label>Module 4</label>
|
||||
<description>Infrared Module</description>
|
||||
<channels>
|
||||
<channel id="c1" typeId="channel-type-ir">
|
||||
<label>Connector 1</label>
|
||||
<description>Infrared emitter on connector 1. Connector 1 is the connector closest to the power plug.</description>
|
||||
<properties>
|
||||
<property name="module">4</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c2" typeId="channel-type-ir">
|
||||
<label>Connector 2</label>
|
||||
<description>Infrared emitter on connector 2.</description>
|
||||
<properties>
|
||||
<property name="module">4</property>
|
||||
<property name="connector">2</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c3" typeId="channel-type-ir">
|
||||
<label>Connector 3</label>
|
||||
<description>Infrared emitter/blaster on connector 3.</description>
|
||||
<properties>
|
||||
<property name="module">4</property>
|
||||
<property name="connector">3</property>
|
||||
</properties>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="ir-m5">
|
||||
<label>Module 5</label>
|
||||
<description>Infrared Module</description>
|
||||
<channels>
|
||||
<channel id="c1" typeId="channel-type-ir">
|
||||
<label>Connector 1</label>
|
||||
<description>Infrared emitter on connector 1. Connector 1 is the connector closest to the power plug.</description>
|
||||
<properties>
|
||||
<property name="module">5</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c2" typeId="channel-type-ir">
|
||||
<label>Connector 2</label>
|
||||
<description>Infrared emitter on connector 2.</description>
|
||||
<properties>
|
||||
<property name="module">5</property>
|
||||
<property name="connector">2</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c3" typeId="channel-type-ir">
|
||||
<label>Connector 3</label>
|
||||
<description>Infrared emitter/blaster on connector 3.</description>
|
||||
<properties>
|
||||
<property name="module">5</property>
|
||||
<property name="connector">3</property>
|
||||
</properties>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="cc-m1">
|
||||
<label>Module 1</label>
|
||||
<description>Contact Closure Module</description>
|
||||
<channels>
|
||||
<channel id="c1" typeId="channel-type-cc">
|
||||
<label>Connector 1</label>
|
||||
<description>Contact closure on connector 1.</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c2" typeId="channel-type-cc">
|
||||
<label>Connector 2</label>
|
||||
<description>Contact closure on connector 2.</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">2</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c3" typeId="channel-type-cc">
|
||||
<label>Connector 3</label>
|
||||
<description>Contact closure on connector 3.</description>
|
||||
<properties>
|
||||
<property name="module">1</property>
|
||||
<property name="connector">3</property>
|
||||
</properties>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="cc-m3">
|
||||
<label>Module 3</label>
|
||||
<description>Contact Closure Module</description>
|
||||
<channels>
|
||||
<channel id="c1" typeId="channel-type-cc">
|
||||
<label>Connector 1</label>
|
||||
<description>Contact closure on connector 1.</description>
|
||||
<properties>
|
||||
<property name="module">3</property>
|
||||
<property name="connector">1</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c2" typeId="channel-type-cc">
|
||||
<label>Connector 2</label>
|
||||
<description>Contact closure on connector 2.</description>
|
||||
<properties>
|
||||
<property name="module">3</property>
|
||||
<property name="connector">2</property>
|
||||
</properties>
|
||||
</channel>
|
||||
|
||||
<channel id="c3" typeId="channel-type-cc">
|
||||
<label>Connector 3</label>
|
||||
<description>Contact closure on connector 3.</description>
|
||||
<properties>
|
||||
<property name="module">3</property>
|
||||
<property name="connector">3</property>
|
||||
</properties>
|
||||
</channel>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="globalcache"
|
||||
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">
|
||||
|
||||
<!-- GlobalCache GC-100-06 device contains one SL module, one IR module -->
|
||||
<thing-type id="gc100_06">
|
||||
|
||||
<label>GlobalCache GC-100-06</label>
|
||||
<description>GC-100-06 Infrared and Serial Device</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group id="sl-m1" typeId="sl-m1"/>
|
||||
<channel-group id="ir-m2" typeId="ir-m2"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
<description>Enter the IP address of the iTach CC device</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
|
||||
<parameter name="mapFilename" type="text">
|
||||
<label>Map File</label>
|
||||
<description>Enter name of file containing mapping of commands to IR and Serial codes</description>
|
||||
</parameter>
|
||||
|
||||
<parameter name="enableTwoWay1" type="boolean">
|
||||
<label>Enable Two Way</label>
|
||||
<description>Enable two-way serial communication</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="eomDelimiter1" type="text">
|
||||
<label>End-of-message Delimiter</label>
|
||||
<description>URL encoded end-of-message delimiter string for receiving messages</description>
|
||||
<default>%0A</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="globalcache"
|
||||
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">
|
||||
|
||||
<!-- GlobalCache GC-100-12 device contains two IR modules, two SL modules, one CC module -->
|
||||
<thing-type id="gc100_12">
|
||||
|
||||
<label>GlobalCache GC-100-12</label>
|
||||
<description>GC-100-12 Infrared, Serial, and Contact Closure Device</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group id="sl-m1" typeId="sl-m1"/>
|
||||
<channel-group id="sl-m2" typeId="sl-m2"/>
|
||||
<channel-group id="cc-m3" typeId="cc-m3"/>
|
||||
<channel-group id="ir-m4" typeId="ir-m4"/>
|
||||
<channel-group id="ir-m5" typeId="ir-m5"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
<description>Enter the IP address of the iTach CC device</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
|
||||
<parameter name="mapFilename" type="text">
|
||||
<label>Map File</label>
|
||||
<description>Enter name of file containing mapping of commands to IR and Serial codes</description>
|
||||
</parameter>
|
||||
|
||||
<parameter name="enableTwoWay1" type="boolean">
|
||||
<label>Enable Two Way Port 1</label>
|
||||
<description>Enable two-way serial communication on serial port 1</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="eomDelimiter1" type="text">
|
||||
<label>End-of-message Delimiter Port 1</label>
|
||||
<description>URL encoded end-of-message delimiter string for receiving messages on serial port 1</description>
|
||||
<default>%0A</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="enableTwoWay2" type="boolean">
|
||||
<label>Enable Two Way Port 2</label>
|
||||
<description>Enable two-way serial communication on serial port 2</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="eomDelimiter2" type="text">
|
||||
<label>End-of-message Delimiter Port 2</label>
|
||||
<description>URL encoded end-of-message delimiter string for receiving messages on serial port 2</description>
|
||||
<default>%0A</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="globalcache"
|
||||
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">
|
||||
|
||||
<!-- GlobalCache iTach CC (relay) device contains one CC module -->
|
||||
<thing-type id="itachCC">
|
||||
|
||||
<label>GlobalCache iTach CC</label>
|
||||
<description>iTach Contact Closure Device (WF2CC or IP2CC)</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group id="cc-m1" typeId="cc-m1"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
<description>Enter the IP address of the iTach CC device</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="globalcache"
|
||||
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">
|
||||
|
||||
<!-- GlobalCache iTach Flex device -->
|
||||
<thing-type id="itachFlex">
|
||||
|
||||
<label>GlobalCache iTach Flex</label>
|
||||
<description>iTach Flex Device</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group id="sl-m1" typeId="sl-m1"/>
|
||||
<channel-group id="ir-m1" typeId="ir-m1"/>
|
||||
<channel-group id="cc-m1" typeId="cc-m1"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
<description>Enter the IP address of the iTach Flex device</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
|
||||
<parameter name="mapFilename" type="text">
|
||||
<label>Map File</label>
|
||||
<description>Enter name of file containing mapping of commands to IR and Serial codes</description>
|
||||
</parameter>
|
||||
|
||||
<parameter name="activeCable" type="text" required="true">
|
||||
<label>Active Cable</label>
|
||||
<description>This setting should match the Current Active Cable in the Flex configuration</description>
|
||||
<options>
|
||||
<option value="FLEX_INFRARED">Infrared</option>
|
||||
<option value="FLEX_SERIAL">Serial</option>
|
||||
<option value="FLEX_RELAY">Relay/Sensor</option>
|
||||
</options>
|
||||
<default>FLEX_INFRARED</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="enableTwoWay1" type="boolean">
|
||||
<label>Enable Two Way</label>
|
||||
<description>Enable two-way serial communication</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="eomDelimiter1" type="text">
|
||||
<label>End-of-message Delimiter</label>
|
||||
<description>URL encoded end-of-message delimiter string for receiving messages</description>
|
||||
<default>%0A</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="globalcache"
|
||||
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">
|
||||
|
||||
<!-- GlobalCache iTach IR (infrared) device contains one IR module -->
|
||||
<thing-type id="itachIR">
|
||||
|
||||
<label>GlobalCache iTach IR</label>
|
||||
<description>iTach Infrared Device (WF2IR or IP2IR)</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group id="ir-m1" typeId="ir-m1"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
<description>Enter the IP address of the iTach IR device</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
|
||||
<parameter name="mapFilename" type="text">
|
||||
<label>Map File</label>
|
||||
<description>Enter name of file containing mapping of commands to IR and Serial codes</description>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="globalcache"
|
||||
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">
|
||||
|
||||
<!-- GlobalCache iTach SL (serial) device contains one SL module -->
|
||||
<thing-type id="itachSL">
|
||||
|
||||
<label>GlobalCache iTach SL</label>
|
||||
<description>iTach Serial Device (WF2SL or IP2SL)</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group id="sl-m1" typeId="sl-m1"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
<description>Enter the IP address of the iTach SL device</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
|
||||
<parameter name="mapFilename" type="text">
|
||||
<label>Map File</label>
|
||||
<description>Enter namer of file containing mapping of commands to IR and Serial codes</description>
|
||||
</parameter>
|
||||
|
||||
<parameter name="enableTwoWay1" type="boolean">
|
||||
<label>Enable Two Way</label>
|
||||
<description>Enable two-way serial communication</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="eomDelimiter1" type="text">
|
||||
<label>End-of-message Delimiter</label>
|
||||
<description>URL encoded end-of-message delimiter string for receiving messages</description>
|
||||
<default>%0A</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="globalcache"
|
||||
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">
|
||||
|
||||
<!-- Zmote IR (infrared) device contains one IR module -->
|
||||
<thing-type id="zmote">
|
||||
|
||||
<label>Zmote IR</label>
|
||||
<description>Zmote Infrared Device</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group id="ir-m1-c1" typeId="ir-m1-c1"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
<description>Enter the IP address of the Zmote device</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
|
||||
<parameter name="mapFilename" type="text">
|
||||
<label>Map File</label>
|
||||
<description>Enter name of file containing mapping of commands to IR codes</description>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user