This repository has been archived by the owner on May 7, 2020. It is now read-only.
/
color-thing.xml
53 lines (53 loc) · 2.41 KB
/
color-thing.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
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="dmx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:thing="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0" xsi:schemaLocation="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0 http://eclipse.org/smarthome/schemas/thing-description-1.0.0.xsd">
<!-- Dimmer -->
<thing-type id="color">
<supported-bridge-type-refs>
<bridge-type-ref id="artnet-bridge" />
<bridge-type-ref id="lib485-bridge" />
<bridge-type-ref id="sacn-bridge" />
</supported-bridge-type-refs>
<label>DMX Color (RGB) Dimmer</label>
<description>A RGB capable dimmer</description>
<channels>
<channel id="brightness_r" typeId="brightness" />
<channel id="brightness_g" typeId="brightness" />
<channel id="brightness_b" typeId="brightness" />
<channel id="color" typeId="color" />
</channels>
<config-description>
<parameter name="dmxid" type="text">
<label>DMX channel configuration</label>
<description>Format is channel[,channel, ...] or channel[/width], has to be multiple of three</description>
<required>true</required>
</parameter>
<parameter name="fadetime" type="integer" min="0">
<label>Fade time</label>
<description>Fade time in ms for changing values</description>
<default>0</default>
</parameter>
<parameter name="dimtime" type="integer" min="0">
<label>Dim time</label>
<description>Time in ms for dimming from 0-100%</description>
<default>0</default>
</parameter>
<parameter name="turnonvalue" type="text">
<label>Turn-On value(s)</label>
<description>Format is "value[, value, ...]". If less values than channels are defined, they are reused from the beginning. </description>
<required>false</required>
<advanced>true</advanced>
</parameter>
<parameter name="turnoffvalue" type="text">
<label>Turn-Off value(s)</label>
<description>Format is "value[, value, ...]". If less values than channels are defined, they are reused from the beginning. </description>
<advanced>true</advanced>
</parameter>
<parameter name="dynamicturnonvalue" type="boolean">
<label>Dynamic Turn-On Value</label>
<description>If enabled, values are stored on OFF command and restored on ON command</description>
<required>false</required>
<default>false</default>
</parameter>
</config-description>
</thing-type>
</thing:thing-descriptions>