added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,239 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="lghombot"
|
||||
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">
|
||||
|
||||
<thing-type id="LGHomBot">
|
||||
<label>LG HomBot</label>
|
||||
<description>HomBot vacuum robot.</description>
|
||||
<category>CleaningRobot</category>
|
||||
|
||||
<channels>
|
||||
<channel id="state" typeId="stateType"/>
|
||||
<channel id="battery" typeId="batteryType"/>
|
||||
<channel id="cpuLoad" typeId="cpuLoadType"/>
|
||||
<channel id="srvMem" typeId="srvMemType"/>
|
||||
<channel id="clean" typeId="cleanType"/>
|
||||
<channel id="start" typeId="startType"/>
|
||||
<channel id="home" typeId="homeType"/>
|
||||
<channel id="pause" typeId="pauseType"/>
|
||||
<channel id="turbo" typeId="turboType"/>
|
||||
<channel id="repeat" typeId="repeatType"/>
|
||||
<channel id="mode" typeId="modeType"/>
|
||||
<channel id="nickname" typeId="nicknameType"/>
|
||||
<channel id="move" typeId="moveType"/>
|
||||
<channel id="camera" typeId="cameraType"/>
|
||||
<channel id="lastClean" typeId="lastCleanType"/>
|
||||
<channel id="map" typeId="mapType"/>
|
||||
<channel id="monday" typeId="mondayType"/>
|
||||
<channel id="tuesday" typeId="tuesdayType"/>
|
||||
<channel id="wednesday" typeId="wednesdayType"/>
|
||||
<channel id="thursday" typeId="thursdayType"/>
|
||||
<channel id="friday" typeId="fridayType"/>
|
||||
<channel id="saturday" typeId="saturdayType"/>
|
||||
<channel id="sunday" typeId="sundayType"/>
|
||||
</channels>
|
||||
|
||||
<properties>
|
||||
<property name="vendor">LG</property>
|
||||
<property name="modelId">HomBot</property>
|
||||
</properties>
|
||||
<representation-property>deviceId</representation-property>
|
||||
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Network Address</label>
|
||||
<description>The IP or host name of the HomBot.</description>
|
||||
<context>network-address</context>
|
||||
</parameter>
|
||||
<parameter name="port" type="integer" min="1000" max="65535">
|
||||
<label>Port</label>
|
||||
<description>Port of the HomBot to control.</description>
|
||||
<default>6260</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
<parameter name="pollingPeriod" type="integer" min="1" max="60" unit="s">
|
||||
<label>Polling Period</label>
|
||||
<description>Time between polls in seconds.</description>
|
||||
<default>3</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
</thing-type>
|
||||
|
||||
<channel-type id="stateType">
|
||||
<item-type>String</item-type>
|
||||
<label>State</label>
|
||||
<description>Current state.</description>
|
||||
<state pattern="%s" readOnly="true">
|
||||
<options>
|
||||
<option value="UNKNOWN">Unknown</option>
|
||||
<option value="WORKING">Cleaning</option>
|
||||
<option value="BACKMOVING">Backmoving</option>
|
||||
<option value="BACKMOVING_INIT">Backmoving init</option>
|
||||
<option value="BACKMOVING_JOY">Backmoving joy</option>
|
||||
<option value="PAUSE">Pause</option>
|
||||
<option value="STANDBY">Standby</option>
|
||||
<option value="HOMING">Homing</option>
|
||||
<option value="DOCKING">Docking</option>
|
||||
<option value="CHARGING">Charging</option>
|
||||
<option value="DIAGNOSIS">Running diagnosis</option>
|
||||
<option value="RESERVATION">Changing settings</option>
|
||||
<option value="ERROR">Error</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<channel-type id="batteryType">
|
||||
<item-type>Number</item-type>
|
||||
<label>Battery</label>
|
||||
<description>Current battery charge.</description>
|
||||
<category>BatteryLevel</category>
|
||||
<state pattern="%d%%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="cpuLoadType" advanced="true">
|
||||
<item-type>Number</item-type>
|
||||
<label>CPU Load</label>
|
||||
<description>Current CPU load.</description>
|
||||
<state pattern="%d%%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="srvMemType" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Used Memory</label>
|
||||
<description>Memory used by webserver on HomBot.</description>
|
||||
<state pattern="%s" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="cleanType">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Clean</label>
|
||||
<description>Start cleaning / return home.</description>
|
||||
<tags>
|
||||
<tag>Switchable</tag>
|
||||
</tags>
|
||||
</channel-type>
|
||||
<channel-type id="startType">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Start</label>
|
||||
<description>Start cleaning.</description>
|
||||
</channel-type>
|
||||
<channel-type id="homeType">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Home</label>
|
||||
<description>Return home.</description>
|
||||
</channel-type>
|
||||
<channel-type id="pauseType" advanced="true">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Pause</label>
|
||||
<description>Pause the HomBot.</description>
|
||||
</channel-type>
|
||||
<channel-type id="turboType">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Turbo</label>
|
||||
<description>Turbo mode ON, OFF.</description>
|
||||
</channel-type>
|
||||
<channel-type id="repeatType">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Repeat</label>
|
||||
<description>Repeat cleaning ON, OFF.</description>
|
||||
</channel-type>
|
||||
<channel-type id="modeType">
|
||||
<item-type>String</item-type>
|
||||
<label>Mode</label>
|
||||
<description>Cleaning mode.</description>
|
||||
<state>
|
||||
<options>
|
||||
<option value="ZZ">Zigzag mode</option>
|
||||
<option value="SB">Cell by cell mode</option>
|
||||
<option value="SPOT">Spiral spot mode</option>
|
||||
<option value="MACRO_SECTOR">My space mode</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<channel-type id="nicknameType">
|
||||
<item-type>String</item-type>
|
||||
<label>Nickname</label>
|
||||
<description>Nickname of the HomBot.</description>
|
||||
<state pattern="%s" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="moveType" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Move</label>
|
||||
<description>Move direction.</description>
|
||||
<category>MoveControl</category>
|
||||
<state>
|
||||
<options>
|
||||
<option value="FORWARD">Forward</option>
|
||||
<option value="FORWARD_LEFT">Forward left</option>
|
||||
<option value="FORWARD_RIGHT">Forward right</option>
|
||||
<option value="LEFT">Left</option>
|
||||
<option value="RIGHT">Right</option>
|
||||
<option value="BACKWARD">Backward</option>
|
||||
<option value="BACKWARD_LEFT">Backward left</option>
|
||||
<option value="BACKWARD_RIGHT">Backward right</option>
|
||||
<option value="RELEASE">Release</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
<channel-type id="cameraType">
|
||||
<item-type>Image</item-type>
|
||||
<label>Camera</label>
|
||||
<description>Image feed from the top camera.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="lastCleanType">
|
||||
<item-type>DateTime</item-type>
|
||||
<label>Last Clean</label>
|
||||
<description>Last time the HomBot cleaned.</description>
|
||||
<state pattern="%1$tF %1$tR" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="mapType" advanced="true">
|
||||
<item-type>Image</item-type>
|
||||
<label>Cleaning map</label>
|
||||
<description>Map of last cleaned area.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="mondayType" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Monday</label>
|
||||
<description>Scheduled start time on Monday.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="tuesdayType" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Tuesday</label>
|
||||
<description>Scheduled start time on Tuesday.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="wednesdayType" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Wednesday</label>
|
||||
<description>Scheduled start time on Wednesday.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="thursdayType" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Thursday</label>
|
||||
<description>Scheduled start time on Thursday.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="fridayType" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Friday</label>
|
||||
<description>Scheduled start time on Friday.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="saturdayType" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Saturday</label>
|
||||
<description>Scheduled start time on Saturday.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="sundayType" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Sunday</label>
|
||||
<description>Scheduled start time on Sunday.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user