forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 7
/
devices.xml
116 lines (104 loc) · 3.69 KB
/
devices.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
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="tellstick"
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">
<!-- Tellstick Dimmer -->
<thing-type id="dimmer">
<supported-bridge-type-refs>
<bridge-type-ref id="telldus-core" />
<bridge-type-ref id="telldus-live" />
</supported-bridge-type-refs>
<label>Dimmable Device</label>
<description>This is a Dimmable device</description>
<channels>
<channel id="dimmer" typeId="dimmer" />
<channel id="state" typeId="state" />
<channel id="timestamp" typeId="timestamp" />
</channels>
<config-description>
<parameter name="protocol" type="text" required="false">
<label>Protocol</label>
<description>The protocol used by a specific device.</description>
<required>false</required>
</parameter>
<parameter name="name" type="text">
<label>Name</label>
<description>The name of the device</description>
<required>false</required>
</parameter>
<parameter name="deviceId" type="text">
<label>DeviceID</label>
<description>This is the unique id of a device.</description>
<required>true</required>
</parameter>
<parameter name="model" type="text">
<label>Model</label>
<description>The model used by a specific device.</description>
<required>false</required>
</parameter>
<parameter name="repeat" type="integer">
<label>Repeat</label>
<description>The number of times to resend.</description>
<required>false</required>
<default>2</default>
</parameter>
</config-description>
</thing-type>
<thing-type id="switch">
<supported-bridge-type-refs>
<bridge-type-ref id="telldus-core" />
</supported-bridge-type-refs>
<label>On/Off Device</label>
<description>This Thing defines a Switch Device</description>
<channels>
<channel id="state" typeId="state" />
<channel id="timestamp" typeId="timestamp" />
</channels>
<config-description>
<parameter name="protocol" type="text">
<label>Protocol</label>
<description>The protocol used by a specific device.</description>
<required>false</required>
</parameter>
<parameter name="name" type="text">
<label>Name</label>
<description>The name of the device</description>
<required>false</required>
</parameter>
<parameter name="deviceId" type="text">
<label>DeviceID</label>
<description>This is the unique id of a device.</description>
<required>true</required>
</parameter>
<parameter name="repeat" type="integer">
<label>Repeat</label>
<description>The number of times to resend.</description>
<required>false</required>
<default>2</default>
</parameter>
<parameter name="dimmer" type="boolean">
<label>Dimmer</label>
<description>Is this a dimmer without absolute setting (e.g. you press on to start dim and then on again to stop it).</description>
<required>false</required>
<default>false</default>
</parameter>
</config-description>
</thing-type>
<channel-type id="dimmer">
<item-type>Dimmer</item-type>
<label>Dimmer Value</label>
<description>The channel to control the dimmer</description>
</channel-type>
<channel-type id="state">
<item-type>Switch</item-type>
<label>Switch</label>
<description>Turns the power on or off</description>
<category>Switch</category>
</channel-type>
<channel-type id="timestamp">
<item-type>DateTime</item-type>
<label>Last Device Update</label>
<description>Last device update</description>
</channel-type>
</thing:thing-descriptions>