forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
serial.xml
104 lines (98 loc) · 4.54 KB
/
serial.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="powermax"
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="serial">
<label>Serial Connection</label>
<description>This bridge represents the serial connection to the alarm system.</description>
<channels>
<channel id="system_status" typeId="system_status"/>
<channel id="system_armed" typeId="system_armed"/>
<channel id="arm_mode" typeId="arm_mode"/>
<channel id="alarm_active" typeId="alarm_active"/>
<channel id="ready" typeId="ready"/>
<channel id="with_zones_bypassed" typeId="with_zones_bypassed"/>
<channel id="trouble" typeId="trouble"/>
<channel id="alert_in_memory" typeId="alert_in_memory"/>
<channel id="pgm_status" typeId="pgm_status"/>
<channel id="mode" typeId="mode"/>
<channel id="event_log_1" typeId="event_log"/>
<channel id="event_log_2" typeId="event_log"/>
<channel id="event_log_3" typeId="event_log"/>
<channel id="event_log_4" typeId="event_log"/>
<channel id="event_log_5" typeId="event_log"/>
<channel id="event_log_6" typeId="event_log"/>
<channel id="event_log_7" typeId="event_log"/>
<channel id="event_log_8" typeId="event_log"/>
<channel id="event_log_9" typeId="event_log"/>
<channel id="event_log_10" typeId="event_log"/>
<channel id="update_event_logs" typeId="update_event_logs"/>
<channel id="download_setup" typeId="download_setup"/>
</channels>
<properties>
<property name="vendor">Visonic</property>
</properties>
<config-description>
<parameter name="serialPort" type="text" required="true">
<context>serial-port</context>
<limitToOptions>false</limitToOptions>
<label>Serial Port</label>
<description>The serial port to use for connecting to the serial interface of the alarm system e.g. COM1 for Windows
and /dev/ttyS0 or /dev/ttyUSB0 for Linux.</description>
</parameter>
<parameter name="motionOffDelay" type="integer" min="1" unit="min" required="false">
<label>Motion Reset Delay</label>
<description>The delay in minutes to reset a motion detection.</description>
<default>3</default>
</parameter>
<parameter name="allowArming" type="boolean" required="false">
<label>Allow Arming</label>
<description>Enable or disable arming the alarm system from openHAB.</description>
<default>false</default>
</parameter>
<parameter name="allowDisarming" type="boolean" required="false">
<label>Allow Disarming</label>
<description>Enable or disable disarming the alarm system from openHAB.</description>
<default>false</default>
</parameter>
<parameter name="pinCode" type="text" required="false">
<context>password</context>
<label>PIN Code</label>
<description>The PIN code to use for arming/disarming the alarm system from openHAB. Not required except when
Powerlink mode cannot be used.</description>
<advanced>true</advanced>
</parameter>
<parameter name="forceStandardMode" type="boolean" required="false">
<label>Force Standard Mode</label>
<description>Force the standard mode rather than trying using the Powerlink mode.</description>
<default>false</default>
<advanced>true</advanced>
</parameter>
<parameter name="panelType" type="text" required="false">
<label>Panel Type</label>
<description>Define the panel type. Only required when forcing the standard mode.</description>
<limitToOptions>true</limitToOptions>
<options>
<option value="PowerMax">PowerMax</option>
<option value="PowerMax+">PowerMax+</option>
<option value="PowerMaxPro">PowerMax Pro</option>
<option value="PowerMaxComplete">PowerMax Complete</option>
<option value="PowerMaxProPart">PowerMax Pro Part</option>
<option value="PowerMaxCompletePart">PowerMax Complete Part</option>
<option value="PowerMaxExpress">PowerMax Express</option>
<option value="PowerMaster10">PowerMaster 10</option>
<option value="PowerMaster30">PowerMaster 30</option>
</options>
<default>PowerMaxPro</default>
<advanced>true</advanced>
</parameter>
<parameter name="autoSyncTime" type="boolean" required="false">
<label>Sync Time</label>
<description>Automatic sync time at openHAB startup.</description>
<default>false</default>
<advanced>true</advanced>
</parameter>
</config-description>
</bridge-type>
</thing:thing-descriptions>