/
thing-types.xml
275 lines (267 loc) · 9.26 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="honeywellhome"
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="account">
<label>Honeywell Home Account Binding Thing</label>
<description>Sample thing for Honeywell Home Account Binding</description>
<config-description>
<parameter name="consumerKey" type="text" required="true">
<label>Consumer Key</label>
<description>Consumer Key</description>
</parameter>
<parameter name="consumerSecret" type="text" required="true">
<context>password</context>
<label>Consumer Secret</label>
<description>Consumer Secret</description>
</parameter>
<parameter name="token" type="text" required="true">
<context>password</context>
<label>Token</label>
<description>Token</description>
</parameter>
<parameter name="refreshToken" type="text" required="true">
<context>password</context>
<label>Refresh Token</label>
<description>Refresh Token</description>
</parameter>
</config-description>
</bridge-type>
<thing-type id="thermostat">
<supported-bridge-type-refs>
<bridge-type-ref id="honeywellhomeaccount"/>
</supported-bridge-type-refs>
<label>Honeywell Home Thermostat Binding Thing</label>
<description>Sample thing for Honeywell Home Thermostat Binding</description>
<channels>
<channel id="coolSetPoint" typeId="coolSetPoint"/>
<channel id="heatSetpoint" typeId="heatSetpoint"/>
<channel id="thermostatSetpointStatus" typeId="thermostatSetpointStatus"/>
<channel id="heatCoolMode" typeId="heatCoolMode"/>
<channel id="mode" typeId="mode"/>
<channel id="fanStatus" typeId="fanStatus"/>
<channel id="displayedOutdoorHumidity" typeId="displayedOutdoorHumidity"/>
<channel id="userDefinedDeviceName" typeId="userDefinedDeviceName"/>
<channel id="name" typeId="name"/>
<channel id="isAlive" typeId="isAlive"/>
<channel id="units" typeId="units"/>
<channel id="indoorTemperature" typeId="indoorTemperature"/>
<channel id="outdoorTemperature" typeId="outdoorTemperature"/>
<channel id="currentScheduleDay" typeId="currentScheduleDay"/>
<channel id="currentSchedulePeriod" typeId="currentSchedulePeriod"/>
</channels>
<config-description>
<parameter name="locationId" type="text" required="true">
<label>Location Id</label>
<description>Location Id</description>
</parameter>
<parameter name="deviceId" type="text" required="true">
<label>Device Id</label>
<description>Device Id</description>
</parameter>
<parameter name="refreshInterval" type="integer" unit="s" min="1">
<label>Refresh Interval In Seconds</label>
<description>Interval the device is polled in sec.</description>
<default>20</default>
<advanced>true</advanced>
</parameter>
</config-description>
</thing-type>
<channel-type id="coolSetPoint">
<item-type>Number:Temperature</item-type>
<label>Cool Set Point</label>
<description>Cool Set Point for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="heatSetpoint">
<item-type>Number:Temperature</item-type>
<label>Heat Set Point</label>
<description>Heat Set Point for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="thermostatSetpointStatus">
<item-type>String</item-type>
<label>Current Thermostat Setpoint Status</label>
<description>Current Thermostat Setpoint Status for Honeywell Home Thermostat Binding</description>
<state readOnly="false" pattern="%s">
<options>
<option value="PermanentHold">Permanent Hold</option>
</options>
</state>
</channel-type>
<channel-type id="heatCoolMode">
<item-type>String</item-type>
<label>Heat/Cool Mode</label>
<description>Heat/Cool Mode for Honeywell Home Thermostat Binding</description>
<state readOnly="true" pattern="%s">
<options>
<option value="Off">Off</option>
<option value="Cool">Cool</option>
<option value="Heat">Heat</option>
</options>
</state>
</channel-type>
<channel-type id="mode">
<item-type>String</item-type>
<label>Mode</label>
<description>Mode for Honeywell Home Thermostat Binding</description>
<state readOnly="false" pattern="%s">
<options>
<option value="Off">Off</option>
<option value="Cool">Cool</option>
<option value="Heat">Heat</option>
</options>
</state>
</channel-type>
<channel-type id="fanStatus">
<item-type>String</item-type>
<label>Fan Status</label>
<description>Fan Status for Honeywell Home Thermostat Binding</description>
<state readOnly="false" pattern="%s">
<options>
<option value="On">On</option>
<option value="Auto">Auto</option>
<option value="Circulate">Circulate</option>
</options>
</state>
</channel-type>
<channel-type id="displayedOutdoorHumidity">
<item-type>Number:Humidity</item-type>
<label>Displayed Outdoor Humidity</label>
<description>Displayed Outdoor Humidity for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="userDefinedDeviceName">
<item-type>String</item-type>
<label>User Defined Device Name</label>
<description>User Defined Device Name for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="name">
<item-type>String</item-type>
<label>Name</label>
<description>Name for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="isAlive">
<item-type>String</item-type>
<label>Is Alive</label>
<description>Is Alive for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="units">
<item-type>String</item-type>
<label>Temperature Units</label>
<description>Temperature Units for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="indoorTemperature">
<item-type>Number:Temperature</item-type>
<label>Indoor Temperature</label>
<description>Indoor Temperature Set Point for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="outdoorTemperature">
<item-type>Number:Temperature</item-type>
<label>Outdoor Temperature Temperature</label>
<description>Outdoor Temperature Set Point for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="currentScheduleDay">
<item-type>String</item-type>
<label>Current Schedule Day</label>
<description>Current Schedule Day for Honeywell Home Thermostat Binding</description>
</channel-type>
<channel-type id="currentSchedulePeriod">
<item-type>String</item-type>
<label>Current Schedule Period</label>
<description>Current Schedule Period for Honeywell Home Thermostat Binding</description>
</channel-type>
<!-- todo add channels to all thermostat data-->
<!-- {-->
<!-- "displayedOutdoorHumidity": 70,-->
<!-- "vacationHold": {-->
<!-- "enabled": false-->
<!-- },-->
<!-- "currentSchedulePeriod": {-->
<!-- "day": "Monday",-->
<!-- "period": "Home"-->
<!-- },-->
<!-- "scheduleCapabilities": {-->
<!-- "availableScheduleTypes": [-->
<!-- "None",-->
<!-- "Geofenced",-->
<!-- "TimedNorthAmerica"-->
<!-- ],-->
<!-- "schedulableFan": false-->
<!-- },-->
<!-- "scheduleType": {-->
<!-- "scheduleType": "Timed",-->
<!-- "scheduleSubType": "NA"-->
<!-- },-->
<!-- "changeSource": {-->
<!-- "by": "partner",-->
<!-- "name": "openhab"-->
<!-- },-->
<!-- "scheduleStatus": "Pause",-->
<!-- "allowedTimeIncrements": 15,-->
<!-- "settings": {-->
<!-- "hardwareSettings": {-->
<!-- "brightness": 1,-->
<!-- "maxBrightness": 5-->
<!-- },-->
<!-- "fan": {-->
<!-- "allowedModes": [-->
<!-- "On",-->
<!-- "Auto",-->
<!-- "Circulate"-->
<!-- ],-->
<!-- "changeableValues": {-->
<!-- "mode": "Auto"-->
<!-- }-->
<!-- },-->
<!-- "temperatureMode": {-->
<!-- "air": true-->
<!-- },-->
<!-- "specialMode": {},-->
<!-- "devicePairingEnabled": true-->
<!-- },-->
<!-- "deviceOsVersion": "RCHT8612WF2005",-->
<!-- "deviceClass": "Thermostat",-->
<!-- "deviceType": "Thermostat",-->
<!-- "deviceID": "LCC-B82CA02CE73E",-->
<!-- "deviceInternalID": 5284605,-->
<!-- "userDefinedDeviceName": "My Thermostat",-->
<!-- "name": "My Thermostat",-->
<!-- "isAlive": true,-->
<!-- "isUpgrading": false,-->
<!-- "isProvisioned": true,-->
<!-- "macID": "B82CA02CE73E",-->
<!-- "deviceSettings": {},-->
<!-- "service": {-->
<!-- "mode": "Up"-->
<!-- },-->
<!-- "deviceRegistrationDate": "2023-06-15T15:44:11.83",-->
<!-- "dataSyncStatus": "Completed",-->
<!-- "deviceSerialNo": "1848LBJ08321",-->
<!-- "units": "Fahrenheit",-->
<!-- "indoorTemperature": 78,-->
<!-- "outdoorTemperature": 68.5,-->
<!-- "allowedModes": [-->
<!-- "Heat",-->
<!-- "Off",-->
<!-- "Cool"-->
<!-- ],-->
<!-- "deadband": 0,-->
<!-- "hasDualSetpointStatus": false,-->
<!-- "minHeatSetpoint": 50,-->
<!-- "maxHeatSetpoint": 90,-->
<!-- "minCoolSetpoint": 50,-->
<!-- "maxCoolSetpoint": 90,-->
<!-- "changeableValues": {-->
<!-- "mode": "Off",-->
<!-- "heatSetpoint": 62,-->
<!-- "coolSetpoint": 80,-->
<!-- "thermostatSetpointStatus": "PermanentHold",-->
<!-- "heatCoolMode": "Cool"-->
<!-- },-->
<!-- "operationStatus": {-->
<!-- "mode": "EquipmentOff",-->
<!-- "fanRequest": false,-->
<!-- "circulationFanRequest": false-->
<!-- },-->
<!-- "deviceModel": "T5-T6"-->
<!-- }-->
</thing:thing-descriptions>