-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMiMotion.xml
More file actions
110 lines (109 loc) · 3.73 KB
/
MiMotion.xml
File metadata and controls
110 lines (109 loc) · 3.73 KB
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
<!--
* Homegear Xiaomi Smarthome for Homegear with PHP 7.4
* (c) Frank Motzkau 2020
*-->
<homegearDevice version="1">
<supportedDevices>
<device id="MiMotion">
<description>Xiaomi Smart Home Motion Sensor - homegear interface</description>
<typeNumber>0x287b</typeNumber>
</device>
</supportedDevices>
<runProgram>
</runProgram>
<properties/>
<functions>
<function channel="0" type="SETTINGS" channelCount="1">
<properties/>
<configParameters>custom_ch0_master</configParameters>
<variables>custom_ch0_values</variables>
</function>
<function channel="1" type="MOTION" channelCount="1">
<properties/>
<configParameters>config</configParameters>
<variables>custom_ch1_motion</variables>
</function>
</functions>
<packets/>
<parameterGroups>
<configParameters id="config"/>
<configParameters id="custom_ch0_master">
<parameter id="SID">
<properties>
<unit></unit>
<casts>
<rpcBinary/>
</casts>
</properties>
<logicalString>
<defaultValue></defaultValue>
</logicalString>
<physicalString>
<operationType>config</operationType>
</physicalString>
</parameter>
</configParameters>
<variables id="custom_ch0_values">
<parameter id="HEARTBEAT">
<properties>
<writeable>true</writeable>
<addonWriteable>true</addonWriteable>
<unit></unit>
<casts>
<rpcBinary/>
</casts>
</properties>
<logicalDecimal/>
<physicalInteger>
<operationType>store</operationType>
</physicalInteger>
</parameter>
<parameter id="VOLTAGE">
<properties>
<writeable>true</writeable>
<addonWriteable>true</addonWriteable>
<unit>mV</unit>
<casts>
<rpcBinary/>
</casts>
</properties>
<logicalInteger/>
<physicalInteger>
<operationType>store</operationType>
</physicalInteger>
</parameter>
<parameter id="LOWBAT">
<properties>
<service>true</service>
<writeable>true</writeable>
<addonWriteable>true</addonWriteable>
<unit></unit>
<casts>
<rpcBinary/>
</casts>
</properties>
<logicalBoolean/>
<physicalNone>
<operationType>store</operationType>
</physicalNone>
</parameter>
</variables>
<variables id="custom_ch1_motion">
<parameter id="MOTION">
<properties>
<writeable>true</writeable>
<addonWriteable>true</addonWriteable>
<unit></unit>
<casts>
<rpcBinary/>
</casts>
</properties>
<logicalAction>
</logicalAction>
<physicalInteger>
<operationType>store</operationType>
</physicalInteger>
</parameter>
</variables>
</parameterGroups>
</homegearDevice>