1 <?xml version="1.0" encoding="UTF-8"?>
2 <thing:thing-descriptions bindingId="bmwconnecteddrive"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
5 xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
6 <channel-type id="doors-channel">
7 <item-type>String</item-type>
8 <label>Overall Door Status</label>
9 <state readOnly="true"/>
11 <channel-type id="windows-channel">
12 <item-type>String</item-type>
13 <label>Overall Window Status</label>
14 <state readOnly="true"/>
16 <channel-type id="lock-channel">
17 <item-type>String</item-type>
18 <label>Doors Locked</label>
19 <state readOnly="true"/>
21 <channel-type id="next-service-date-channel">
22 <item-type>DateTime</item-type>
23 <label>Next Service Date</label>
24 <state pattern="%1$tb %1$tY" readOnly="true"/>
26 <channel-type id="next-service-mileage-channel">
27 <item-type>Number:Length</item-type>
28 <label>Mileage Till Next Service</label>
29 <state pattern="%d %unit%" readOnly="true"/>
31 <channel-type id="check-control-channel">
32 <item-type>String</item-type>
33 <label>Check Control</label>
34 <state readOnly="true"/>
36 <channel-type id="charging-status-channel">
37 <item-type>String</item-type>
38 <label>Charging Status</label>
39 <state readOnly="true"/>
41 <channel-type id="plug-connection-channel">
42 <item-type>String</item-type>
43 <label>Plug Connection Status</label>
44 <state readOnly="true"/>
46 <channel-type id="charging-remaining-channel">
47 <item-type>Number:Time</item-type>
48 <label>Remaining Charging Time</label>
49 <state pattern="%d %unit%" readOnly="true"/>
51 <channel-type id="last-update-channel">
52 <item-type>DateTime</item-type>
53 <label>Last Status Timestamp</label>
54 <state pattern="%1$tA, %1$td.%1$tm. %1$tH:%1$tM" readOnly="true"/>
56 <channel-type id="last-update-reason-channel">
57 <item-type>String</item-type>
58 <label>Last Status Timestamp Reason</label>
60 </thing:thing-descriptions>