-
Notifications
You must be signed in to change notification settings - Fork 44
/
rf_rd.xml
230 lines (230 loc) · 11.2 KB
/
rf_rd.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
<?xml version="1.0" encoding="ISO-8859-1"?>
<device version="21" supports_aes="true" cyclic_timeout="88200">
<supported_types>
<type name="HomeMatic Rain detector" id="HM-Sen-RD-O" updatable="true" priority="2">
<parameter index="9.0" size="1.0" cond_op="GE" const_value="0x14" />
<parameter index="10.0" size="2.0" const_value="0x00a7" />
</type>
</supported_types>
<paramset type="MASTER" id="remote_dev_master">
<parameter id="TRANSMIT_DEV_TRY_MAX">
<logical type="integer" min="1.0" max="10.0" default="6.0" />
<physical type="integer" interface="config" list="0" index="20" size="1" />
</parameter>
<parameter id="LOCAL_RESET_DISABLE">
<logical type="boolean" default="false" />
<physical type="integer" interface="config" list="0" index="24" size="1" />
</parameter>
</paramset>
<frames>
<frame id="LEVEL_SET" direction="to_device" type="0x11" subtype="0x02" subtype_index="9" channel_field="10">
<parameter type="integer" index="11.0" size="1.0" param="STATE" />
<parameter type="integer" index="12.0" size="2.0" const_value="0" />
<parameter type="integer" index="14.0" size="2.0" PARAM="ON_TIME" omit_if="0" />
</frame>
<frame id="EVENT" direction="from_device" allowed_receivers="BROADCAST,CENTRAL,OTHER" event="true" type="0x41"
channel_field="9:0.6">
<parameter type="integer" index="11.0" size="1.0" param="STATE" />
</frame>
<frame id="INFO_LEVEL" direction="from_device" allowed_receivers="BROADCAST,CENTRAL,OTHER" event="true" type="0x10"
subtype="6" subtype_index="9" channel_field="10">
<parameter type="integer" index="11.0" size="1.0" param="STATE" />
</frame>
<frame id="ACK_STATUS" direction="from_device" allowed_receivers="BROADCAST,CENTRAL,OTHER" event="true" type="0x02"
subtype="1" subtype_index="9" channel_field="10">
<parameter type="integer" index="11.0" size="1.0" param="STATE" />
</frame>
</frames>
<channels>
<channel index="0" type="MAINTENANCE" ui_flags="internal" class="maintenance" count="1">
<paramset type="MASTER" id="maint_ch_master" />
<paramset type="VALUES" id="maint_ch_values">
<parameter id="UNREACH" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="UNREACH" />
</parameter>
<parameter id="STICKY_UNREACH" operations="read,write,event" ui_flags="service,sticky">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="STICKY_UNREACH" />
</parameter>
<parameter id="CONFIG_PENDING" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="CONFIG_PENDING" />
</parameter>
<parameter id="AES_KEY" operations="read" ui_flags="invisible">
<logical type="integer" min="0" max="127" />
<physical type="integer" interface="internal" value_id="AES_KEY" />
</parameter>
<parameter id="RSSI_DEVICE" operations="read,event">
<logical type="integer" />
<physical type="integer" interface="internal" value_id="RSSI_DEVICE" />
</parameter>
<parameter id="RSSI_PEER" operations="read,event">
<logical type="integer" />
<physical type="integer" interface="internal" value_id="RSSI_PEER" />
</parameter>
<parameter id="DEVICE_IN_BOOTLOADER" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="DEVICE_IN_BOOTLOADER" />
</parameter>
<parameter id="UPDATE_PENDING" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="UPDATE_PENDING" />
</parameter>
</paramset>
</channel>
<channel autoregister="true" index="1" type="RAINDETECTOR" count="1">
<link_roles>
<source name="SWITCH" />
<source name="KEYMATIC" />
<source name="WINMATIC" />
</link_roles>
<paramset type="MASTER" id="rd_ch_master">
<parameter id="AES_ACTIVE" ui_flags="internal">
<logical type="boolean" default="false" />
<physical type="boolean" interface="internal" value_id="AES" />
</parameter>
<parameter id="EVENT_FILTERTIME">
<logical type="float" min="1.0" max="7620.0" unit="s" default="0.0" />
<physical type="integer" interface="config" list="1" index="35" size="1" />
<conversion type="float_configtime" factors="1,60" value_size="0.7" />
</parameter>
<parameter id="STATE_HIGH_HOLD_TIME">
<logical type="float" min="60.0" max="7620.0" unit="s" default="300.0" />
<physical type="integer" interface="config" list="1" index="143" size="1" />
<conversion type="float_configtime" factors="1,60" value_size="0.7" />
</parameter>
<parameter id="EVENT_RELEASE_FILTER_TIME">
<logical type="float" min="1.0" max="7620.0" unit="s" default="120.0" />
<physical type="integer" interface="config" list="1" index="145" size="1" />
<conversion type="float_configtime" factors="1,60" value_size="0.7" />
</parameter>
<parameter id="TRANSMIT_TRY_MAX">
<logical type="integer" min="1.0" max="10.0" default="6.0" />
<physical type="integer" interface="config" list="1" index="48" size="1" />
</parameter>
<parameter id="COND_TX_THRESHOLD_HI">
<logical type="integer" min="0" max="3000" unit="mV" default="2900" />
<physical type="integer" interface="config" list="1" index="135" size="2.0" />
</parameter>
<parameter id="COND_TX_THRESHOLD_LO">
<logical type="integer" min="0" max="3000" unit="mV" default="2850" />
<physical type="integer" interface="config" list="1" index="139" size="2.0" />
</parameter>
</paramset>
<paramset type="VALUES" id="rd_ch_values">
<parameter id="STATE" operations="read,event">
<logical type="option">
<option id="DRY" />
<option id="RAIN" />
</logical>
<physical type="integer" interface="command" value_id="STATE">
<event frame="EVENT" auth_violate_policy="reject" />
<event frame="INFO_LEVEL" auth_violate_policy="reject" />
<event frame="ACK_STATUS" auth_violate_policy="reject" />
</physical>
<conversion type="option_integer">
<value_map device_value="0" parameter_value="0" />
<value_map device_value="200" parameter_value="1" />
</conversion>
</parameter>
<parameter id="INSTALL_TEST" operations="event" ui_flags="internal">
<logical type="action" />
<physical type="integer" interface="command">
<event frame="EVENT" />
</physical>
</parameter>
</paramset>
<paramset type="LINK" id="rd_ch_link">
<parameter id="PEER_NEEDS_BURST">
<logical type="boolean" default="false" />
<physical type="integer" interface="config" list="4" index="1.0" size="0.1" />
</parameter>
<parameter id="EXPECT_AES">
<logical type="boolean" default="false" />
<physical type="integer" interface="config" list="4" index="1.7" size="0.1" />
</parameter>
<enforce id="EXPECT_AES" value="$PEER.AES" />
</paramset>
<enforce_link>
<value id="LONG_ACTION_TYPE" value="0" />
<value id="SHORT_CT_RAMPOFF" value="0" />
<value id="SHORT_CT_RAMPON" value="2" />
<value id="SHORT_CT_OFFDELAY" value="0" />
<value id="SHORT_CT_ONDELAY" value="2" />
<value id="SHORT_CT_OFF" value="0" />
<value id="SHORT_CT_ON" value="2" />
<value id="SHORT_COND_VALUE_LO" value="50" />
<value id="SHORT_COND_VALUE_HI" value="180" />
<value id="SHORT_ACTION_TYPE" value="1" />
<value id="SHORT_JT_OFF" value="1" />
<value id="SHORT_JT_ON" value="3" />
<value id="SHORT_JT_OFFDELAY" value="3" />
<value id="SHORT_JT_ONDELAY" value="1" />
<value id="SHORT_JT_RAMPOFF" value="3" />
<value id="SHORT_JT_RAMPON" value="3" />
</enforce_link>
</channel>
<channel autoregister="true" index="2" type="RAINDETECTOR_HEAT" count="1">
<link_roles>
<target name="SWITCH" />
<target name="WEATHER_CS" />
</link_roles>
<paramset type="VALUES" id="switch_ch_values">
<subset ref="switch_valueset" />
</paramset>
</channel>
</channels>
<paramset_defs>
<paramset id="switch_valueset">
<parameter id="STATE" operations="read,write,event" control="SWITCH.STATE">
<logical type="boolean" default="false" />
<physical type="integer" interface="command" value_id="STATE">
<set request="LEVEL_SET" />
<get request="LEVEL_GET" response="INFO_LEVEL" process_as_event="true" />
<event frame="INFO_LEVEL" auth_violate_policy="get" />
<event frame="ACK_STATUS" auth_violate_policy="get" />
<event frame="INFO_POWERON" auth_violate_policy="get" />
<reset_after_send param="ON_TIME" />
</physical>
<conversion type="boolean_integer" threshold="1" false="0" true="200" />
</parameter>
<parameter id="ON_TIME" operations="write" control="NONE">
<logical type="float" min="0.0" max="85825945.6" default="0.0" unit="s" />
<physical type="integer" interface="store" id="ON_TIME" volatile="true" />
<conversion type="float_integer_scale" factor="10" />
<conversion type="integer_tinyfloat" mantissa_start="5" mantissa_size="11" exponent_start="0"
exponent_size="5" />
</parameter>
<parameter id="INHIBIT" operations="read,write,event" control="NONE" loopback="true">
<logical type="boolean" />
<physical type="integer" interface="command" value_id="INHIBIT">
<set request="SET_LOCK" />
</physical>
</parameter>
<parameter id="WORKING" operations="read,event" ui_flags="internal">
<logical type="boolean" default="false" />
<physical type="integer" interface="command" value_id="STATE_FLAGS">
<get request="LEVEL_GET" response="INFO_LEVEL" process_as_event="true" />
<event frame="INFO_LEVEL" />
<event frame="ACK_STATUS" />
<event frame="INFO_POWERON" />
</physical>
<conversion type="boolean_integer" />
</parameter>
<parameter id="INSTALL_TEST" operations="write" ui_flags="internal">
<logical type="action" />
<physical type="integer" interface="command" value_id="TOGGLE_FLAG" no_init="true">
<set request="TOGGLE_INSTALL_TEST" />
</physical>
<conversion type="toggle" value="STATE" />
</parameter>
</paramset>
<paramset id="switch_paramset">
<parameter id="AES_ACTIVE" ui_flags="internal">
<logical type="boolean" default="false" />
<physical type="boolean" interface="internal" value_id="AES" />
</parameter>
</paramset>
</paramset_defs>
</device>