-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbridge.xml
More file actions
114 lines (107 loc) · 4.72 KB
/
bridge.xml
File metadata and controls
114 lines (107 loc) · 4.72 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="wmbus"
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="wmbusbridge">
<label>WMBus Stick</label>
<description>The WMBus bridge represents the USB stick used to receive WMBus messages. There are three different
sticks supported: Amber Wireless AMB8465-M, Radiocrafts RC1180-MBUS and IMST iM871A-USB</description>
<channels>
<channel id="last_frame" typeId="last_frame"/>
</channels>
<config-description>
<parameter name="stickModel" type="text">
<description>The stick model used.</description>
<label>Stick Model</label>
<required>true</required>
<options>
<option value="amber">Amber Wireless AMB8465-M</option>
<option value="rc">Radiocrafts RC1180-MBUS</option>
<option value="imst">IMST iM871A-USB</option>
<option value="cul">CUL</option>
</options>
</parameter>
<parameter name="serialDevice" type="text">
<context>serial-port</context>
<label>Serial Port</label>
<description>The name of the serial port (e.g. /dev/ttyUSB0 or COM5).</description>
<required>true</required>
</parameter>
<parameter name="radioMode" type="text">
<description>Radio mode to operate the WMBus radio module on.</description>
<label>Radio Mode</label>
<options>
<option value="S">S (Stationary) - interval</option>
<option value="T">T (Transmit) - frequent transmit (e.g. Techem HKV)</option>
<option value="C">C (Compact) - frequent transmit, more payload</option>
</options>
<required>true</required>
</parameter>
<parameter name="dateFieldMode" type="text">
<description>Type of which date/time channels should be.</description>
<label>Date Field Mode</label>
<options>
<option value="FORMATTED_STRING">Formatted (string)</option>
<option value="UNIX_TIMESTAMP">Timestamp (int)</option>
<option value="DATE_TIME">Calendar (object) - Default</option>
</options>
<advanced>true</advanced>
<default>DATE_TIME</default>
</parameter>
<parameter name="encryptionKeys" type="text">
<description>Encryption Keys in form ID:KEY;ID:KEY all in hex format like given to the jMBus message printer test
program.</description>
<label>Encryption Keys</label>
<advanced>true</advanced>
</parameter>
<parameter name="deviceIDFilter" type="text">
<description>List of device IDs to filter during receive. If empty, all received devices will be handled, if at
least one ID is set, only messages from this device will be handled. Device ID in decumal format as shown in WMBus
message prints and given out by the jMBus message printer test program.</description>
<label>Device Filter</label>
<advanced>true</advanced>
</parameter>
</config-description>
</bridge-type>
<bridge-type id="wmbusvirtualbridge">
<label>Virtual WMBus Receiver</label>
<description>The WMBus receiver which is not attached to serial port.</description>
<channels>
<channel id="last_frame" typeId="last_frame"/>
</channels>
<config-description>
<parameter name="dateFieldMode" type="text">
<description>Type of which date/time channels should be.</description>
<label>Date Field Mode</label>
<options>
<option value="FORMATTED_STRING">Formatted (string)</option>
<option value="UNIX_TIMESTAMP">Timestamp (int)</option>
<option value="DATE_TIME">Calendar (object) - Default</option>
</options>
<advanced>true</advanced>
<default>DATE_TIME</default>
</parameter>
<parameter name="encryptionKeys" type="text">
<description>Encryption Keys in form ID:KEY;ID:KEY all in hex format like given to the jMBus message printer test
program.</description>
<label>Encryption Keys</label>
<advanced>true</advanced>
</parameter>
<parameter name="deviceIDFilter" type="text">
<description>List of device IDs to filter during receive. If empty, all received devices will be handled, if at
least one ID is set, only messages from this device will be handled. Device ID in decumal format as shown in WMBus
message prints and given out by the jMBus message printer test program.</description>
<label>Device Filter</label>
<advanced>true</advanced>
</parameter>
</config-description>
</bridge-type>
<channel-type id="last_frame">
<item-type>String</item-type>
<label>Last frame</label>
<description>Raw representation of last frame received by device encoded in HEX form.</description>
<state readOnly="true">
</state>
</channel-type>
</thing:thing-descriptions>