forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 1
/
serial.xml
68 lines (65 loc) · 3.18 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
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="oceanic"
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="serial">
<label>Oceanic Water Softener</label>
<description>Oceanic Water Softener connected through a serial port</description>
<channels>
<channel id="alarm" typeId="alarm"/>
<channel id="alert" typeId="alert"/>
<channel id="totalflow" typeId="flow"/>
<channel id="reserve" typeId="reserve"/>
<channel id="cycle" typeId="cycle"/>
<channel id="endofcycle" typeId="time"/>
<channel id="endofregeneration" typeId="time"/>
<channel id="hardnessunit" typeId="unit"/>
<channel id="inlethardness" typeId="hardness"/>
<channel id="outlethardness" typeId="hardness"/>
<channel id="cylinderstate" typeId="cylinderstate"/>
<channel id="salt" typeId="salt"/>
<channel id="regeneratenow" typeId="regeneratenow"/>
<channel id="regeneratelater" typeId="regeneratelater"/>
<channel id="multiregenerate" typeId="multiregenerate"/>
<channel id="consumptionmonday" typeId="consumption"/>
<channel id="consumptiontuesday" typeId="consumption"/>
<channel id="consumptionwednesday" typeId="consumption"/>
<channel id="consumptionthursday" typeId="consumption"/>
<channel id="consumptionfriday" typeId="consumption"/>
<channel id="consumptionsaturday" typeId="consumption"/>
<channel id="consumptionsunday" typeId="consumption"/>
<channel id="consumptiontoday" typeId="consumption"/>
<channel id="consumptionyesterday" typeId="consumption"/>
<channel id="consumptioncurrentweek" typeId="consumption"/>
<channel id="consumptionlastweek" typeId="consumption"/>
<channel id="consumptioncurrentmonth" typeId="consumption"/>
<channel id="consumptionlastmonth" typeId="consumption"/>
<channel id="consumptioncomplete" typeId="consumption"/>
<channel id="consumptionuntreated" typeId="consumption"/>
<channel id="consumptionpeaklevel" typeId="consumption"/>
<channel id="pressure" typeId="pressure"/>
<channel id="maxpressure" typeId="pressure"/>
<channel id="minpressure" typeId="pressure"/>
<channel id="maxflow" typeId="flow"/>
<channel id="lastgeneration" typeId="time"/>
<channel id="normalregenerations" typeId="number"/>
<channel id="serviceregenerations" typeId="number"/>
<channel id="incompleteregenerations" typeId="number"/>
<channel id="allregenerations" typeId="number"/>
</channels>
<config-description>
<parameter name="port" type="text" required="true">
<label>Serial Port</label>
<context>serial-port</context>
<limitToOptions>false</limitToOptions>
<description>Serial Port the Oceanic Water Softener is connected to</description>
</parameter>
<parameter name="interval" type="decimal" required="true">
<label>Polling Interval</label>
<description>Interval in seconds to poll the Oceanic Water Softener for status updates</description>
<default>60</default>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>