]> git.basschouten.com Git - openhab-addons.git/blob
0ee3ccb91824a07a64a443a96bdb91a1a4590e0d
[openhab-addons.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <thing:thing-descriptions bindingId="modbus"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
5         xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
6
7         <channel-type id="ac-total-current-type">
8                 <item-type>Number:ElectricCurrent</item-type>
9                 <label>AC Total Current Value</label>
10                 <state readOnly="true" pattern="%.1f %unit%"/>
11         </channel-type>
12
13         <channel-type id="ac-phase-current-type">
14                 <item-type>Number:ElectricCurrent</item-type>
15                 <label>AC Phase Current Value</label>
16                 <state readOnly="true" pattern="%.1f %unit%"/>
17         </channel-type>
18
19         <channel-type id="ac-voltage-to-next-type">
20                 <item-type>Number:ElectricPotential</item-type>
21                 <label>AC Voltage</label>
22                 <description>This phase's AC voltage relative to the next phase</description>
23                 <state readOnly="true" pattern="%.1f %unit%"/>
24         </channel-type>
25
26         <channel-type id="ac-voltage-to-n-type">
27                 <item-type>Number:ElectricPotential</item-type>
28                 <label>AC Voltage Phase To N Value</label>
29                 <description>This phase's AC voltage relative to N line</description>
30                 <state readOnly="true" pattern="%.1f %unit%"/>
31         </channel-type>
32
33         <channel-type id="ac-power-type">
34                 <item-type>Number:Power</item-type>
35                 <label>AC Power Value</label>
36                 <state readOnly="true" pattern="%d %unit%"/>
37         </channel-type>
38
39         <channel-type id="ac-frequency-type">
40                 <item-type>Number:Frequency</item-type>
41                 <label>AC Frequency Value</label>
42                 <state readOnly="true" pattern="%.1f %unit%"/>
43         </channel-type>
44
45         <channel-type id="ac-apparent-power-type" advanced="true">
46                 <item-type>Number:Power</item-type>
47                 <label>AC Apparent Power Value</label>
48                 <state readOnly="true" pattern="%d %unit%"/>
49         </channel-type>
50
51         <channel-type id="ac-reactive-power-type" advanced="true">
52                 <item-type>Number:Power</item-type>
53                 <label>AC Reactive Power Value</label>
54                 <state readOnly="true" pattern="%d %unit%"/>
55         </channel-type>
56
57         <channel-type id="ac-power-factor-type">
58                 <item-type>Number:Dimensionless</item-type>
59                 <label>AC Power Factor</label>
60                 <state readOnly="true" pattern="%.1f %unit%"/>
61         </channel-type>
62
63         <channel-type id="ac-lifetime-energy-type">
64                 <item-type>Number:Energy</item-type>
65                 <label>AC Lifetime Energy Production</label>
66                 <state readOnly="true" pattern="%d %unit%"/>
67         </channel-type>
68
69         <channel-type id="dc-current-type">
70                 <item-type>Number:ElectricCurrent</item-type>
71                 <label>DC Current Value</label>
72                 <state readOnly="true" pattern="%.1f %unit%"/>
73         </channel-type>
74
75         <channel-type id="dc-voltage-type">
76                 <item-type>Number:ElectricPotential</item-type>
77                 <label>DC Voltage Value</label>
78                 <state readOnly="true" pattern="%d %unit%"/>
79         </channel-type>
80
81         <channel-type id="dc-power-type">
82                 <item-type>Number:Power</item-type>
83                 <label>DC Power Value</label>
84                 <state readOnly="true" pattern="%d %unit%"/>
85         </channel-type>
86
87         <channel-type id="cabinet-temperature-type">
88                 <item-type>Number:Temperature</item-type>
89                 <label>Cabinet Temperature</label>
90                 <state readOnly="true" pattern="%.1f %unit%"/>
91         </channel-type>
92
93         <channel-type id="heatsink-temperature-type">
94                 <item-type>Number:Temperature</item-type>
95                 <label>Heat Sink Temperature</label>
96                 <state readOnly="true" pattern="%.1f %unit%"/>
97         </channel-type>
98
99         <channel-type id="transformer-temperature-type">
100                 <item-type>Number:Temperature</item-type>
101                 <label>Transformer Temperature</label>
102                 <state readOnly="true" pattern="%.1f %unit%"/>
103         </channel-type>
104
105         <channel-type id="other-temperature-type">
106                 <item-type>Number:Temperature</item-type>
107                 <label>Other Temperature</label>
108                 <state readOnly="true" pattern="%.1f %unit%"/>
109         </channel-type>
110
111         <channel-type id="status-type">
112                 <item-type>String</item-type>
113                 <label>Status</label>
114                 <description>Device status</description>
115                 <state readOnly="true">
116                         <options>
117                                 <option value="OFF">Off</option>
118                                 <option value="SLEEP">Sleeping / Night mode</option>
119                                 <option value="ON">On - producing power</option>
120                         </options>
121                 </state>
122         </channel-type>
123 </thing:thing-descriptions>