added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<binding:binding id="lghombot" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/binding/v1.0.0 https://openhab.org/schemas/binding-1.0.0.xsd">
|
||||
|
||||
<name>LG HomBot Binding</name>
|
||||
<description>The LG HomBot binding allows control and supervision of your HomBot.</description>
|
||||
<author>Fredrik Ahlström</author>
|
||||
|
||||
</binding:binding>
|
||||
@@ -0,0 +1,85 @@
|
||||
# binding
|
||||
binding.lghombot.name = LG HomBot Binding
|
||||
binding.lghombot.description = The LG HomBot binding allows control and supervision of your HomBot.
|
||||
|
||||
# thing types
|
||||
thing-type.lghombot.LGHomBot.label = LG HomBot
|
||||
thing-type.lghombot.LGHomBot.description = HomBot vacuum robot
|
||||
|
||||
# thing type configuration
|
||||
thing-type.config.lghombot.LGHomBot.ipAddress.label = Network Address
|
||||
thing-type.config.lghombot.LGHomBot.ipAddress.description = The IP or host name of the HomBot.
|
||||
thing-type.config.lghombot.LGHomBot.port.label = Port
|
||||
thing-type.config.lghombot.LGHomBot.port.description = Port of the HomBot to control.
|
||||
thing-type.config.lghombot.LGHomBot.pollingPeriod.label = Polling Period
|
||||
thing-type.config.lghombot.LGHomBot.pollingPeriod.description = Time between polls in seconds.
|
||||
|
||||
# channel types
|
||||
channel-type.lghombot.stateType.label = State
|
||||
channel-type.lghombot.stateType.description = Current state.
|
||||
channel-type.lghombot.stateType.state.option.UNKNOWN = Unknown
|
||||
channel-type.lghombot.stateType.state.option.WORKING = Cleaning
|
||||
channel-type.lghombot.stateType.state.option.BACKMOVING = Backmoving
|
||||
channel-type.lghombot.stateType.state.option.BACKMOVING_INIT = Backmoving init
|
||||
channel-type.lghombot.stateType.state.option.BACKMOVING_JOY = Backmoving joy
|
||||
channel-type.lghombot.stateType.state.option.PAUSE = Paused
|
||||
channel-type.lghombot.stateType.state.option.STANDBY = Standby
|
||||
channel-type.lghombot.stateType.state.option.HOMING = Homing
|
||||
channel-type.lghombot.stateType.state.option.DOCKING = Docking
|
||||
channel-type.lghombot.stateType.state.option.CHARGING = Charging
|
||||
channel-type.lghombot.stateType.state.option.DIAGNOSIS = Running diagnosis
|
||||
channel-type.lghombot.stateType.state.option.RESERVATION = Changing settings
|
||||
channel-type.lghombot.stateType.state.option.ERROR = Error
|
||||
|
||||
channel-type.lghombot.batteryType.label = Battery
|
||||
channel-type.lghombot.batteryType.description = Current battery charge
|
||||
|
||||
channel-type.lghombot.cpuLoadType.label = CPU Load
|
||||
channel-type.lghombot.cpuLoadType.description = Current CPU load
|
||||
channel-type.lghombot.srvMemType.label = Used Memory
|
||||
channel-type.lghombot.srvMemType.description = Memory used by webserver on HomBot.
|
||||
channel-type.lghombot.cleanType.label = Clean
|
||||
channel-type.lghombot.cleanType.description = Start cleaning / return home.
|
||||
channel-type.lghombot.startType.label = Start
|
||||
channel-type.lghombot.startType.description = Start cleaning.
|
||||
channel-type.lghombot.homeType.label = Home
|
||||
channel-type.lghombot.homeType.description = Return home.
|
||||
channel-type.lghombot.stopType.label = Pause
|
||||
channel-type.lghombot.stopType.description = Pause the HomBot.
|
||||
channel-type.lghombot.turboType.label = Turbo
|
||||
channel-type.lghombot.turboType.description = Turbo mode ON, OFF.
|
||||
channel-type.lghombot.repeatType.label = Repeat
|
||||
channel-type.lghombot.repeatType.description = Repeat cleaning ON, OFF.
|
||||
|
||||
channel-type.lghombot.modeType.label = Mode
|
||||
channel-type.lghombot.modeType.description = Cleaning mode.
|
||||
channel-type.lghombot.modeType.state.option.ZZ = Zigzag mode
|
||||
channel-type.lghombot.modeType.state.option.SB = Cell by cell mode
|
||||
channel-type.lghombot.modeType.state.option.SPOT = Spiral spot mode
|
||||
channel-type.lghombot.modeType.state.option.MACRO_SECTOR = My space mode
|
||||
|
||||
channel-type.lghombot.nicknameType.label = Nickname
|
||||
channel-type.lghombot.nicknameType.description = Nickname of the HomBot.
|
||||
channel-type.lghombot.moveType.label = Move
|
||||
channel-type.lghombot.moveType.description = Move direction.
|
||||
channel-type.lghombot.cameraType.label = Camera
|
||||
channel-type.lghombot.cameraType.description = Image feed from the top camera.
|
||||
channel-type.lghombot.lastCleanType.label = Last Clean
|
||||
channel-type.lghombot.lastCleanType.description = Last time the HomBot cleaned.
|
||||
channel-type.lghombot.mapType.label = Map
|
||||
channel-type.lghombot.mapType.description = Map of last cleaned area.
|
||||
|
||||
channel-type.lghombot.mondayType.label = Monday
|
||||
channel-type.lghombot.mondayType.description = Scheduled start time on Monday.
|
||||
channel-type.lghombot.tuesdayType.label = Tuesday
|
||||
channel-type.lghombot.tuesdayType.description = Scheduled start time on Tuesday.
|
||||
channel-type.lghombot.wednesdayType.label = Wednesday
|
||||
channel-type.lghombot.wednesdayType.description = Scheduled start time on Wednesday.
|
||||
channel-type.lghombot.thursdayType.label = Thursday
|
||||
channel-type.lghombot.thursdayType.description = Scheduled start time on Thursday.
|
||||
channel-type.lghombot.fridayType.label = Friday
|
||||
channel-type.lghombot.fridayType.description = Scheduled start time on Friday.
|
||||
channel-type.lghombot.saturdayType.label = Saturday
|
||||
channel-type.lghombot.saturdayType.description = Scheduled start time on Saturday.
|
||||
channel-type.lghombot.sundayType.label = Sunday
|
||||
channel-type.lghombot.sundayType.description = Scheduled start time on Sunday.
|
||||
@@ -0,0 +1,86 @@
|
||||
|
||||
# binding
|
||||
binding.lghombot.name = LG HomBot Binding
|
||||
binding.lghombot.description = LG HomBot binding tillåter kontrol och övervakning av din HomBot.
|
||||
|
||||
# thing types
|
||||
thing-type.lghombot.LGHomBot.label = LG HomBot
|
||||
thing-type.lghombot.LGHomBot.description = HomBot Robotdamsugare
|
||||
|
||||
# thing type configuration
|
||||
thing-type.config.lghombot.LGHomBot.ipAddress.label = Nätverksdress
|
||||
thing-type.config.lghombot.LGHomBot.ipAddress.description = IP-adress eller namn på HomBot.
|
||||
thing-type.config.lghombot.LGHomBot.port.label = Port
|
||||
thing-type.config.lghombot.LGHomBot.port.description = Nätverksport på HomBot.
|
||||
thing-type.config.lghombot.LGHomBot.pollingPeriod.label = Pollningsperiod
|
||||
thing-type.config.lghombot.LGHomBot.pollingPeriod.description = Tid mellan pollningar i sekunder.
|
||||
|
||||
# channel types
|
||||
channel-type.lghombot.stateType.label = Status
|
||||
channel-type.lghombot.stateType.description = Nuvarande status.
|
||||
channel-type.lghombot.stateType.state.option.UNKNOWN = Okänd
|
||||
channel-type.lghombot.stateType.state.option.WORKING = Städar
|
||||
channel-type.lghombot.stateType.state.option.BACKMOVING = Backar
|
||||
channel-type.lghombot.stateType.state.option.BACKMOVING_INIT = Startar backning
|
||||
channel-type.lghombot.stateType.state.option.BACKMOVING_JOY = Backar ur
|
||||
channel-type.lghombot.stateType.state.option.PAUSE = Pausad
|
||||
channel-type.lghombot.stateType.state.option.STANDBY = Väntar
|
||||
channel-type.lghombot.stateType.state.option.HOMING = Åker hemåt
|
||||
channel-type.lghombot.stateType.state.option.DOCKING = Dockar
|
||||
channel-type.lghombot.stateType.state.option.CHARGING = Laddar
|
||||
channel-type.lghombot.stateType.state.option.DIAGNOSIS = Kör diagnos
|
||||
channel-type.lghombot.stateType.state.option.RESERVATION = Gör inställning
|
||||
channel-type.lghombot.stateType.state.option.ERROR = Fel
|
||||
|
||||
channel-type.lghombot.batteryType.label = Batteri
|
||||
channel-type.lghombot.batteryType.description = Nuvarande batteriladdning.
|
||||
|
||||
channel-type.lghombot.cpuLoadType.label = CPU belastning
|
||||
channel-type.lghombot.cpuLoadType.description = Nuvarande CPU belastning.
|
||||
channel-type.lghombot.srvMemType.label = Använt minne
|
||||
channel-type.lghombot.srvMemType.description = Minne använt av webserver på HomBot.
|
||||
channel-type.lghombot.cleanType.label = Städa
|
||||
channel-type.lghombot.cleanType.description = Börja städa / återvänd hem.
|
||||
channel-type.lghombot.startType.label = Starta
|
||||
channel-type.lghombot.startType.description = Börja städa.
|
||||
channel-type.lghombot.homeType.label = Hemåt
|
||||
channel-type.lghombot.homeType.description = Återvänd hem.
|
||||
channel-type.lghombot.stopType.label = Paus
|
||||
channel-type.lghombot.stopType.description = Pausa HomBot.
|
||||
channel-type.lghombot.turboType.label = Turbo
|
||||
channel-type.lghombot.turboType.description = Turbo läge AV, PÅ.
|
||||
channel-type.lghombot.repeatType.label = Återupprepa
|
||||
channel-type.lghombot.repeatType.description = Återupprepande städning AV, PÅ.
|
||||
|
||||
channel-type.lghombot.modeType.label = Städläge
|
||||
channel-type.lghombot.modeType.description = Städläge.
|
||||
channel-type.lghombot.modeType.state.option.ZZ = Sicksack läge
|
||||
channel-type.lghombot.modeType.state.option.SB = Cell vid cell läge
|
||||
channel-type.lghombot.modeType.state.option.SPOT = Punktspiral läge
|
||||
channel-type.lghombot.modeType.state.option.MACRO_SECTOR = Mitt utrymme läge
|
||||
|
||||
channel-type.lghombot.nicknameType.label = Smeknamn
|
||||
channel-type.lghombot.nicknameType.description = Smeknamn på HomBot.
|
||||
channel-type.lghombot.moveType.label = Styr
|
||||
channel-type.lghombot.moveType.description = Styr riktning.
|
||||
channel-type.lghombot.cameraType.label = Kamera
|
||||
channel-type.lghombot.cameraType.description = Bild från toppkameran.
|
||||
channel-type.lghombot.lastCleanType.label = Senaste städning
|
||||
channel-type.lghombot.lastCleanType.description = Senaste tillfälle som HomBot städade.
|
||||
channel-type.lghombot.mapType.label = Karta
|
||||
channel-type.lghombot.mapType.description = Karta över senaste städade arean.
|
||||
|
||||
channel-type.lghombot.mondayType.label = Måndag
|
||||
channel-type.lghombot.mondayType.description = Schemalagd tid på Måndag.
|
||||
channel-type.lghombot.tuesdayType.label = Tisdag
|
||||
channel-type.lghombot.tuesdayType.description = Schemalagd tid på Tisdag.
|
||||
channel-type.lghombot.wednesdayType.label = Onsdag
|
||||
channel-type.lghombot.wednesdayType.description = Schemalagd tid på Onsdag.
|
||||
channel-type.lghombot.thursdayType.label = Torsdag
|
||||
channel-type.lghombot.thursdayType.description = Schemalagd tid på Torsdag.
|
||||
channel-type.lghombot.fridayType.label = Fredag
|
||||
channel-type.lghombot.fridayType.description = Schemalagd tid på Fredag.
|
||||
channel-type.lghombot.saturdayType.label = Lördag
|
||||
channel-type.lghombot.saturdayType.description = Schemalagd tid på Lördag.
|
||||
channel-type.lghombot.sundayType.label = Söndag
|
||||
channel-type.lghombot.sundayType.description = Schemalagd tid på Söndag.
|
||||
@@ -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