forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rme.xml
96 lines (88 loc) · 3.2 KB
/
rme.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
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="rme" 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">
<thing-type id="manager">
<label>RME Rain Manager</label>
<description>The RME Rain Manager is a controllable water supply unit that can monitor a gauge in a cistern, and
switch between rain water and city provided water</description>
<channels>
<channel id="waterlevel" typeId="waterlevel"/>
<channel id="mode" typeId="mode"/>
<channel id="source" typeId="source"/>
<channel id="exitpump" typeId="statusflag">
<label>Exit Pump Active</label>
</channel>
<channel id="entrypump" typeId="statusflag">
<label>Entry Pump Active</label>
</channel>
<channel id="waterexchange" typeId="statusflag">
<label>Water Exchange Active</label>
</channel>
<channel id="cisternsupplyalarm" typeId="statusflag">
<label>Cistern Supply Alarm</label>
</channel>
<channel id="overflowalarm" typeId="statusflag">
<label>Overflow Alarm</label>
</channel>
<channel id="cisternblockedalarm" typeId="statusflag">
<label>Cistern Blocked Alarm</label>
</channel>
<channel id="filtercleaning" typeId="statusflag">
<label>Filter Cleaning Required</label>
</channel>
</channels>
<config-description>
<parameter name="port" type="text">
<label>Serial Port</label>
<context>serial-port</context>
<limitToOptions>false</limitToOptions>
<description>Serial Port the RME Rain Manager is connected to</description>
<required>true</required>
</parameter>
</config-description>
</thing-type>
<!-- Water Level Channel Type -->
<channel-type id="waterlevel">
<item-type>Number</item-type>
<label>Water Level</label>
<description>Indicates the % the cistern is filled with water</description>
<state readOnly="true" pattern="%.1f %%"/>
</channel-type>
<!-- Operation Mode Channel Type -->
<channel-type id="mode">
<item-type>String</item-type>
<label>Operation Mode</label>
<description>Indicates the operation mode of the RME Rain Manager</description>
<state readOnly="true">
<options>
<option value="Automatic">Automatic</option>
<option value="Manual">Manual</option>
</options>
</state>
</channel-type>
<!-- Operation Mode Channel Type -->
<channel-type id="source">
<item-type>String</item-type>
<label>Water Source</label>
<description>Indicates water source used to supply water, e.g cistern or city</description>
<state readOnly="true">
<options>
<option value="Rain">Rain</option>
<option value="City">City</option>
</options>
</state>
</channel-type>
<!-- Status Flag Channel Type -->
<channel-type id="statusflag" advanced="true">
<item-type>Switch</item-type>
<label>Status Flag</label>
<description>Status Flag of an RME operational parameter, e.g ON if set, OFF if unset</description>
<state readOnly="true">
<options>
<option value="ON">ON</option>
<option value="OFF">OFF</option>
</options>
</state>
</channel-type>
</thing:thing-descriptions>