|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<thing:thing-descriptions bindingId="zigbee2mqtt" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xmlns:thing="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0" |
| 5 | + xsi:schemaLocation="http://eclipse.org/smarthome/schemas/thing-description/v1.0.0 http://eclipse.org/smarthome/schemas/thing-description-1.0.0.xsd"> |
| 6 | + |
| 7 | + <channel-type id="temperature"> |
| 8 | + <item-type>Number</item-type> |
| 9 | + <label>Temperature</label> |
| 10 | + <category>Temperature</category> |
| 11 | + <state readOnly="true" pattern="%.2f °C" /> |
| 12 | + </channel-type> |
| 13 | + |
| 14 | + <channel-type id="illuminance"> |
| 15 | + <item-type>Number</item-type> |
| 16 | + <label>Illuminance</label> |
| 17 | + <category>Light</category> |
| 18 | + <state readOnly="true" /> |
| 19 | + </channel-type> |
| 20 | + |
| 21 | + <channel-type id="occupancy"> |
| 22 | + <item-type>Number</item-type> |
| 23 | + <label>Occupancy</label> |
| 24 | + <category>Light</category> |
| 25 | + <state readOnly="true" /> |
| 26 | + </channel-type> |
| 27 | + |
| 28 | + <channel-type id="humidity"> |
| 29 | + <item-type>Number</item-type> |
| 30 | + <label>Humidity</label> |
| 31 | + <category>Humidity</category> |
| 32 | + <state readOnly="true" pattern="%.2f %%" /> |
| 33 | + </channel-type> |
| 34 | + |
| 35 | + <channel-type id="pressure"> |
| 36 | + <item-type>Number</item-type> |
| 37 | + <label>Pressure</label> |
| 38 | + <category>Pressure</category> |
| 39 | + <state readOnly="true" /> |
| 40 | + </channel-type> |
| 41 | + |
| 42 | + <channel-type id="contact"> |
| 43 | + <item-type>Contact</item-type> |
| 44 | + <label>DoorWindow</label> |
| 45 | + <category>Contact</category> |
| 46 | + <state readOnly="true" /> |
| 47 | + </channel-type> |
| 48 | + |
| 49 | + <channel-type id="click"> |
| 50 | + <kind>trigger</kind> |
| 51 | + <label>Click Event</label> |
| 52 | + <description>Fires when the button is pressed, double, triple, quad pressed</description> |
| 53 | + <event> |
| 54 | + <options> |
| 55 | + <option value="PRESSED_SINGLE">single</option> |
| 56 | + <option value="PRESSED_DOUBLE">double</option> |
| 57 | + <option value="PRESSED_TRIPLE">triple</option> |
| 58 | + <option value="PRESSED_QUADRUPLE">quadruple</option> |
| 59 | + </options> |
| 60 | + </event> |
| 61 | + </channel-type> |
| 62 | + |
| 63 | + <channel-type id="action"> |
| 64 | + <kind>trigger</kind> |
| 65 | + <label>Click Event</label> |
| 66 | + <description>Fires when the cube is rotate, flip,fall</description> |
| 67 | + <event> |
| 68 | + <options> |
| 69 | + <option value="ACTION_FALL">fall</option> |
| 70 | + <option value="ACTIONFLIP90">flip90</option> |
| 71 | + <option value="ACTION_FLIP180">flip180</option> |
| 72 | + <option value="ACTIO_ROTATE_RIGHT">rotate_right</option> |
| 73 | + <option value="ACTIO_ROTATE_LEFT">rotate_left</option> |
| 74 | + </options> |
| 75 | + </event> |
| 76 | + </channel-type> |
| 77 | + |
| 78 | + <channel-type id="water_leak"> |
| 79 | + <item-type>Switch</item-type> |
| 80 | + <label>Flood</label> |
| 81 | + <category>Water</category> |
| 82 | + <state readOnly="true" /> |
| 83 | + </channel-type> |
| 84 | + |
| 85 | + <!-- Channel types without further information --> |
| 86 | + |
| 87 | + <channel-type id="battery"> |
| 88 | + <item-type>Number</item-type> |
| 89 | + <label>Battery</label> |
| 90 | + <category>Battery</category> |
| 91 | + <state readOnly="true" pattern="%.2f %%" /> |
| 92 | + </channel-type> |
| 93 | + |
| 94 | + <channel-type id="voltage"> |
| 95 | + <item-type>Number</item-type> |
| 96 | + <label>Voltage</label> |
| 97 | + <category>Voltage</category> |
| 98 | + <state readOnly="true" /> |
| 99 | + </channel-type> |
| 100 | + |
| 101 | + <channel-type id="linkquality"> |
| 102 | + <item-type>Number</item-type> |
| 103 | + <label>Linkquality</label> |
| 104 | + <category>linkquality</category> |
| 105 | + <state readOnly="true" /> |
| 106 | + </channel-type> |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + <!-- Special channel types --> |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | +</thing:thing-descriptions> |
0 commit comments