forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 1
/
it100bridge.xml
47 lines (41 loc) · 1.69 KB
/
it100bridge.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="dscalarm"
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="it100">
<label>DSC IT-100</label>
<description>This bridge represents the DSC IT-100 Serial interface.</description>
<channels>
<channel id="bridge_reset" typeId="reset">
<label>Reset IT100</label>
<description>Resets the IT100</description>
</channel>
<channel id="send_command" typeId="command">
<label>Send Command</label>
<description>Sends a DSC Alarm Command</description>
</channel>
</channels>
<config-description>
<parameter name="serialPort" type="text" required="true">
<context>serial-port</context>
<limitToOptions>false</limitToOptions>
<label>IT-100 Bridge Serial Port</label>
<description>The serial port name for the DSC IT-100. Valid values
are e.g. COM1 for Windows and /dev/ttyS0 or
/dev/ttyUSB0 for Linux.</description>
</parameter>
<parameter name="baud" type="integer" required="false">
<label>Baud Rate</label>
<description>The baud rate of the DSC IT-100. Valid values are 9600
(default), 19200, 38400, 57600, and 115200.</description>
<default>9600</default>
</parameter>
<parameter name="pollPeriod" type="integer" required="false" min="1" max="15">
<label>Poll Period</label>
<description>The Poll Period.</description>
<default>1</default>
</parameter>
</config-description>
</bridge-type>
</thing:thing-descriptions>