forked from openhab/openhab-addons
/
thing-types.xml
228 lines (204 loc) · 6.64 KB
/
thing-types.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="nikobus"
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="pc-link">
<label>PC-Link</label>
<description>PC-Link via serial connection</description>
<config-description>
<parameter name="port" type="text" required="true">
<label>Port</label>
<context>serial-port</context>
<limitToOptions>false</limitToOptions>
<description>The serial port used to connect to the Nikobus PC Link.</description>
</parameter>
<parameter name="refreshInterval" type="integer" max="65535" min="10" required="false">
<default>60</default>
<label>Refresh Interval</label>
<description>Refresh interval in seconds.</description>
</parameter>
</config-description>
</bridge-type>
<thing-type id="push-button">
<supported-bridge-type-refs>
<bridge-type-ref id="pc-link"/>
</supported-bridge-type-refs>
<label>Push Button</label>
<description>A single push button</description>
<channels>
<channel id="button" typeId="button"/>
</channels>
<config-description>
<parameter name="address" type="text">
<label>Address</label>
<description>The Nikobus address of the module</description>
</parameter>
<parameter name="impactedModules" type="text">
<label>Impacted Modules</label>
<description>Comma separated list of impacted modules, i.e. switch-module:s1:1</description>
</parameter>
</config-description>
</thing-type>
<channel-type id="button">
<item-type>Switch</item-type>
<label>Button Event</label>
<description>Fires when the button is pressed</description>
<config-description>
<parameter name="address" type="text">
<label>Address</label>
<description>The Nikobus address of the module</description>
</parameter>
</config-description>
</channel-type>
<thing-type id="switch-module">
<supported-bridge-type-refs>
<bridge-type-ref id="pc-link"/>
</supported-bridge-type-refs>
<label>Switch Module</label>
<description>Nikobus Switch module</description>
<channels>
<channel id="output-1" typeId="switch-output">
<label>Output 1</label>
</channel>
<channel id="output-2" typeId="switch-output">
<label>Output 2</label>
</channel>
<channel id="output-3" typeId="switch-output">
<label>Output 3</label>
</channel>
<channel id="output-4" typeId="switch-output">
<label>Output 4</label>
</channel>
<channel id="output-5" typeId="switch-output">
<label>Output 5</label>
</channel>
<channel id="output-6" typeId="switch-output">
<label>Output 6</label>
</channel>
<channel id="output-7" typeId="switch-output">
<label>Output 7</label>
</channel>
<channel id="output-8" typeId="switch-output">
<label>Output 8</label>
</channel>
<channel id="output-9" typeId="switch-output">
<label>Output 9</label>
</channel>
<channel id="output-10" typeId="switch-output">
<label>Output 10</label>
</channel>
<channel id="output-11" typeId="switch-output">
<label>Output 11</label>
</channel>
<channel id="output-12" typeId="switch-output">
<label>Output 12</label>
</channel>
</channels>
<config-description>
<parameter name="address" type="text">
<label>Address</label>
<description>The Nikobus address of the module</description>
</parameter>
</config-description>
</thing-type>
<thing-type id="dimmer-module">
<supported-bridge-type-refs>
<bridge-type-ref id="pc-link"/>
</supported-bridge-type-refs>
<label>Dimmer Module</label>
<description>Nikobus Dimmer module</description>
<channels>
<channel id="output-1" typeId="dimmer-output">
<label>Output 1</label>
</channel>
<channel id="output-2" typeId="dimmer-output">
<label>Output 2</label>
</channel>
<channel id="output-3" typeId="dimmer-output">
<label>Output 3</label>
</channel>
<channel id="output-4" typeId="dimmer-output">
<label>Output 4</label>
</channel>
<channel id="output-5" typeId="dimmer-output">
<label>Output 5</label>
</channel>
<channel id="output-6" typeId="dimmer-output">
<label>Output 6</label>
</channel>
<channel id="output-7" typeId="dimmer-output">
<label>Output 7</label>
</channel>
<channel id="output-8" typeId="dimmer-output">
<label>Output 8</label>
</channel>
<channel id="output-9" typeId="dimmer-output">
<label>Output 9</label>
</channel>
<channel id="output-10" typeId="dimmer-output">
<label>Output 10</label>
</channel>
<channel id="output-11" typeId="dimmer-output">
<label>Output 11</label>
</channel>
<channel id="output-12" typeId="dimmer-output">
<label>Output 12</label>
</channel>
</channels>
<config-description>
<parameter name="address" type="text">
<label>Address</label>
<description>The Nikobus address of the module</description>
</parameter>
</config-description>
</thing-type>
<thing-type id="rollershutter-module">
<supported-bridge-type-refs>
<bridge-type-ref id="pc-link"/>
</supported-bridge-type-refs>
<label>Rollershutter Module</label>
<description>Nikobus Rollershutter module</description>
<channels>
<channel id="output-1" typeId="rollershutter-output">
<label>Output 1</label>
</channel>
<channel id="output-2" typeId="rollershutter-output">
<label>Output 2</label>
</channel>
<channel id="output-3" typeId="rollershutter-output">
<label>Output 3</label>
</channel>
<channel id="output-4" typeId="rollershutter-output">
<label>Output 4</label>
</channel>
<channel id="output-5" typeId="rollershutter-output">
<label>Output 5</label>
</channel>
<channel id="output-6" typeId="rollershutter-output">
<label>Output 6</label>
</channel>
</channels>
<config-description>
<parameter name="address" type="text">
<label>Address</label>
<description>The Nikobus address of the module</description>
</parameter>
</config-description>
</thing-type>
<channel-type id="switch-output">
<item-type>Switch</item-type>
<label>Output</label>
<description>Switch Module's Output</description>
</channel-type>
<channel-type id="dimmer-output">
<item-type>Dimmer</item-type>
<label>Output</label>
<description>Dimmer Module's Output</description>
</channel-type>
<channel-type id="rollershutter-output">
<item-type>Rollershutter</item-type>
<label>Output</label>
<description>Rollershutter Module's Output</description>
</channel-type>
</thing:thing-descriptions>