-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdriver.xml
283 lines (283 loc) · 7.34 KB
/
driver.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
276
277
278
279
280
281
282
283
<devicedata>
<version>1</version>
<manufacturer>Ecloud</manufacturer>
<model>Hitachi(2 way serial)</model>
<creator>Brustar</creator>
<name>Hitachi_Aircondition</name>
<small>devices_sm/C4.gif</small>
<large>devices_lg/C4.gif</large>
<control>lua_gen</control>
<controlmethod>serial</controlmethod>
<driver>DriverWorks</driver>
<copyright>Copyright 2004-2014 Ecloud Corporation. All rights reserved.</copyright>
<created>12/21/2016 11:14 PM</created>
<modified></modified>
<templatedescription>Base Template, used in all templates.</templatedescription>
<combo>True</combo>
<OnlineCategory>others</OnlineCategory>
<proxies qty="1">
<proxy>base_template</proxy>
</proxies>
<config>
<script file="driver.lua" encryption="2"></script>
<documentation file="documentation.rtf" />
<properties>
<property>
<name>Debug Mode</name>
<type>LIST</type>
<default>off</default>
<items>
<item>Off</item>
<item>Print</item>
<item>Log</item>
<item>Print and Log</item>
</items>
</property>
<property>
<name>Gateway</name>
<type>STRING</type>
<default>01</default>
</property>
<property>
<name>Addr</name>
<type>STRING</type>
<default>00 03</default>
</property>
<property>
<name>Server Status</name>
<type>STRING</type>
<default>ready to connect</default>
<readonly>true</readonly>
</property>
<property>
<name>Connect Category</name>
<type>LIST</type>
<default>TCP</default>
<items>
<item>TCP</item>
<item>Serial</item>
</items>
</property>
</properties>
<actions>
<action>
<name>Homeaway</name>
<command>away</command>
</action>
<action>
<name>On</name>
<command>on</command>
</action>
<action>
<name>Off</name>
<command>off</command>
</action>
<action>
<name>Cool</name>
<command>cool</command>
</action>
<action>
<name>Heat</name>
<command>heat</command>
</action>
<action>
<name>Fan</name>
<command>fan</command>
</action>
<action>
<name>Dry</name>
<command>dry</command>
</action>
<action>
<name>High</name>
<command>high</command>
</action>
<action>
<name>Middle</name>
<command>middle</command>
</action>
<action>
<name>Low</name>
<command>low</command>
</action>
<action>
<name>18℃</name>
<command>eighteen</command>
</action>
<action>
<name>22℃</name>
<command>twenty_two</command>
</action>
<action>
<name>26℃</name>
<command>twenty_six</command>
</action>
<action>
<name>30℃</name>
<command>thirty</command>
</action>
<action>
<name>Query</name>
<command>query</command>
</action>
<action>
<name>Connect</name>
<command>Connect</command>
</action>
<action>
<name>Disconnect</name>
<command>Disconnect</command>
</action>
<action>
<name>K1</name>
<command>K1</command>
</action>
<action>
<name>K2</name>
<command>K2</command>
</action>
<action>
<name>K3</name>
<command>K3</command>
</action>
<action>
<name>K4</name>
<command>K4</command>
</action>
<action>
<name>Fresh_ON</name>
<command>FRESH_ON</command>
</action>
<action>
<name>Fresh_OFF</name>
<command>FRESH_OFF</command>
</action>
<action>
<name>Fresh_HIGH</name>
<command>FRESH_HIGH</command>
</action>
<action>
<name>Fresh_MIDDLE</name>
<command>FRESH_MIDDLE</command>
</action>
<action>
<name>Fresh_LOW</name>
<command>FRESH_LOW</command>
</action>
<action>
<name>Fresh_WIND</name>
<command>FRESH_WIND</command>
</action>
<action>
<name>Fresh_READ</name>
<command>FRESH_READ</command>
</action>
</actions>
<power_management_method>AlwaysOn</power_management_method>
<power_delay>0</power_delay>
<power_command_delay>0</power_command_delay>
<power_command_needed>False</power_command_needed>
<commands>
<command>
<name>AWAY</name>
<description>power off all aircondition</description>
</command>
<command>
<name>ON</name>
<description>switch on the aircondition</description>
</command>
<command>
<name>OFF</name>
<description>switch off the aircondition</description>
</command>
<command>
<name>COOL</name>
<description>set to cool mode</description>
</command>
<command>
<name>HEAT</name>
<description>set to heat mode</description>
</command>
<command>
<name>FAN</name>
<description>set to fan mode</description>
</command>
<command>
<name>DRY</name>
<description>set to dry mode</description>
</command>
<command>
<name>HIGH</name>
<description>set wind to high speed</description>
</command>
<command>
<name>MIDDLE</name>
<description>set wind to middle speed</description>
</command>
<command>
<name>LOW</name>
<description>set wind to low speed</description>
</command>
<command>
<name>EIGHTEEN</name>
<description>set tempture to 18℃</description>
</command>
<command>
<name>TWENTY_TWO</name>
<description>set tempture to 22℃</description>
</command>
<command>
<name>TWENTY_SIX</name>
<description>set tempture to 26℃</description>
</command>
<command>
<name>THIRTY</name>
<description>set tempture to 30℃</description>
</command>
<command>
<name>QUERY</name>
<description>query all state of airconditions</description>
</command>
<command>
<name>FRESH_ON</name>
<description>set fresh air power on</description>
</command>
<command>
<name>FRESH_OFF</name>
<description>set fresh air power off</description>
</command>
<command>
<name>FRESH_HIGH</name>
<description>set fresh air to hight</description>
</command>
<command>
<name>FRESH_MIDDLE</name>
<description>set fresh air to middle</description>
</command>
<command>
<name>FRESH_LOW</name>
<description>set fresh air to low</description>
</command>
<command>
<name>FRESH_WIND</name>
<description>set fresh air to wind mode</description>
</command>
</commands>
<serialsettings>9600 8 none 1 none 485</serialsettings>
</config>
<capabilities />
<search_types />
<connections />
<events>
<event>
<id>1</id>
<name>key event</name>
<description></description>
</event>
<event>
<id>2</id>
<name>scene event</name>
<description></description>
</event>
</events>
</devicedata>